[Trac-tickets] [The Trac Project] #1254: Internal Error when Attempting to Browse Source: DLL load failed: The specified module could not be found.

The Trac Project noreply at edgewall.com
Sat Mar 5 19:56:27 EST 2005


#1254: Internal Error when Attempting to Browse Source: DLL load failed: The
specified module could not be found.
---------------------+------------------------------------------------------
       Id:  1254     |      Status:  new                     
Component:  browser  |    Modified:  Sat Mar  5 19:56:23 2005
 Severity:  blocker  |   Milestone:                          
 Priority:  normal   |     Version:  0.8.1                   
    Owner:  jonas    |    Reporter:  anonymous               
---------------------+------------------------------------------------------
 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.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/1254>
The Trac Project <>


More information about the Trac-Tickets mailing list