My web application run 100% OK with webpy 0.23 but when I upgraded to
0.3 (following upgrade guide) my app run "@ 50%". Sometimes, even with
simple functions, the app run ok then it suddenly dies with a Python
error. Example:
http://example.com/search/apple -> OK
http://example.com/search/python -> dies
http://example.com/search/orange -> OK
http://example.com/search/orang -> dies
(note that that my code works fine with .23)

the last part of Python error (it seems also that .30 doesn't see
app.internalerror = web.debugerror ) is:

  197             except:
  198                 print >> web.debug, traceback.format_exc()
  199                 raise self.internalerror()
  200
  201         try:
self = <web.application.application instance at 0x8c9fc8c>,
self.internalerror = <function debugerror at 0xb7c66304>

<type 'exceptions.TypeError'>: exceptions must be classes, instances,
or strings (deprecated), not TemplateResult

How can I fix it ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to