favicon-extension broken by invalid character in python source
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
epiphany-extensions (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: epiphany-extensions
When starting epiphany-browser with the favicon-extension the extension does not load with the following error message on the console:
----------
File "/usr/lib/
SyntaxError: Non-ASCII character '\xc2' in file /usr/lib/
** (epiphany:23249): WARNING **: Could not initialize Python module 'favicon'
----------
It's the copyright character in the GPL note at the beginning of the file that is causing this error.
The solution is trivial: either replace the copyright-character by "(c)" or add the line
# -*- coding: utf-8 -*-
right after the shebang.
That upload fixes the bug:
epiphany- extensions (2.17.4-0ubuntu2) feisty; urgency=low patches/ 01_from_ svn_fix_ favicon_ encoding. patch:
.
* debian/
- patch from SVN, specify utf-8 encoding for favicon (Ubuntu: #81262)