Re: [web2py] Re: Weird Error in modules files...

2011-05-16 Thread Jason (spot) Brower
Aww, thanks. And here I thought I found a bug. It was just a feature. :P On Mon, May 16, 2011 at 6:02 AM, ron_m ron.mco...@gmail.com wrote: If the second parameter on local_import is True it will reload each time the statement is executed. Otherwise it retains the first local_import until

[web2py] Re: Weird Error in modules files...

2011-05-15 Thread DenesL
It is hard to tell without the code but this looks suspicious size_variance-user._extra['COUNT(users_tags.id)'])) why is COUNT(...) in quotes? On May 15, 7:12 am, Jason Brower encomp...@gmail.com wrote: I am using latest, not trunk... I was testing some of my code and I got some index

Re: [web2py] Re: Weird Error in modules files...

2011-05-15 Thread Jason Brower
After restarting the server it seems the issue was fixed. It could be that the modules are loaded and then assumed that they don't change so they are placed in memory for speed reasons or something like that. BR, Jason Brower On 05/15/2011 06:18 PM, DenesL wrote: It is hard to tell without

Re: [web2py] Re: Weird Error in modules files...

2011-05-15 Thread ron_m
If the second parameter on local_import is True it will reload each time the statement is executed. Otherwise it retains the first local_import until server restart.