Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#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 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)

Attachments (0)

Change History (4)

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?

comment:2 by Christian Boos, 14 years ago

Resolution: wontfix
Status: newclosed

This is likely an InstallationIssue. Non-ASCII characters in paths are generally not supported.

comment:3 by cshyun, 12 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?

in reply to:  3 comment:4 by ordeeq@…, 12 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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.