UnicodeDecodeError('utf-8' codec can't decode byte 0xf8 in position 4: invalid start byte)

20 views
Skip to first unread message

Maurice Waka

unread,
Apr 1, 2019, 7:50:49 AM4/1/19
to web2py-users
I have started getting this error when opening a page:

Traceback

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
 
Traceback (most recent call last):
 
File "/home/mauricewaka/web2py/gluon/main.py", line 444, in wsgibase
 serve_controller
(request, response, session)
 
File "/home/mauricewaka/web2py/gluon/main.py", line 183, in serve_controller
 page
= run_view_in(response._view_environment)
 
File "/home/mauricewaka/web2py/gluon/compileapp.py", line 731, in run_view_in
 context
=environment)
 
File "/home/mauricewaka/web2py/gluon/packages/yatl/yatl/template.py", line 809, in parse_template
 text
= to_native(text)
 
File "/home/mauricewaka/web2py/gluon/packages/yatl/yatl/template.py", line 38, in to_native
 
return obj if isinstance(obj, str) else obj.decode(charset, errors)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf8 in position 4: invalid start byte


Maurice Waka

unread,
Apr 1, 2019, 2:35:49 PM4/1/19
to web2py-users
Just noted that one of my files was corrupted.
Problem solved 
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 a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/rEa2xjIkCE8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages