Modify ↓
Opened 15 years ago
Closed 14 years ago
#9152 closed defect (wontfix)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 26: ordinal not in range(128)
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 )
How to Reproduce
While doing a GET operation on /admin
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'cat_id': None, 'panel_id': None, 'path_info': None}
User Agent was: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.1.8) Gecko/20100308 Iceweasel/3.5.8 (like Firefox/3.5.8)
System Information
Trac | 0.11.7
|
Python | 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
|
setuptools | 0.6c11
|
SQLite | 3.3.4
|
pysqlite | 2.3.2
|
Genshi | 0.5.1
|
Subversion | 1.5.2 (r32768)
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "C:\Python25\Lib\site-packages\trac\web\main.py", line 450, in _dispatch_request dispatcher.dispatch(req) File "C:\Python25\Lib\site-packages\trac\web\main.py", line 227, in dispatch data, content_type) File "C:\Python25\Lib\site-packages\trac\web\chrome.py", line 738, in render_template template = self.load_template(filename, method=method) File "C:\Python25\Lib\site-packages\trac\web\chrome.py", line 712, in load_template return self.templates.load(filename, cls=cls) File "C:\Python25\lib\site-packages\genshi\template\loader.py", line 227, in load filename, encoding=encoding) File "C:\Python25\lib\site-packages\genshi\template\loader.py", line 265, in _instantiate allow_exec=self.allow_exec) File "C:\Python25\lib\site-packages\genshi\template\base.py", line 377, in __init__ self.stream = list(self._prepare(self._parse(source, encoding))) File "C:\Python25\lib\site-packages\genshi\template\base.py", line 444, in _prepare cls=cls or self.__class__) File "C:\Python25\lib\site-packages\genshi\template\loader.py", line 214, in load filepath, filename, fileobj, uptodate = loadfunc(filename) File "C:\Python25\lib\site-packages\genshi\template\loader.py", line 275, in _load_from_directory filepath = os.path.join(path, filename) File "C:\Python25\lib\ntpath.py", line 102, in join path += "\\" + b UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 26: ordinal not in range(128)
Attachments (0)
Change History (3)
comment:1 by , 15 years ago
Keywords: | needinfo added |
---|
comment:3 by , 14 years ago
Description: | modified (diff) |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
No feedback in more than 3 months, closing.
Probably due to using non-ASCII filesystem paths, which is not supported.
Note:
See TracTickets
for help on using tickets.
Does the path to your Trac environment happen to have non-ASCII characters?