Is anyone looking into this? currently this a real blocker for using web2py 
with Python 3. End of support for Python 2 is just a little bit over a 
year... besides getting worried I'd also like to use new features of Python 
3.

I'd appreciate web2py dev help and hope this issue can be fixed. Let me 
know if you need any further information or testing.

On Saturday, September 1, 2018 at 6:50:29 PM UTC+2, Carlos Cesar Caballero 
wrote:
>
> 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
>>
>> 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", 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+un...@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+un...@googlegroups.com <javascript:>.
> 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+un...@googlegroups.com <javascript:>.
> 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.

Reply via email to