[web2py] Re: mkdir issue in GAE development

2011-08-12 Thread ram
AE. This works both in the GAE development and production environment Best Ram On Aug 13, 7:35 am, chitram wrote: > Thanks for the quick reply. > > Earlier, I tested my application locally by running ./web2py and it > works fine. All the folders as mentioned in the gluon/admin.py

[web2py] Table creation in GAE

2011-08-13 Thread ram
Is the following statement correct? A Table is created in GAE only when the first record is inserted.

[web2py] Noob question - Choices definition in Field - DAL

2011-08-13 Thread ram
Is it possible to this using DAL, using Field definition? role = db.StringProperty(required=True, choices=set(["executive", "manager", "producer"])) Best regards Ram

[web2py] DAL query - GAE & local

2011-08-16 Thread ram
This following code segment displays the first row from the table in the view correctly when run using ./web2py. It returns None when run in GAE development environment. What's wrong with this code? Controller: def print_status(): row = db().select(db.Statuses.ALL).first() return dict(mes

[web2py] Re: DAL query - GAE & local

2011-08-16 Thread ram
().select(db.Statuses.ALL).first() or 'nothing to see > here' > > On Aug 16, 1:09 pm, ram wrote: > > > > > This  following code segment displays the first row from the table in > > the view correctly when run using ./web2py. It returns None when run > > in G

[web2py] Re: DAL query - GAE & local

2011-08-17 Thread ram
Thanks for clarifying On Aug 17, 8:56 pm, howesc wrote: > note that standalone web2py defaults to sqlite storage, GAE development > environment uses a GAE emulation of big-table, so data added when running > standalone will not be available in GAE dev env and vice versa. > > cfh

[web2py] Integer representation in mySQL

2011-08-17 Thread ram
or update the Field type in MySQL. Since I encountered this problem, I thought I will bring this to the notice of everyone Is there a way to define BIGINT in DAL? Thanks Best Ram

[web2py] new web toolkit inside click here

2010-10-14 Thread praba Ram
http://123maza.com/35/build415/

[web2py] Web2py scheduler linked postgres processes consuming too much memory

2016-07-16 Thread Abhishek Ram
running. So my question is what is causing the scheduler process to do this? P.S. The postgres processes linked to the main web2py process do not exhibit this behaviour. Regards Abhishek Ram -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py

[web2py] Re: Web2py scheduler linked postgres processes consuming too much memory

2016-07-26 Thread Abhishek Ram
even if you SEEM to notice a > skyrocket in memory utilization summing all different processes (e.g. in > "top"), in reality it's not sucking up every bit of RAM of your server. > > I'm sure this is not your case, but if you see postgresql processes > comsumi

[web2py] Re: Web2py scheduler linked postgres processes consuming too much memory

2016-07-28 Thread Abhishek Ram
f postgresql... > > On Wednesday, July 27, 2016 at 5:09:34 AM UTC+2, Abhishek Ram wrote: >> >> Well the memory leak was from the postgres processes spawned by the >> web2py scheduler process. I am sure about this as I have seen TOP and >> confirmed that it was these proces

[web2py] Re: Web2py scheduler linked postgres processes consuming too much memory

2016-07-29 Thread Abhishek Ram
I have tested it and I can now confirm that the issue is with pg8000. I think its a good idea to mention this in the WIKI. On Friday, July 29, 2016 at 12:12:07 AM UTC+5:30, Niphlod wrote: > > could you please try with psycopg2 ? > > On Thursday, July 28, 2016 at 6:53:10 PM UTC+2,

[web2py] Select Input is not preselected with existing value when updating a record.

2015-12-02 Thread Abhishek Ram
I am updating a record with a List field, but I see that the select widget correspoding to this field is not populated with the existing value in the record. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code

[web2py] Doubts about post and comment tables

2015-10-05 Thread SAI RAM SANDEEP Adireddi
Sir, is there a other way to link comments to a particular post without using post.id or any Field of post table has reference post Field in comment table -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.go