Ticket #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 |
|---|---|---|---|
| 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.


