Ok, tested in Ubuntu 18.04 (simply using "2/0" in the index function of
default controller) using Python 3.6 and Python 3.7 and the issue is
still present.
El 01/09/18 a las 12:28, Carlos Cesar Caballero Díaz escribió:
maybe is related with Python version, let me test
El 01/09/18 a las 11:44, Alex escribió:
Hi Carlos,
thanks for your response. On a Mac with Python 3.7 this does not seem
to happen. Does anyone know if it is related to the OS or Python version?
Alex
On Saturday, September 1, 2018 at 5:32:24 PM UTC+2, Carlos Cesar
Caballero wrote:
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
<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
<http://github.com/web2py/web2py> (Source code)
- https://code.google.com/p/web2py/issues/list
<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+un...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/d/optout
<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
<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
<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.