Modify

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#178 closed defect (invalid)

Installation went well. Search causes errors.

Reported by: graham@… Owned by: Alec Thomas
Priority: normal Component: RepoSearchPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description (last modified by Alec Thomas)

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 19 years ago by Alec Thomas

Description: modified (diff)

comment:2 Changed 19 years ago by graham

Severity: majornormal

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.

comment:3 Changed 19 years ago by graham

Resolution: invalid
Status: newclosed

Have large repository >650MB and this seems to be the issue. This works with a much smaller repository.

comment:4 Changed 19 years ago by Alec Thomas

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.