On Sep 15, 2010, at 2:06 PM, mdipierro wrote: > > when does the bug show up?
When a web2py request throws an exception back to Rocket, it looks like. > > On Sep 15, 3:20 pm, Jonathan Lundell <[email protected]> wrote: >> On Sep 15, 2010, at 1:05 PM, Bruno Rocha wrote: >> >>> May be it is a Typo? and should be "exec" >> >> No. The call is: >> >> handled = self._handleError(*exc) >> >> The bad line is: >> >> tb = traceback.format_exception(*exc) >> >> it should probably be this: >> >> tb = traceback.format_exception((typ, val, tb)) >> >> If you're in a position to test it, you could try that until Tim has a >> chance to verify it. >> >> >> >>> 2010/9/15 Kevin <[email protected]> >>> starting browser...in 5 seconds >>> Exception in thread Thread-18: >>> Traceback (most recent call last): >>> File "threading.pyc", line 486, in __bootstrap_inner >>> File "gluon/rocket.py", line 880, in run >>> File "gluon/rocket.py", line 822, in _handleError >>> NameError: global name 'exc' is not defined >> >>> I downloaded the code and took a quick look. It is true that exc is >>> not defined. It isn't as clear as to what to do about it. Need a >>> web2py developer to take a look. >> >>> -- >> >>> http://rochacbruno.com.br >> >>

