Li que o Cron no web2py está depreciado, isso traria problemas caso eu
atualize meu projeto não é ?
Qual é a alternativa para o procedimento ?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p
hi,
I want save one image in dinamic directory web2py, but ai not using
SQLFORM,
When i do upload the image i recieve in controller C:/FAKEPATH/imagename
how do i handle this path or other upload ?
sorry my inglish.
look my code:
View:
Primeiro Nome
thanks for help.
Em sexta-feira, 15 de julho de 2011 05:25:47 UTC-3, J Zaragoza escreveu:
>
> In a view:
>
> {{if auth.user_id:}}
> {{=H4(T('Welcome ') + db.auth_user[auth.user_id].first_name)}}
> {{pass}
>
>
>
> On 14 jul, 14:42, Anthony wrote:
> > On Thursday, July 14, 2011 1:03:24 AM
Hi guys,
I am new to web2py. Recently I was trying to import some data from a csv
file to my sqlite database through the web2py admin area.
The problem was I had to create several different csv files untilll I've
found one which I could import properly.
All the others files i've had tried retu
Hi,
On pydal/adapters/base.py, on line 170 shouldn't it be:
items = uri.split('://', 1)[0].split('+')
instead of
items = uri.split('://', 1)[0].split(':')?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code
Hi Paolo!
This package is available on GitHub? I think I can help you out with the
development.
Em segunda-feira, 23 de dezembro de 2013 18h20min48s UTC-2, Paolo Caruccio
escreveu:
>
> I just completed a package that applies the bootstrap3 style to some
> web2py elements - the current version
Hi,
Can some one on the devs team explain this on DAL.py (line 8098):
if count > limits[1]-limits[0]:
return Row({'status':400,'error':'too many
records','response':None})
I'm trying to use the parse_as_rest function, sending a request as
/auth-us
Hi!
I'm trying to update to the latest versions of web2py. I use GAE + Google
Cloud SQL.
On the latest release version I got the error "AttributeError:
'GoogleSQLAdapter' object has no attribute 'cursor'" for every action I try
to make on DB.
On trunk, its even creates the tables and complain
Added a ticket with the patch that worked for me. Thanks!
On Wednesday, March 27, 2013 1:05:22 PM UTC-3, Felipe Meirelles wrote:
>
> Actualy it worked but not for reason i expected. Ill run some more tests
> here and let you know.
>
> On Wednesday, March 27, 2013 1:03:26 PM UT
gt;
> On Wednesday, 27 March 2013 10:57:54 UTC-5, Felipe Meirelles wrote:
>>
>> What is happening is the complete oposite. Its aplying to the leftjoin
>> table, but not to the main table.
>>
>> The problem is on dal.py line 1553:
>> tables_to_merge.keys() con
;
> https://code.google.com/p/web2py/issues/detail?id=992&q=common
>
> On Wednesday, 27 March 2013 09:13:20 UTC-5, Felipe Meirelles wrote:
>>
>> I'm facing a problem where if I have something like this:
>>
>> grid = SQLFORM.grid(db.table1,
>>
I'm facing a problem where if I have something like this:
grid = SQLFORM.grid(db.table1,
left=[db.table2.on(db.table2.id==db.table1.reference)],
)
my common filters are not processed for table1, only for table2! including
is_active filter for version recording.
Is there a bug?
--
I was using a outdated version of web2py, in the new version the line is 511
On Wednesday, February 20, 2013 12:42:05 PM UTC-3, Felipe Meirelles wrote:
>
> Hi,
>
> Just found a bug in validators.py, line 468.
>
> If I use a virtualfield to format the select options, it will dr
Hi,
Just found a bug in validators.py, line 468.
If I use a virtualfield to format the select options, it will drop an
exception, trying to order the select by de virtual field.
Can you patch it in trunk?
from gluon.dal import FieldVirtual
fields = filter(lambda f: type(f) != FieldVirtual, fie
. This are even more complex since there may be
> non-trivial circular references.
>
> On Saturday, 2 February 2013 21:10:56 UTC-6, Massimo Di Pierro wrote:
>>
>> It is possible but very very inefficient since it would not be handled at
>> the database level.
>>
>&g
I think they should, to be compatible with the default behaviour. Is this
possible to do?
On Saturday, February 2, 2013 6:41:25 PM UTC-2, Massimo Di Pierro wrote:
>
> Good point. No. they are not set to is_active=False. Should they?
>
> On Saturday, 2 February 2013 06:20:47 U
er deleted, only
> filtered out. I think cascade should work as expected.
>
> On Friday, 1 February 2013 11:54:25 UTC-6, Felipe Meirelles wrote:
>>
>> The cascade feature should work for record versioning enabled tables?
>>
>> Thanks.
>>
>
--
---
You received th
The cascade feature should work for record versioning enabled tables?
Thanks.
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googlegro
db._adapter.tables(left)
>>>
>>>
>>>
>>> On Friday, January 18, 2013 11:17:19 AM UTC-5, Massimo Di Pierro wrote:
>>>>
>>>> Looks good.
>>>> Can you please send me a patch applied to the trunk version?
>>>>
>
Did anyone saw it?
On Monday, January 14, 2013 5:41:36 PM UTC-2, Felipe Meirelles wrote:
>
> Please desconsider the sorter_icons parameter, its a custom implementation
> of mine.
> I can post this patch too if you think its relevant.
>
> Thanks!
>
> On Monday, January 1
Please desconsider the sorter_icons parameter, its a custom implementation
of mine.
I can post this patch too if you think its relevant.
Thanks!
On Monday, January 14, 2013 5:38:53 PM UTC-2, Felipe Meirelles wrote:
>
> Hi,
>
> When you try to make more than one left join on a SQL
Hi,
When you try to make more than one left join on a SQLFORM.grid as:
grid = SQLFORMCustom.grid(db.device,
fields=[db.device.serial, db.device.device_type, db.device.vehicle,
db.vehicle.plate, db.chip.imei, ],
field_id=db.device.id,
left=[db.chip.on(db.chip.id==db.device
2013 5:39:05 PM UTC-2, Felipe Meirelles wrote:
>
> It worked. Is there a way to debug SQL on appengine. My DEBUG env_var is
> set to True but it dosen't output any SQL.
>
> On Friday, January 11, 2013 4:52:54 PM UTC-2, Felipe Meirelles wrote:
>>
>> I'll test. T
It worked. Is there a way to debug SQL on appengine. My DEBUG env_var is
set to True but it dosen't output any SQL.
On Friday, January 11, 2013 4:52:54 PM UTC-2, Felipe Meirelles wrote:
>
> I'll test. Thanks (:
>
> On Friday, January 11, 2013 3:21:40 PM UTC-2, rochacbruno w
I'll test. Thanks (:
On Friday, January 11, 2013 3:21:40 PM UTC-2, rochacbruno wrote:
>
> little fix.
>
> On Fri, Jan 11, 2013 at 3:21 PM, Bruno Rocha
> > wrote:
>
>> for table in db.tables:
>> db[table]._common_filter = lambda query: db[table].is_active == True
>>
>
>
>
--
Is there possible add a WHERE clause to every query that runs in the
application (like record versioning is_active)?
--
ticket_data', 'text'),
db.Field('created_datetime', 'datetime'),
migrate=False
)
table = db[tablename]
except:
pass
return table
On Tuesday, January
Never mind, this solution just worked the first time, when I need to define
the table, the second time it fails too...
On Tuesday, January 8, 2013 4:21:01 PM UTC-2, Felipe Meirelles wrote:
>
> Well, the real problem is I'm using GAE with Google Cloud SQL, so I have
> the migratio
, 2013 10:58:07 PM UTC-2, Massimo Di Pierro wrote:
>
> Admin is readonly on GAE and by default not deployed.
>
> On Friday, 4 January 2013 17:10:56 UTC-6, Alan Etkin wrote:
>>
>> El jueves, 3 de enero de 2013 11:31:45 UTC-3, Felipe Meirelles escribió:
>>&
Well, the problem is when the ticket is saved, self.db points to
but when load() is called, it points to .
Where the admin application DAL is defined?
On Thursday, January 3, 2013 11:47:38 AM UTC-2, Felipe Meirelles wrote:
>
> Actualy, it is displaying the SQL as:
>
> select [,
Actualy, it is displaying the SQL as:
select [, , , ] where )]>
On Thursday, January 3, 2013 11:36:15 AM UTC-2, Felipe Meirelles wrote:
>
> Just added a self.db.commit() after the insert command, and it worked as
> spected, but the load() function cant retrieve the ticket data
Just added a self.db.commit() after the insert command, and it worked as
spected, but the load() function cant retrieve the ticket data...
I've tried to inspect the select stmt with _select(), but it dosent returns
the SQL. Any ideas?
On Thursday, January 3, 2013 11:07:04 AM UTC-2, F
t here is a problem talking to database or other
> internal web2py error, not an application error. Please check for traceback
> in the app engine logs.
>
> On Tuesday, 18 December 2012 06:08:56 UTC-6, Felipe Meirelles wrote:
>>
>> Hi, I'm using GAE + Cloud SQL but eve
evelopment db:
https://groups.google.com/forum/?fromgroups=#!search/cloud$20sql$20utf8/google-cloud-sql-discuss/cmmNTT1lJ18/ZBzmsYdcdNwJ
Thanks all.
On Thursday, December 27, 2012 4:47:08 PM UTC-2, Felipe Meirelles wrote:
>
> It also fails when rendering the grid, but again, only in devel
It also fails when rendering the grid, but again, only in development
server, wich makes me think its something related to google sdk.
Is there some ideia?
On Thursday, December 27, 2012 12:51:23 PM UTC-2, Felipe Meirelles wrote:
>
> I'm using GAE + Google Cloud SQL and when I inser
I'm using GAE + Google Cloud SQL and when I insert some data to local
server with special chars like in "Água" it saves the data, but when i try
to retrieve it i get an encoding error from python.
In production it is automaticaly encoded to \u00c1gua and saves to DB. Is
it some mysql feature tha
Hi, I'm using GAE + Cloud SQL but every time I get an error, there is no
ticket. Can I set web2py to save tickets to database as in Google NoSQL
(big table)?
--
Well, and is there possible to set his placeholder this way?
On Fri, Nov 30, 2012 at 2:31 PM, Niphlod wrote:
> yep, now it carries the script to enable the entropy color codes.
>
> Il giorno venerdì 30 novembre 2012 17:21:15 UTC+1, Felipe Meirelles ha
> scritto:
>>
>>
x27;: , 'dspval': , 'id': ,
'email': }>}>
That password widget used to be a gluon.html.INPUT same as email but now it
is a CAT
On Fri, Nov 30, 2012 at 1:12 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> What change are you referring to
Did you changed the password widget on the login form from INPUT to CAT? Is
there a reason to this change?
I had a placeholder on it and since DIVs dont have this property, my
placeholders don't work any more.
--
Richard
>
> On Tue, Nov 27, 2012 at 2:02 PM, Felipe Meirelles <
> fel...@felipemeirelles.com.br > wrote:
>
>> So, is there any tool capable of generating python code from diagrams?
>> I was taking a look at Xtext, is there some MDA tool in python language?
>>
So, is there any tool capable of generating python code from diagrams?
I was taking a look at Xtext, is there some MDA tool in python language?
Or any tool designed to generate web2py models from diagrams?
Or even generate diagrams from web2py models?
Thanks
--
Hey guys,
Is there some effort going on (or at least planed) to support NDB on
appengine?
Thanks!
--
e all set of rows.
>
> Mind that if you do rows.update_records(...) and rows is cached, it should
> update the cached row as well.
>
>
> On Monday, 10 September 2012 08:16:07 UTC-5, Felipe Meirelles wrote:
>
>> But it will invalidate all the cache data. I want to inval
ar()
>
> this will clear all ram. You can also pass a regex to clear to clear only
> some keys.
>
> On Monday, 10 September 2012 07:49:27 UTC-5, Felipe Meirelles wrote:
>>
>> Only one more question, can I enforce the cache to invalidate (as when I
>> know the rec
07:05:11 UTC-5, Felipe Meirelles wrote:
>>
>> Anyone tested the new 2.0.2 changes on GAE? Should this work fine?
>>
>> Can someone tell me how the internals work for this two features and how
>> to use it?
>>
>> Thanks.
>>
>
--
Anyone tested the new 2.0.2 changes on GAE? Should this work fine?
Can someone tell me how the internals work for this two features and how to
use it?
Thanks.
--
eat. Or simply list the parts not internationalized
>
> --
>
>
>
>
--
Att,
Felipe Meirelles.
--
Yarrr!
So, I'm using the smartgrid beta and noticed that some parts of it are not
I18N. Should I fix it and send a patch or you guys are working on it
already?
Thanks
--
n Tue, Aug 14, 2012 at 1:52 PM, Felipe Meirelles wrote:
> Well, but even initializing db and auth for evey request I still get the
> not validating bug...
>
> ill attach my code to you to take a look.
>
>
> On Tue, Aug 14, 2012 at 1:44 PM, Felipe Meirelles wrote:
>
>> S
Well, but even initializing db and auth for evey request I still get the
not validating bug...
ill attach my code to you to take a look.
On Tue, Aug 14, 2012 at 1:44 PM, Felipe Meirelles wrote:
> Sorry, the DB was still static. Just created a init_db() and worked as
> spected.
>
&
Sorry, the DB was still static. Just created a init_db() and worked as
spected.
On Tue, Aug 14, 2012 at 1:18 PM, Anthony wrote:
> Can you show the exact code you're using in the module and controller?
>
>
> On Tuesday, August 14, 2012 12:07:15 PM UTC-4, Felipe Meirelles wr
Now I'm getting this error when I call the initialization method:
SyntaxError: invalid table name: auth_user
On Tue, Aug 14, 2012 at 10:38 AM, Anthony wrote:
> On Tuesday, August 14, 2012 9:14:21 AM UTC-4, Felipe Meirelles wrote:
>>
>> But the DB object can be static thro
object from the controller:
>
> module:
>
> def initialize_auth(db):
> auth = Auth(db, ...)
> auth.define_tables
> return auth
>
> controller:
>
> import initialize_auth
> auth = initialize_auth(db)
>
> Anthony
>
> --
>
>
>
>
--
Att,
Felipe Meirelles.
--
Hello again,
I'm having some trouble with my model less aproch with auth module. I've
put him on a separeted file on modules folder, and, when needed, I import
it as follows:
modules/web2py/auth.py:
auth = Auth(db, hmac_key=Auth.get_or_create_key())
controllers/tracking.py:
from applications
Just a last update about the tests, my overall application cost (in dolars
from appengine) droped 25% with the change, so, at least in appengine lazy
models are a must.
On Wednesday, August 8, 2012 12:24:37 PM UTC-3, Jonathan Lundell wrote:
>
> On 8 Aug 2012, at 7:59 AM, Massimo Di Pierro
> >
Just reviving this topic. Its not setable via index.yaml.
On Wednesday, May 16, 2012 1:07:10 PM UTC-3, howesc wrote:
>
> actually the question at hand here i think is whether or not web2py can
> support indexed=False in the property constructor when defining GAE
> models:
>
> https://developers
th store sessions in DB (web2py
> does)?
>
> It is likely Django uses simplejson binary while web2py (for portability)
> only ships with simplejson in pure python. This may be another performance
> loss if you use json a lot. We need to fix this at the web2py level.
>
> Massimo
>
e). Also, after the model less aproch, compared to web2py it
self, I got a huge performance gain, and expect a solid cost reduction
(I'll post the cost reduction latter, when appengine consolidates the
billing).
Thanks you all for sharing your toughts.
On Tuesday, August 7, 2012 6:56:15
; auth.define_tables(migrate=False) to avoid migrations on the auth tables in
> production.
>
> Anthony
>
> --
>
>
>
>
--
Att,
Felipe Meirelles.
--
y
> are stored and retrieved from datastore.
>
> I do not know how Django stores sessions on GAE by default.
>
> massimo
>
>
>
>
>
>
> On Monday, 6 August 2012 14:19:35 UTC-5, Felipe Meirelles wrote:
>>
>> Without any model I have a huge drop
, rochacbruno wrote:
>
> On Mon, Aug 6, 2012 at 4:19 PM, Felipe Meirelles <
> fel...@felipemeirelles.com.br> wrote:
>
>> Without any model I have a huge drop on the cpu use, from around 300ms to
>> around 60ms. Still higher than with Django, but its acceptable by th
t; import logging
>
> def test():
> logging.info("Just making a performace test")
>
> Makes difference?
>
>
>
> On Mon, Aug 6, 2012 at 3:59 PM, Felipe Meirelles <
> fel...@felipemeirelles.com.br> wrote:
>
>> Even the simplest controller give
Even the simplest controller give me a high cpu usage:
import logging
def test():
logging.info("Just making a performace test")
ms=559 cpu_ms=612 api_cpu_ms=245
On Monday, August 6, 2012 3:37:38 PM UTC-3, Felipe Meirelles wrote:
>
> Just compiled the app and deployed agai
Just compiled the app and deployed again, seems to make no diference. App
engine uses the bytecode generated on web2py? Did I need to change some
config at app.yaml?
On Monday, August 6, 2012 3:21:29 PM UTC-3, Felipe Meirelles wrote:
>
> Pre compiled by the admin interface? Not yet, is
Pre compiled by the admin interface? Not yet, is there some impove with the
precompiled code?
On Mon, Aug 6, 2012 at 3:16 PM, Derek wrote:
> Have you compiled your app?
>
> On Monday, August 6, 2012 10:46:33 AM UTC-7, Felipe Meirelles wrote:
>>
>> Hi,
>>
>> I
Hi,
I'm using web2py in a project that stands on top of a REST api. The project
is write intensive (around 110k requests a day, with all the requests
making at least 2 updates to the datastore).
All my requests seems to uso at least 200 cpu_ms (even dummy requests that
only places a item on the
Hi,
I'm porting a commercial project from django + djangoappengine (
http://www.allbuttonspressed.com/) to web2py and one thing I could'nt find
at all is how to manage per field indexes on App Engine.
My project is database intensive so every entity is written hundreds of
thousend times a day a
None of my web2py apps are working anymore. I'm getting this error.
What can I do about it? Please answer. Thanks!
Traceback (most recent call last):
File "/home/felipe/web2py/gluon/restricted.py", line 188, in
restricted
exec ccode in environment
File "/home/felipe
please, help me! it's urgent!
Hi. I'm using the tweepy library, for twitter auth. I import it after
adding its site-packages folder to the sys.path. Last week, I had to
install tweepy to my python2.6. Now it doesnt work anymore. It says
'ImportError: No module named tweepy'. What to I do??
Ps: I'm also getting an '_sqlite3' er
Do you know if simplegeo Storage will become a paid service? It looks
exactly what I need.
Thanks for sharing!
On Dec 27, 9:10 am, Tom Atkins wrote:
> Just for interest if you're building a location aware app:
>
> http://simplegeo.com
;utf8')
except:
#lista[i][key] = lista[i][key]
return lista
when I do a select() in the database, I use the
dic_lista(select_result.as_list())
anyone has a fancier workaround? please tell me !
On Jun 8, 11:43 am, Felipe wrote:
> I trie
'test',Field('name'))
> db.test.insert(name='testé')
> print db(db.test.id>0).select()
>
> and it works fine with me. I cannot reproduce your problem which
>
> On Jun 8, 7:36 am, Felipe wrote:
>
>
>
> > xmlrpclib.Fault: > 'exceptio
xmlrpclib.Fault: :'ascii' codec
can't decode byte 0xc3 in position 4: ordinal not in range(128)">
same problem ...
On Jun 7, 3:17 pm, mdipierro wrote:
> hmmm, please try
>
> bd[tab].insert(nome=u'testé')
>
> or
>
> bd[tab].insert(nome
Hi,
I'm having problems with UTF8 words and databases...
Now I'm using postgres with web2py. I used a xml-rpc script, just for
testing, to insert into a table the word 'testé', apparently
everything worked well, but when I try to get the info from the table
I receive an error, 'cant decode unicod
This is the messege that I receive from the fault event on the remote
object ...
(mx.messaging.messages::ErrorMessage)#0
body = (Object)#1
clientId = (null)
correlationId = "A1177FFF-9229-469A-DEB1-9FDB5D961B5D"
destination = ""
extendedData = (null)
faultCode = "Client.Error.MessageS
58 am, Thadeus Burgess wrote:
>
>
>
> > Can you browse the site without Flex?
>
> > Also, I've found the apache error logs and wsgi error logs can be
> > invaluable.
>
> > -Thadeus
>
> > On Mon, Oct 26, 2009 at 7:24 AM, Felipe wrote:
>
> >
Hello,
My problem is -> I have a server, with Apache2 and wsgi enabled to
call the web2py server, and a Flex application. But when I make a
remote Object call, it returns a Http error 500, something about the
server. The server side is located at Linode, with ubuntu 9 instaled,
everything just l
Hi,
I have a problem and i will try to explain it here :
In my aplication I configurated Apache with WSGI so that when someone
redirects to my ip, apache redirects it to the web2py. Then I use a
Flex aplication with the web2py, calling remote method's with remote
objects, but flex has a securit
80 matches
Mail list logo