[MacPorts] #18764: `mercurial' convert extension not operational ("Subversion python bindings could not be loaded")

MacPorts noreply at macports.org
Sun Mar 8 09:36:35 PDT 2009


#18764: `mercurial' convert extension not operational ("Subversion python bindings
could not be loaded")
----------------------------------------------------+-----------------------
 Reporter:  j.van_den_hoff@…                        |       Owner:  macports-tickets@…                   
     Type:  defect                                  |      Status:  new                                  
 Priority:  Normal                                  |   Milestone:  MacPorts 1.7.1                       
Component:  ports                                   |     Version:  1.7.0                                
 Keywords:  mercurial , python subversion bindings  |        Port:  mercurial                            
----------------------------------------------------+-----------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (removed)


Old description:

> under OSX 10.4.11 'hg convert -s svn {some_svn_working_dir}'
> produces the error message:
>
> Subversion python bindings could not be loaded
>
> although 'python2.5' knows of them (i.e. 'import svn' works at the python
> prompt and 'svn.\`__`file`__`' returns:
>
> '/opt/local/lib/svn-python2.5/svn/`__`init`__`.pyc'
>
> ), since 'subversion-python25bindings' is installed already.
>
> so I have
>
> subversion @1.5.5_0 (active)
>
> subversion-python25bindings @1.5.5_0 (active)
>
> with help from the macports list and the 'mercurial' maintainer I tried
> some things. e.g. it seems that
>
> py25-socket-ssl
>
> has to be in place for 'hg convert' to work. a) this should probably,
> then be a dependency of `hg', b) installing it manually does not remove
> the initial problem.
>
> I attach a log file where I ran `hg convert' after adding the python '-v'
> flag to the 'hg' executable. hope this helps to locate
> the problem.
>
> regards,
>
> joerg

New description:

 under OSX 10.4.11 '{{{hg convert -s svn {some_svn_working_dir}}}}'
 produces the error message:

 {{{
 Subversion python bindings could not be loaded
 }}}

 although 'python2.5' knows of them (i.e. 'import svn' works at the python
 prompt and 'svn.\`__`file`__`' returns:

 {{{
 '/opt/local/lib/svn-python2.5/svn/`__`init`__`.pyc'
 }}}

 ), since 'subversion-python25bindings' is installed already.

 so I have

 {{{
 subversion @1.5.5_0 (active)
 subversion-python25bindings @1.5.5_0 (active)
 }}}

 with help from the macports list and the 'mercurial' maintainer I tried
 some things. e.g. it seems that

 py25-socket-ssl

 has to be in place for 'hg convert' to work. a) this should probably, then
 be a dependency of `hg', b) installing it manually does not remove the
 initial problem.

 I attach a log file where I ran `hg convert' after adding the python '-v'
 flag to the 'hg' executable. hope this helps to locate
 the problem.

 regards,

 joerg

--

-- 
Ticket URL: <http://trac.macports.org/ticket/18764#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list