I do not understand. On Sep 8, 12:42 am, Adi <aditya.sa...@gmail.com> wrote: > How can I refresh the value of DB in env dictionary? > > On Sep 8, 10:36 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > Not elegant but you can do this... > > > def index(): > > import subprocess > > subprocess.Popen('python web2py.py -S yourapp -M -S > > yourscript.py') > > do something else > > > On Sep 7, 11:58 pm, Adi <aditya.sa...@gmail.com> wrote: > > > > Nope. This requires running the conversion module independently from > > > the command line. Any other help with this? > > > > On Sep 4, 11:15 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > check if this does what you > > > > need:http://www.web2py.com/appliances/default/show/38 > > > > > Massimo > > > > > On Sep 3, 11:34 pm, Adi <aditya.sa...@gmail.com> wrote: > > > > > > Hi, > > > > > > I'm new to web2py. I have this requirement - on loading a page, I want > > > > > to trigger a background process automatically. Since the process is > > > > > time-consuming, I don't want user to wait. > > > > > > This is what I tried - running the background process as a separate > > > > > thread. This results in > > > > > > ProgrammingError: Cannot operate on a closed database. > > > > > > I read another thread with the same subject, it spoke of "refreshing > > > > > the value of DB in environment dictionary". How can I do that? And why > > > > > do I need to do it? > > > > > > What is the better way to achieve what I want? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@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 -~----------~----~----~----~------~----~------~--~---