Brain fart, sorry. Fixed in [1127].
Cheers,
Simon
Max Ischenko wrote:
> I updated to r1122 and now when an exception occurs inside my controller I
> got this error instead of plain traceback.
>
> Can anyone confirm?
>
>
> Page handler: <bound method ItemViewer.default of
> <bookswap.controllers.ItemViewer object at 0x01711330>>
> Traceback (most recent call last):
> File
> "c:\python24\lib\site-packages\cherrypy-2.2.0-py2.4.egg\cherrypy\_cphttptools.py",
> line 106, in _run
> self.main()
> File
> "c:\python24\lib\site-packages\cherrypy-2.2.0-py2.4.egg\cherrypy\_cphttptools.py",
> line 255, in main
> body = page_handler(*virtual_path, **self.params)
> File "<string>", line 3, in default
> File "d:\projects\3rd-party\turbogears\turbogears\controllers.py", line
> 206, in expose
> output = database.run_with_transaction(expose._expose,func, accept,
> allow_json, allow_json_from_config,*args, **kw)
> File "d:\projects\3rd-party\turbogears\turbogears\database.py", line 216,
> in run_with_transaction
> retval = func(*args, **kw)
> File "<string>", line 5, in _expose
> File "d:\projects\3rd-party\turbogears\turbogears\controllers.py", line
> 227, in <lambda>
> expose._expose.when(rule)(lambda _func, accept, allow_json,
> allow_json_from_config,*args,**kw: _execute_func(
> File "d:\projects\3rd-party\turbogears\turbogears\controllers.py", line
> 248, in _execute_func
> output = errorhandling.try_call(func, *args, **kw)
> File "D:\Projects\3rd-party\turbogears\turbogears\errorhandling.py", line
> 81, in try_call
> output = dispatch_error(self, func, None, e, *args, **kw)
> File "<string>", line 5, in dispatch_error
> File "_speedups.pyx", line 362, in _speedups.BaseDispatcher.__getitem__
> File
> "C:\Python24\lib\site-packages\ruledispatch-0.5a0.dev_r2100-py2.4-win32.egg\dispatch\interfaces.py",
> line 15, in __call__
> NoApplicableMethods: ((<bookswap.controllers.ItemViewer object at
> 0x01711330>, <function default at 0x016CEBF0>, None,
> <dispatch.interfaces.NoApplicableMethods instance at 0x0178AC10>,
> ('2dtwqskf7iek5yqc', 'edit'), {'pst': 'su5ikl5y3c089vax0waox5zp'}), {})
>
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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/turbogears-trunk
-~----------~----~----~----~------~----~------~--~---