Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177317 - dev-python/bicyclerepair: Missing encoding declaration in bikeemacs.py
Summary: dev-python/bicyclerepair: Missing encoding declaration in bikeemacs.py
Status: RESOLVED DUPLICATE of bug 92219
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-06 12:58 UTC by me
Modified: 2008-01-23 16:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Adds the missing encoding declaration to bikeemacs.py (fix-encoding.patch,355 bytes, patch)
2007-05-06 12:59 UTC, me
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description me 2007-05-06 12:58:56 UTC
bikeemacs.py from bicyclerepair misses a proper encoding declaration, although it contains non-ascii characters. This results in a syntax error on Python 2.5, when bikeemacs.py is loaded in Emacs to enable Emacs integration of Bicyclerepair:

error: Python: Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Pymacs/pymacs.py", line 96, in loop
    argument = eval(text)
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/Pymacs/pymacs.py", line 188, in pymacs_load_helper
    object = __import__(module_name)
  File "/usr/lib/python2.5/site-packages/bikeemacs.py", line 3
 SyntaxError: Non-ASCII character '\xe7' in file /usr/lib/python2.5/site-packages/bikeemacs.py on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details (bikeemacs.py, line 3)
Comment 1 me 2007-05-06 12:59:43 UTC
Created attachment 118334 [details, diff]
Adds the missing encoding declaration to bikeemacs.py
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-05-06 13:00:37 UTC

*** This bug has been marked as a duplicate of bug 105151 ***
Comment 3 Ulrich Müller gentoo-dev 2008-01-23 16:43:52 UTC
This is fixed by the patch of attachment 141662 [details, diff].
Comment 4 Ulrich Müller gentoo-dev 2008-01-23 16:44:12 UTC

*** This bug has been marked as a duplicate of bug 92219 ***