[web2py] Error in plugin install

2010-02-10 Thread Alexandre Andrade
I'm trying to install the plugin webfolder ( http://jaguar.biologie.hu-berlin.de/~fkrause/web2py.plugin.webfolder.w2p) and get this error: Traceback (most recent call last): File "gluon/restricted.py", line 173, in restricted exec ccode in environment File "/home/www-data/web2py/applic

Re: [web2py] Error in plugin install

2010-02-10 Thread Jonathan Lundell
On Feb 10, 2010, at 4:00 PM, Alexandre Andrade wrote: > I'm trying to install the plugin webfolder > (http://jaguar.biologie.hu-berlin.de/~fkrause/web2py.plugin.webfolder.w2p) Try changing gluon/admin.py line 314 to os.unlink(upname) (instead of upfile). Also, Massimo, the docstring says:

Re: [web2py] Error in plugin install

2010-02-10 Thread Jonathan Lundell
On Feb 10, 2010, at 4:12 PM, Jonathan Lundell wrote: > On Feb 10, 2010, at 4:00 PM, Alexandre Andrade wrote: > >> I'm trying to install the plugin webfolder >> (http://jaguar.biologie.hu-berlin.de/~fkrause/web2py.plugin.webfolder.w2p) > > Try changing gluon/admin.py line 314 to os.unlink(upnam

Re: [web2py] Error in plugin install

2010-02-10 Thread Alexandre Andrade
thanks, but I used the 'brute force' method: changed the .w2p to tgz, unpacked and copy the folders/files to my app. But anyway, I think is a bug of web2py. 2010/2/10 Jonathan Lundell > On Feb 10, 2010, at 4:00 PM, Alexandre Andrade wrote: > > I'm trying to install the plugin webfolder ( >

Re: [web2py] Error in plugin install

2010-02-10 Thread Jonathan Lundell
On Feb 10, 2010, at 5:07 PM, Alexandre Andrade wrote: > thanks, > > but I used the 'brute force' method: > > changed the .w2p to tgz, unpacked and copy the folders/files to my app. > > But anyway, I think is a bug of web2py. At least one bug. There's still the question of why it got to the u

Re: [web2py] Error in plugin install

2010-02-10 Thread Alexandre Andrade
maybe it extract to a tmp folder? 2010/2/10 Jonathan Lundell > On Feb 10, 2010, at 5:07 PM, Alexandre Andrade wrote: > > thanks, > > but I used the 'brute force' method: > > changed the .w2p to tgz, unpacked and copy the folders/files to my app. > > But anyway, I think is a bug of web2py. > > >