Hi Alex, seems a bug with Python 3, I have created an issue for this a
couple days ago https://github.com/web2py/web2py/issues/1998
Greetings.
El 01/09/18 a las 11:22, Alex escribió:
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", line219, 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", line141,
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
<mailto:web2py+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
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.