web.background is not supported any more. Try using Celery for running offline tasks.
http://celeryq.org/ Anand 2011/6/2 tom <[email protected]>: > According to guidance at: http://webpy.org/cookbook/background > You can get it from here and put it in the same directory as > application.py i.e. the web directory for this to work. > > I did this downloaded and placed under web directory. > however then when i run my main: > > > if __name__=="__main__": > web.internalerror = web.debugerror > app.run() > > > I get this: > > > Traceback (most recent call last): > File "python\myproj\src\merge-server.py", line 19, in <module> > from web import background, backgrounder > ImportError: cannot import name backgrounder > > Can anyone help please? > > -- > You received this message because you are subscribed to the Google Groups > "web.py" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/webpy?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
