Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"DLL load failed" when using mercurial on trac

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 doesn't have anything useful except a warning about mercurial being compiled with Python 2.6.2 and the actual version of Python running being 2.6.4.

Does anyone have any ideas on how to solve this?

Versions:

  • Python 2.6 (binary installer from python.org)
  • trac 0.12.2 (using easy_install)
  • mercurial (the Windows pre-built binary from tortoisehg)

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.

like image 207
blokeley Avatar asked Nov 15 '22 02:11

blokeley


1 Answers

I have the same problem. There is no problem in mercurial package version 1.7.1. The mistake appears in higher versions, up to 1.8.

like image 127
Alex Avatar answered Dec 09 '22 14:12

Alex