1) background.py is nomore a web module. You can find in experimental 2) If you import correctly and run background.py, then raise this error: 'module' object has no attribute '_context' Python /home/foo/webpy/demo_test03/background.py in internal, line 9 # tmpctx = web._context[threading.currentThread()] 3) I suppose that print something must be changed Cookbook example runs well using webpy rel .023
On Dec 12, 1:15 am, Zhang Huangbin <[email protected]> wrote: > On 12月12日, 上午12时56分, leone <[email protected]> wrote: > > > You must remove background example from cookbook. It doesn't run. > > (or you can remove the bug....) > > I enjoi with webpy 0.31! > > Could you post the error msg? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
