Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#1597 closed defect (worksforme)

Timeline and browse source fail after installation

Reported by: philippe.marzin@… Owned by: Jonas Borgström
Priority: low Milestone:
Component: general Version: 0.8.1
Severity: critical Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I did everything described in the TracOnWindow page - use svn 1.1.4, Python-2.3 - everything works fine, except Timeline and Browse source where I get the error lines below - I put all dll in system32. The only thing I did not do is to import things into the svn repository.

Oops… Trac detected an internal error:

DLL load failed: Le module sp�cifi� est introuvable.

If you think this really should work and you can reproduce it. Then you should consider to report this problem to the Trac team.

Go to http://trac.edgewall.com/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the python traceback found below.

TracGuide — The Trac User and Administration Guide Python traceback

Traceback (most recent call last):

File "C:\pmn\pmn-home\Python-2.3\Lib\site-packages\trac\core.py", line 531, in cgi_start

real_cgi_start()

File "C:\pmn\pmn-home\Python-2.3\Lib\site-packages\trac\core.py", line 526, in real_cgi_start

dispatch_request(path_info, args, req, env)

File "C:\pmn\pmn-home\Python-2.3\Lib\site-packages\trac\core.py", line 439, in dispatch_request

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

File "C:\pmn\pmn-home\Python-2.3\Lib\site-packages\trac\core.py", line 172, in module_factory

import sync

File "C:\pmn\pmn-home\Python-2.3\Lib\site-packages\trac\sync.py", line 22, in ?

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

File "C:\pmn\pmn-home\Python-2.3\lib\svn\fs.py", line 28, in ?

import libsvn.fs

File "C:\pmn\pmn-home\Python-2.3\lib\libsvn\fs.py", line 4, in ?

import _fs

ImportError: DLL load failed: Le module sp�cifi� est introuvable.

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 19 years ago

Milestone: 0.8.2
Priority: normallow

It seems that the Subversion bindings are not correctly installed.

Double-check point 17. in TracOnWindows#InstallTracPrerequisites

What's not clearly explained there however is that you either have to put the libraries in the place your Python executable will expect them to be (in Lib or better, Lib/site-packages or you have to modify your PYTHONPATH environment variable so that it points to the place you unpacked the python bindings. Note that putting the python bindings dll in system32 is pointless Python will not look there…

You can always check that you've done a correct setup once you can successfully do a

>>> import svn.fs

at the python command-line.

Please don't forget to close that ticket when it worksforyou :)

comment:2 by PMN, 19 years ago

Resolution: worksforme
Status: newclosed

Thank you for your answer. clarification: I did everything fine and put the dlls I could find into system32 after I found it did not work. By the way >>>import svn.fs was working that's why I was desperate somehow.

Afetr reading your message, I had the idea to define PYTHONPATH into the apache location

<Location "/cgi-bin/trac.cgi">

SetEnv TRAC_ENV "E:\data-www\trac\pmo.db" SetEnv LOC_TIME fr_FR SetEnv PYTHONPATH "C:\pmn\pmn-home\Python-2.3"

</Location>

And it worked! So many, many thanks.

comment:3 by anonymous, 19 years ago

Note about Windows: I also discovered that when my apache was running under the default system account that I would get this failure. By defining an active directory service account and associating it with the apache service, these 'DLL load failed' problems all went away.

Question: How hard would it be to report the DLL which is being sought?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.