Edgewall Software

Ticket #1254 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Internal Error when Attempting to Browse Source: DLL load failed: The specified module could not be found.

Reported by: anonymous Owned by: jonas
Priority: normal Milestone:
Component: version control/browser Version: 0.8.1
Severity: blocker Keywords: ImportError DLL _fs
Cc:

Description

After a fresh install, trying to access either the Timeline or Browse Source tabs results in an internal error and the following TraceBack?:

Traceback (most recent call last):

File "C:\Local\Python23\Lib\site-packages\trac\core.py", line 531, in cgi_start

real_cgi_start()

File "C:\Local\Python23\Lib\site-packages\trac\core.py", line 526, in real_cgi_start

dispatch_request(path_info, args, req, env)

File "C:\Local\Python23\Lib\site-packages\trac\core.py", line 439, in dispatch_request

module = module_factory(args, env, database, req)

File "C:\Local\Python23\Lib\site-packages\trac\core.py", line 172, in module_factory

import sync

File "C:\Local\Python23\Lib\site-packages\trac\sync.py", line 22, in ?

from svn import fs, util, delta, repos, core

File "C:\Local\Python23\lib\svn\fs.py", line 28, in ?

import libsvn.fs

File "C:\Local\Python23\lib\libsvn\fs.py", line 4, in ?

import _fs

ImportError?: DLL load failed: The specified module could not be found.

The DLL is located in the same directory as fs.py and I can load it when running the same command from a Python shell.

This issue was encountered before: http://lists.edgewall.com/archive/trac/2004-June/000440.html

However, I could not find a solution.

I suspect that Apache may not allow DLLs to be loaded from the current directory?

Note that I am also using ActiveState Python and I have Python installed in a non-standard directory, same as the previous person encountering this issue.

Attachments

Change History

Changed 4 years ago by anonymous

  • keywords ImportError DLL _fs added
  • status changed from new to closed
  • resolution set to fixed

Issue resolved. This error occurs when multiple versions of Python are installed. Trac, Subversion, one of their dependencies binds to the incorrect version of Python.

Solution was to uninstall all but one version of Python (I chose ActiveState Python 2.3) and follow the installation instructions from scratch.

Changed 4 years ago by anonymous

Another Solution: copy dlls at svn\bin\*.dll to cgi-bin directory. then it works well.

Add/Change #1254 (Internal Error when Attempting to Browse Source: DLL load failed: The specified module could not be found.)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.