Non-ASCII character produces SyntaxError in __init__.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
quickly-lens-templates (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Recently I try the Wikipedia Lens tutorial but during the tutorial, I got an error after running the lens:
"Traceback (most recent call last):
File "bin/wikipedia", line 30, in <module>
from wikipedia import WikipediaLens
File "/home/
SyntaxError: Non-ASCII character '\xc3' in file /home/user/
The workaround is to place at the beginning of __init__.py file the line: "# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-" which is incorporated automatically in the others files when we create a unity-lens project with quickly but not in init file..
Can you correct this mistake for the init file at the creation of unity-lens project?