Yes. My bad. reaload=True

On Feb 2, 1:17 pm, DenesL <denes1...@yahoo.ca> wrote:
> On Feb 2, 9:52 am, mdipierro <mdipie...@cs.depaul.edu> 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' %
> > > request.application)
> > > reload(xml)
>
> > could also be a timeout issue. Does it take long to make the xml?
>
> > btw can be replaced by
>
> > xml = local_import('updatexml',force=True)
>
> I thought 'force' had been replaced by 'reload' as 
> per:http://groups.google.com/group/web2py/msg/7ff874788d4d4602
> even the docstrings say reload.
>
> Denes.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to