[Trac] Re: Unsupported version control system "svn": DLL load failed with error code 182

2008-10-27 Thread garu

Thanks to all those who replied.

- i didn't try yet with apache 2.2. I had not too much time so i just
wanted to update svn for merge tracking support without touching the
rest of the installation. Then after everything started going wrong i
didn't want to add another unknown element to the game.If i get some
more spare time i'll try it.

- this is an upgrade i did many times before. Upgrading svn and python
bindings, one minute of work total and should have worked out of the
box also this time if it weren't for those dll's mismatch.

- i checked as i did all times to install the correct bindings for the
installed env, resulting in Subversion 1.5.3, apache 2.0.63,
mod_python-3.3.1.win32-py2.5-Apache2.0, svn-python-1.5.3.win32-py2.5.
The bindigns were downloaded from Subversion site, apache 2.0 folder.

- result, the combination won't work because apache 2.0.63 still has
an old version of ssleay32.dll and libeay32.dll into its bin directory
respect to those of svn and python bindings, and in the apache service
search path this directory has precedence to anything you may have
specified in PATH env variable. Infact importing svn from the command
line was working as a charm. It was a problem exclusive to apache.

- the svn modules are loaded from "C:\Program Files\Subversion\bin"
but this is of no relief, again see previous point.

- i don't like copying around dlls exactly for this reason. After some
time you loose track of those old dlls hanging around and sooner or
later they will bite you back, but this time i had no other way to
have back track working again with apache than copyng the svn ones
into apache bin dir

- while trying to understand the problem i also tried a complete
cleanup, uninstalling everything, scanning the system for any apr or
leay dll's hanging around then reinstalling everything. No luck. The
only solution was to copy leay dll's after complete reinstallation.

I don't know who is the culprit of this problem, but it looks either
that apache people, while upgrading apr dlls, they match with those in
svn, forgot to upgrade  leay dlls too or the cup of coffee i drank
before starting installation was sweetened with something other than
sugar ;)

Best regards to eveybody,
Gabriele

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
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
-~--~~~~--~~--~--~---



[Trac] Unsupported version control system "svn": DLL load failed with error code 182

2008-10-24 Thread garu

Since i broke my head to understand what was going on, i wish to share
this info in the hope that it may help someone to avoid the loss of
time i had.

If you install any version of svn and related python bindings after
version 1.5.0 with apache 2.0 on Windows (up to the latest released
2.0.63) you won't be able to access any longer svn repositories from
trac and you'll get the infamous "Unsupported version control system
"svn": DLL load failed with error code 182" message.

The problem is that apache 2.0 is shipping an old version of
ssleay32.dll and libeay32.dll that are no longer compatible with
latest svn dlls (the same released with python bindings).
No matter how do you fiddle with PATH env or PythonPath declaration,
Apache2 /bin dll's will always be loaded first, so the only options
you have is to remove them from the Apache2 /bin so that those in
Subversion/bin are loaded instead (Subversion/bin must be on the path)
or substituting those in Apache2 /bin with those copied from
Subversion/bin.

I don't know exactly when this happened, i migrated from svn 1.4.6 to
1.5.3, then i tested also 1.5.1 that i downloaded some time ago with
same results, so i can assure that the problem exist at least after
1.5.0 and with Apache 2.0.61 and 2.0.63, but it could exist also in
any intermediate version after 1.4.6.

Best wishes to everybody.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
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
-~--~~~~--~~--~--~---