Edgewall Software
Modify

Ticket #9507 (closed defect: wontfix)

Opened 19 months ago

Last modified 2 months ago

ERORR

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

Description (last modified by rblank) (diff)

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

Change History

comment:1 Changed 19 months ago by rblank

  • 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 Changed 17 months ago by cboos

  • Resolution set to wontfix
  • Status changed from new to closed

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

comment:3 follow-up: Changed 2 months ago by 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?

comment:4 in reply to: ↑ 3 Changed 2 months ago by ordeeq@…

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.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from (none). Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.