[web2py] Re: module problem

2010-02-02 Thread mdipierro
Yes. My bad. reaload=True On Feb 2, 1:17 pm, DenesL wrote: > On Feb 2, 9:52 am, mdipierro wrote: > > > I suspect the problem is that you hardcoded a filename and if a second > > requests arrives it conflicts with the previous one. You may need file > > locking or using tempfile or stringio. This

[web2py] Re: module problem

2010-02-02 Thread DenesL
On Feb 2, 9:52 am, mdipierro wrote: > I suspect the problem is that you hardcoded a filename and if a second > requests arrives it conflicts with the previous one. You may need file > locking or using tempfile or stringio. This > > > exec('from applications.%s.modules import updatexml as xml' % >

[web2py] Re: module problem

2010-02-02 Thread mdipierro
I suspect the problem is that you hardcoded a filename and if a second requests arrives it conflicts with the previous one. You may need file locking or using tempfile or stringio. This > exec('from applications.%s.modules import updatexml as xml' % > request.application) > reload(xml) could also