Edgewall Software

Opened 14 years ago

Last modified 12 years ago

#9507 closed defect

ERORR — at Version 1

Reported by: anonymous Owned by:
Priority: high Milestone:
Component: general Version:
Severity: normal Keywords: needinfo
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Remy Blank)

Traceback (most recent call last):
  File "c:\temp\easy_install-p6rtft\Trac-0.12-py2.7-win32.egg.tmp\trac\web\api.py", line 436, in send_error
    data, 'text/html')
  File "c:\temp\easy_install-p6rtft\Trac-0.12-py2.7-win32.egg.tmp\trac\web\chrome.py", line 812, in render_template
    stream = template.generate(**data)
  File "build\bdist.win32\egg\genshi\template\base.py", line 532, in generate
    stream = self.stream
  File "build\bdist.win32\egg\genshi\template\base.py", line 442, in stream
    self._stream = list(self._prepare(self._stream))
  File "build\bdist.win32\egg\genshi\template\base.py", line 492, in _prepare
    cls=cls or self.__class__)
  File "build\bdist.win32\egg\genshi\template\loader.py", line 223, in load
    filepath, filename, fileobj, uptodate = loadfunc(filename)
  File "build\bdist.win32\egg\genshi\template\loader.py", line 285, in _load_from_directory
    filepath = os.path.join(path, filename)
  File "C:\Python27\lib\ntpath.py", line 108, in join
    path += "\\" + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 26: ordinal not in range(128)

Change History (1)

comment:1 by Remy Blank, 14 years ago

Description: modified (diff)
Keywords: needinfo added

This looks like a Genshi issue with Unicode paths on Windows. Does the path to your Trac environment happen to have any non-ASCII characters?

Note: See TracTickets for help on using tickets.