id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 7005,Installation breaks with SyntaxError: Non-ASCII character '\xc3' in file,damaxl@…,Martin Scharrer,"There is an issue with plugin.py at Rev: 7790. When preparing the egg file with {{{python setup.py bdist_egg}}} an error occures: {{{ Traceback (most recent call last): File ""setup.py"", line 7, in from tracnumberedheadlines.plugin import __revision__ as coderev File ""/download/trac/numberedheadlinesplugin/0.11/tracnumberedheadlines/plugin.py"", line 22 SyntaxError: Non-ASCII character '\xc3' in file /download/trac/numberedheadlinesplugin/0.11/tracnumberedheadlines/plugin.py on line 22, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details }}} There is a german 'Umlaut' character 'ä' in the file. Change it to an 'a' and everything works fine. {{{ nano /numberedheadlinesplugin/0.11/tracnumberedheadlines/plugin.py -__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] }}} ",defect,closed,highest,NumberedHeadlinesPlugin,blocker,fixed,,,0.11