No encoding declared on /usr/bin/caffeine
Bug #1719955 reported by
Stephen Smith
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Caffeine |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am on arch with the latest caffeine installed (r665) and when running the caffeine executable, I get the error:
File "/usr/bin/
SyntaxError: Non-ASCII character '\xc2' in file /usr/bin/caffeine on line 3, but no encoding declared; see http://
This is easily fixed by adding "# coding: utf8" as the second line, or "# -*- coding: utf-8 -*-" or something similar.
Changed in caffeine: | |
status: | New → Invalid |
To post a comment you must log in.
Actually I think this is a false alarm. Was running it with python2...