#9507 closed defect (wontfix)
ERORR
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 )
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)
Attachments (0)
Change History (4)
comment:1 by , 14 years ago
Description: | modified (diff) |
---|---|
Keywords: | needinfo added |
comment:2 by , 14 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This is likely an InstallationIssue. Non-ASCII characters in paths are generally not supported.
follow-up: 4 comment:3 by , 13 years ago
rblank and cboos may know the solution because you guys seem to solve the similar unicode paths problems in trac (http://trac.edgewall.org/ticket/9571) Does any of you know the solution or where I can get the solution?
comment:4 by , 13 years ago
Replying to cshyun:
rblank and cboos may know the solution because you guys seem to solve the similar unicode paths problems in trac (http://trac.edgewall.org/ticket/9571) Does any of you know the solution or where I can get the solution?
I found that the problem resolved if I changed the name of the Windows user's directory into English-style one. But this does not solve the original problem with Unicode.
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?