My mercurial repository works correctly in trac when I use the tracd
server.
However, when I use apache, I get the following warning at the top of
all trac pages:
"Warning: Can't synchronize with repository "(default)" (Unsupported
version control system "hg": DLL load failed: The specified module
could not be found.). Look in the Trac log for more information."
The trac log contains the following:
011-03-02 08:29:55,438 Trac[loader] DEBUG: Loading trac.mimeview.rst
from c:\python26\lib\site-packages\trac-0.12.2-py2.6-win32.egg
2011-03-02 08:29:55,470 Trac[loader] ERROR: Skipping
"trac.mimeview.rst = trac.mimeview.rst [rest]":
Traceback (most recent call last):
File "c:\docume~1\tomoak~1\locals~1\temp\easy_install-cas_ve
\Trac-0.12.2-py2.6-win32.egg.tmp\trac\loader.py", line 68, in
_load_eggs
entry.load(require=True)
File "C:\Python26\lib\site-packages\pkg_resources.py", line 1954, in
load
entry = __import__(self.module_name, globals(),globals(),
['__name__'])
File "C:\Python26\lib\site-packages\mercurial\demandimport.py", line
106, in _demandimport
mod = _origimport(name, globals, locals)
File "c:\docume~1\tomoak~1\locals~1\temp\easy_install-cas_ve
\Trac-0.12.2-py2.6-win32.egg.tmp\trac\mimeview\rst.py", line 154, in
<module>
File "C:\Python26\lib\site-packages\mercurial\demandimport.py", line
76, in __getattribute__
return getattr(self._module, attr)
AttributeError: 'module' object has no attribute 'directives'
I know that the directory "c:\docume~1\tomoak~1\locals~1\temp
\easy_install-cas_ve\" does not exist on disk.
Does anyone have any ideas on how to solve this?
Versions:
Python 2.6 (binary installer from python.org)
trac 0.12 (using easy_install)
Apache 2.2 with mod_wsgi
mercurial (the Windows pre-built binary from tortoisehg)
svn 1.6.15
svn python bindings
Apache is running on a Windows XP (32-bit) machine for testing. I
have admin rights, but I think that apache is running as Local User.
Question also posted at
http://stackoverflow.com/questions/5158523/dll-load-failed-when-using-mercurial-on-trac
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en.