Opened 7 years ago

Closed 6 years ago

#7005 closed defect (fixed)

Installation breaks with SyntaxError: Non-ASCII character '\xc3' in file

Reported by: damaxl@… Owned by: martin_s
Priority: highest Component: NumberedHeadlinesPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11


There is an issue with at Rev: 7790. When preparing the egg file with python bdist_egg an error occures:

Traceback (most recent call last):
  File "", line 7, in <module>
    from tracnumberedheadlines.plugin import __revision__ as coderev
  File "/download/trac/numberedheadlinesplugin/0.11/tracnumberedheadlines/", line 22
SyntaxError: Non-ASCII character '\xc3' in file /download/trac/numberedheadlinesplugin/0.11/tracnumberedheadlines/ 
on line 22, but no encoding declared; see for details

There is a german 'Umlaut' character 'ä' in the file. Change it to an 'a' and everything works fine.

nano <WhereeverThePackegeIs>/numberedheadlinesplugin/0.11/tracnumberedheadlines/

-__date__     = r"$Date: 2010-03-21 22:07:24 +0100 (So, 21. Mär 2010) $"[7:-2]
+__date__     = r"$Date: 2010-03-21 22:07:24 +0100 (So, 21. Mar 2010) $"[7:-2]

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by martin_s

  • Resolution set to fixed
  • Status changed from new to closed

(In [7991])

Made SVN date and rev unicode strings. The date can include non-ascii characters on non-english installations. This should fix #7005.

Add Comment

Modify Ticket

as closed The owner will remain martin_s.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.