Opened 14 years ago

Last modified 14 years ago

#7603 closed defect

Non-ASCII character '\xc3' — at Version 3

Reported by: Mario Fetka Owned by: Christophe Drevet
Priority: normal Component: TracGitosisPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

hello, i want to use your plugin but there is a nonasci char in a file

2010-08-31 18:22:11,147 Trac[env] INFO: -------------------------------- environment startup [Trac 0.12] --------------------------------
2010-08-31 18:22:14,453 Trac[loader] ERROR: Skipping "tracgitosis = tracgitosis": 
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/trac/loader.py", line 70, in _load_eggs
    entry.load(require=True)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1955, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.6/site-packages/tracgitosis/__init__.py", line 2, in <module>
    from tracgitosis import *
  File "/usr/lib/python2.6/site-packages/tracgitosis/tracgitosis.py", line 103
SyntaxError: Non-ASCII character '\xc3' in file /usr/lib/python2.6/site-packages/tracgitosis/tracgitosis.py on line 103, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details (tracgitosis.py, line 103))

Change History (3)

comment:1 Changed 14 years ago by Christophe Drevet

Status: newassigned

Yes, there were some comments in french (bad) and no encoding declaration for the file (very bad).

Can you please try the latest commit ?

I didn't work with 0.12 release and I don't know if the plugin even works for one repository. What I know for sure is that it won't support multiple repositories.

comment:2 Changed 14 years ago by Mario Fetka

i am still fighting with setting it up on Gentoo

yes its now working without errors

so it means it will destroy the configuration for the other repositories ?

comment:3 Changed 14 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.