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


** Changed in: onboard (Ubuntu)
       Status: Unconfirmed => Confirmed

-- 
[apport] run-onboard.py crashed with  SyntaxError in run_script()
https://launchpad.net/bugs/81910

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to