#1254 closed defect (fixed)
Internal Error when Attempting to Browse Source: DLL load failed: The specified module could not be found.
Reported by: | anonymous | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | version control/browser | Version: | 0.8.1 |
Severity: | blocker | Keywords: | ImportError DLL _fs |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
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 (0)
Change History (2)
comment:1 by , 20 years ago
Keywords: | ImportError DLL _fs added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 by , 20 years ago
Another Solution: copy dlls at svn\bin\*.dll to cgi-bin directory. then it works well.
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.