[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Python exception when accessing to an SVN repository with python 2.5 and SVN 1.5

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 24 Jul 2008 10:44:50 -0400

On Thu, Jul 24, 2008 at 10:37 AM, <Yann.Foubert_at_lodh.com> wrote:

> I installed SVN 1.5, Apache 2.2.8, Python 2.5 and ViewVC 1.0.5
>
> When I access viewvc, it works, but when I try to access an SVN repository I
> get the python exception:
>
> An Exception Has Occurred
> Python Traceback
>
> Traceback (most recent call last):
> File "E:\Program Files\viewvc-1.0.5\lib\viewvc.py", line 3766, in main
> request.run_viewvc()
> File "E:\Program Files\viewvc-1.0.5\lib\viewvc.py", line 253, in run_viewvc
> import vclib.svn
> File "E:\Program Files\viewvc-1.0.5\lib\vclib\svn\__init__.py", line 27, in
> <module>
> from svn import fs, repos, core, delta
> File "E:\Python25\Lib\site-packages\svn\fs.py", line 19, in <module>
> from libsvn.fs import *
> File "E:\Python25\Lib\site-packages\libsvn\fs.py", line 5, in <module>
> import _fs
> ImportError: DLL load failed with error code 182

We include ViewVC in our CollabNet Subversion distribution and install
and configure it for you automatically. This is a problem I have run
into. I finally figured it out so included it in our readme. Here it
is:

7. Known issues

   When trying to access a repository via ViewVC, you might see an error
   trace that ends with this message:

      ImportError: DLL load failed with error code 182

   This error occurs when you have an older version of the OpenSSL DLLs in your
   PATH ahead of the CollabNet Subversion bin folder. Many Windows applications
   ship the OpenSSL DLLs and many of them also use older versions. To fix this
   problem:

      1. Edit your PATH so that the CollabNet Subversion bin folder is at or
         near the beginning of your PATH.
      2. Reboot so that your Apache service can pick up the change.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-24 16:45:19 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.