Modify ↓
#178 closed defect (invalid)
Installation went well. Search causes errors.
| Reported by: | Owned by: | Alec Thomas | |
|---|---|---|---|
| Priority: | normal | Component: | RepoSearchPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: |
Description (last modified by )
I just installed Trac today on WinXP. Things are working, but I have to admin I am new to Trac and Python. Below is the Traceback and I'm currently working on the issue, but am hitting a brick wall with it.
Traceback (most recent call last):
File "C:\Python23\Lib\site-packages\trac\web\cgi_frontend.py", line 131, in run
dispatch_request(req.path_info, req, env)
File "C:\Python23\Lib\site-packages\trac\web\main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "C:\Python23\Lib\site-packages\trac\web\main.py", line 107, in dispatch
resp = chosen_handler.process_request(req)
File "C:\Python23\Lib\site-packages\trac\Search.py", line 158, in process_request
results += list(source.get_search_results(req, query, filters))
File "build\bdist.win32\egg\tracreposearch\search.py", line 73, in get_search_results
File "build\bdist.win32\egg\tracreposearch\indexer.py", line 12, in ?
File "build\bdist.win32\egg\tracreposearch\lock.py", line 42, in ?
ImportError: No module named win32con
Attachments (0)
Change History (4)
comment:1 Changed 20 years ago by
| Description: | modified (diff) |
|---|
comment:2 Changed 20 years ago by
| Severity: | major → normal |
|---|
comment:3 Changed 20 years ago by
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
Have large repository >650MB and this seems to be the issue. This works with a much smaller repository.
comment:4 Changed 20 years ago by
I'll update the RepoSearchPlugin page with a note about that module under Win32.
The indexer could definitely use some optimisation, but a better plan might be to make a C extension for it that performs the indexing.
Note: See
TracTickets for help on using
tickets.



I found out the installation from python.org does not contain the win32 extentions required. Installed them from http://starship.python.net/crew/mhammond/win32/Downloads.html, however now receiving different error:
AttributeError: 'NoneType' object has no attribute 'read'
I believe the rest is a configuration issue. However will not close until complete.