[web2py] Re: Strange Plugin behaviour

2013-04-11 Thread Anthony
> > Update: Changing > from gluon import * > from globals import Storage, Response > to > from gluon import * > from gluon.globals import Storage, Response > AND restart web2py solve the "import" problem in a plugin. > Restarting is not limited to fixing "import" problems -- it is needed to pi

[web2py] Re: Strange Plugin behaviour

2013-04-11 Thread Matteo Luperto
Update: Changing from gluon import * from globals import Storage, Response to from gluon import * from gluon.globals import Storage, Response AND restart web2py solve the "import" problem in a plugin. Il giorno mercoledì 10 aprile 2013 16:49:08 UTC+2, Matteo Luperto ha scritto: > > Dear web2py

[web2py] Re: Strange Plugin behaviour

2013-04-11 Thread Matteo Luperto
prova Il giorno mercoledì 10 aprile 2013 16:49:08 UTC+2, Matteo Luperto ha scritto: > > Dear web2py users, > I am novice web2py user and I've recently started developing my first real > project. > Unfortunately I'm having some issues: > >- The plugin-controller code is not update when modif

[web2py] Re: Strange Plugin behaviour

2013-04-11 Thread Anthony
I think you're actually running the Mac binary, right? Have you tried running from source on the Mac? Also, the plugin file in question is a *module*, not a controller. By default, changes in module files are not picked up automatically -- if you'd like to do that (not recommended in production

[web2py] Re: Strange Plugin behaviour

2013-04-11 Thread Matteo Luperto
I've tried to replicate both errors in a simple example; 1. I've downloaded a fresh version of web2py (4.2.6 -stable). 2. New simple application. 3. Added 2 plugins from here : MPTT and Tree Crud 4. Added a simple controller to test these p