Hi,
I created a new application on the admin page and added a simple error in 
the default/index controller, e.g.
a = 10 / 0

an error ticket is created but contains no useful stack trace. This only 
happens when I use Python 3.5, with Python 2.7 the stack trace is fine. I'm 
on Ubuntu and using the latest web2py 2.17.1, anyone got an idea what's 
wrong?

Traceback (most recent call last):
  File "/home/alex/web2py/web2py_2.17.1/gluon/restricted.py", line 219, in 
restricted
    exec(ccode, environment)
ZeroDivisionError: division by zero

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alex/web2py/web2py_2.17.1/gluon/restricted.py", line 141, in 
__init__
    self.traceback = traceback.format_exc()
AttributeError: 'NoneType' object has no attribute 'strip'

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to