[web2py] GAE Mail Config.

2012-05-10 Thread Prakhar Srivastava
Is there anyone config the mail feature for GAE Server

[web2py] problem related to GAE server

2012-05-10 Thread Prakhar Srivastava
what is the max image size we can upload through the img tag ? Because my application is working fine the local server and rock server when i upload my application on GAE server then it's not showing properly www.pixelofn.appspot.com this is my application actually it stack because he one photo

[web2py] Problem with auth_login: too many redirects

2012-05-10 Thread man24
Sorry for reposting the question. I am following the 'wiki' example given in the web2py book. After first implementation, it worked fine, however, now when I click on any action that requires login or even clicking the 'login' from the top menu, I get this response from my web browser: 'too

[web2py] too many redirect message when using login

2012-05-10 Thread man24
I am new to web2py and has been following the online book to learn it. I was following the 'wiki' example and everything worked fine the first time, however, today when I click on any action that requires login or even the login link in the menu, web browser cannot open the page and gives foll

[web2py] Why does DAL report a syntax error on some executesql queries?

2012-05-10 Thread Johann Spies
I am working with Postgresql and am trying to get a way of working with schemas through web2py. In psql I can do: js=# show search_path; search_path "$user",public (1 row)js=# set search_path to toets0; SET js=# \dt List of relations Schema | Name| Type |

Re: [web2py] Re: MongoDB Adapter error in select

2012-05-10 Thread Francisco Costa
I've enumerated fields and colnames and they are like this: fields: id text integer string colnames: city age _id name I believe they don't match and thats why there's this error: File "/opt/web2py/gluon/dal.py", line 8134, in select return adapter.select(self.query,fields,attributes) File

Re: [web2py] Need a little help in code review (a function eating up all memory)

2012-05-10 Thread szimszon
If I understand well then python release the mem. for reuse by itself but not releasing at OS level. Fine. But then if I rerun the function I'll expect that the mem allocated for python is not growing. Because python reuse it. I executed the controller function and my mem usage at OS level 2x a

Re: [web2py] Need a little help in code review (a function eating up all memory)

2012-05-10 Thread Bruce Wade
http://effbot.org/pyfaq/why-doesnt-python-release-the-memory-when-i-delete-a-large-object.htm That is a little more details On Thu, May 10, 2012 at 12:37 AM, szimszon wrote: > Should the garbage collector not free up the memory? > > 2012. május 10., csütörtök 9:28:48 UTC+2 időpontban Bruce Wade

Re: [web2py] Need a little help in code review (a function eating up all memory)

2012-05-10 Thread szimszon
Should the garbage collector not free up the memory? 2012. május 10., csütörtök 9:28:48 UTC+2 időpontban Bruce Wade a következőt írta: > > That is how python is. If you want something to clear the memory as soon > as you are done with it you need C++ :D > > On Thu, May 10, 2012 at 12:27 AM, szim

Re: [web2py] Need a little help in code review (a function eating up all memory)

2012-05-10 Thread Bruce Wade
That is how python is. If you want something to clear the memory as soon as you are done with it you need C++ :D On Thu, May 10, 2012 at 12:27 AM, szimszon wrote: > Yes I know but it happens over type the mem usage is linearly growing and > after the successful execution never released and that

Re: [web2py] Need a little help in code review (a function eating up all memory)

2012-05-10 Thread szimszon
Yes I know but it happens over type the mem usage is linearly growing and after the successful execution never released and that is why I ask :( 2012. május 10., csütörtök 9:14:14 UTC+2 időpontban Bruce Wade a következőt írta: > > WOW not a good idea: > for row in db( db.file_properties.id > 0

Re: [web2py] Need a little help in code review (a function eating up all memory)

2012-05-10 Thread Bruce Wade
WOW not a good idea: for row in db( db.file_properties.id > 0 ).select( If you have a lot of records that is going to kill your memory. On Thu, May 10, 2012 at 12:10 AM, szimszon wrote: > I wonder if somebody could help me. > > The following code has eaten up ~1,5GB ram and after ended successf

<    1   2