Public bug reported:

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/user/wikipedia/wikipedia/__init__.py", line 41
SyntaxError: Non-ASCII character '\xc3' in file 
/home/user/wikipedia/wikipedia/__init__.py on line 41, but no encoding 
declared; see http://www.python.org/peps/pep-0263.html for details"

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?

** Affects: quickly-lens-templates (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1217965

Title:
  Non-ASCII character produces SyntaxError in __init__.py

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/quickly-lens-templates/+bug/1217965/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to