I'm shifting my app to python3.6.
When trying to edit from admin, I get this error;
Traceback 

 Traceback (most recent call last):
 File "/home/mauricewaka/web2py/gluon/restricted.py", line 219, in 
restricted
 exec(ccode, environment)
 File "/home/mauricewaka/web2py/applications/admin/controllers/default.py" 
<http://127.0.0.1:8000/admin/default/edit/admin/controllers/default.py>, 
line 2012, in <module>
 File "/home/mauricewaka/web2py/gluon/globals.py", line 421, in <lambda>
 self._caller = lambda f: f()
 File "/home/mauricewaka/web2py/applications/admin/controllers/default.py" 
<http://127.0.0.1:8000/admin/default/edit/admin/controllers/default.py>, 
line 1140, in design
 data = safe_read(apath('%s/views/%s' % (app, c), r=request))
 File "/home/mauricewaka/web2py/applications/admin/controllers/default.py" 
<http://127.0.0.1:8000/admin/default/edit/admin/controllers/default.py>, 
line 95, in safe_read
 return safe_file.read()
 File "/usr/lib/python3.6/codecs.py", line 321, in decode
 (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: 
invalid start byte


I downloaded the latest web2py before installing my app.
Regards

-- 
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