Hi,

I switched my current 2.18.5 Web2py installation from python 2 to python 3. 

Creating a dummy new application, everything is working.

Using an older application, I get an error in trying to display error logs 
from admin:

Billet d'erreur for "admin" Identifiant du Billet 

127.0.0.1.2019-10-13.12-57-18.328cd60c-d65a-483e-a19c-045e4e39079d
<class 'UnicodeDecodeError'> 'ascii' codec can't decode byte 0xbb in 
position 1: ordinal not in range(128) Version 
web2py™ Version 2.18.5-stable+timestamp.2019.04.08.04.22.03 
Python Python 3.6.8: /usr/bin/python3 (prefix: /usr) Traceback 

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.

Traceback (most recent call last):
  File "/home/www-data/web2py/gluon/restricted.py", line 219, in restricted
    exec(ccode, environment)
  File "/home/www-data/web2py/applications/admin/controllers/default.py" 
<https://localhost/admin/default/edit/admin/controllers/default.py>, line 2021, 
in <module>
  File "/home/www-data/web2py/gluon/globals.py", line 421, in <lambda>
    self._caller = lambda f: f()
  File "/home/www-data/web2py/applications/admin/controllers/default.py" 
<https://localhost/admin/default/edit/admin/controllers/default.py>, line 1627, 
in errors
    error = pickle.load(fullpath_file)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xbb in position 1: ordinal 
not in range(128)

Error snapshot [image: help] 
<https://localhost/admin/default/ticket/admin/127.0.0.1.2019-10-13.12-57-18.328cd60c-d65a-483e-a19c-045e4e39079d#>
 

UnicodeDecodeError('ascii' codec can't decode byte 0xbb in position 1: 
ordinal not in range(128))


I already tried to remove all session files and pyc files.


I believe problem is linked to sqlite?


Mamisoa

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/138e3ee0-0f64-47f3-b40d-07fc614c56aa%40googlegroups.com.

Reply via email to