Comment 7 for bug 81910

Revision history for this message
Scott Zawalski (cowbud) wrote :

The fix is to declare the encoding in /usr/share/onboard/utils.py

The maintainer should add the following line:

# -*- coding: utf-8 -*-

-----for completeness here is the stack trace

Stack trace from onboard. It looks like a UTF issue.

Traceback (most recent call last):
  File "/usr/share/onboard/run-onboard.py", line 3, in <module>
    from sok import Sok
  File "/usr/share/onboard/sok.py", line 6, in <module>
    from Keyboard import Keyboard
  File "/usr/share/onboard/Keyboard.py", line 11, in <module>
    from utils import run_script
  File "/usr/share/onboard/utils.py", line 17
SyntaxError: Non-ASCII character '\xe2' in file /usr/share/onboard/utils.py on line 17, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details