Modify ↓
Opened 18 years ago
Closed 15 years ago
#374 closed defect (duplicate)
Unicode Problem?
Reported by: | anonymous | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | RepoSearchPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.9 |
Description
Does the current version support unicode well?
Traceback (most recent call last): File "C:\Python23\Lib\site-packages\trac\web\main.py", line 299, in dispatch_request dispatcher.dispatch(req) File "C:\Python23\Lib\site-packages\trac\web\main.py", line 189, in dispatch resp = chosen_handler.process_request(req) File "C:\Python23\Lib\site-packages\trac\Search.py", line 181, in process_request results += list(source.get_search_results(req, terms, filters)) File "build\bdist.win32\egg\tracreposearch\search.py", line 76, in get_search_results File "build\bdist.win32\egg\tracreposearch\indexer.py", line 104, in __init__ File "build\bdist.win32\egg\tracreposearch\indexer.py", line 72, in wrap File "build\bdist.win32\egg\tracreposearch\indexer.py", line 209, in reindex File "C:\Python23\Lib\UserDict.py", line 152, in get return self[key] File "C:\Python23\Lib\bsddb\__init__.py", line 116, in __getitem__ return self.db[key] TypeError: String or Integer object expected for key, unicode found
Attachments (0)
Change History (5)
comment:1 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 18 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I have the same problem on Linux. trac 0.10.3, svn 1.4.3, apache 2.0.59, latest reposearch from trunk (revision 2033):
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.4/site-packages/trac/Search.py", line 181, in process_request results += list(source.get_search_results(req, terms, filters)) File "build/bdist.linux-i686/egg/tracreposearch/search.py", line 77, in get_search_results File "build/bdist.linux-i686/egg/tracreposearch/indexer.py", line 72, in wrap File "build/bdist.linux-i686/egg/tracreposearch/indexer.py", line 209, in reindex File "/usr/lib/python2.4/UserDict.py", line 158, in get return self[key] File "/usr/lib/python2.4/bsddb/__init__.py", line 213, in __getitem__ return self.db[key] TypeError: String or Integer object expected for key, unicode found
comment:4 Changed 15 years ago by
Owner: | changed from Alec Thomas to Ryan J Ollos |
---|---|
Status: | reopened → new |
comment:5 Changed 15 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Sorry i just realize i was using a old release..
I just build from the latest trunk..
Every Thing seems works fine.