Opened 16 years ago

Closed 15 years ago

#18764 closed defect (duplicate)

`mercurial' convert extension not operational ("Subversion python bindings could not be loaded")

Reported by: j.van_den_hoff@… Owned by: deric@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: mercurial, python subversion bindings Cc: deric.lists@…, jmroot (Joshua Root)
Port: mercurial

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Attachments (1)

hg.log (29.6 KB) - added by j.van_den_hoff@… 16 years ago.
logfile of `hg convert' run with python -v flag added

Download all attachments as: .zip

Change History (8)

Changed 16 years ago by j.van_den_hoff@…

Attachment: hg.log added

logfile of `hg convert' run with python -v flag added

comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… removed
Description: modified (diff)

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Milestone: MacPorts 1.7.1Port Bugs

comment:3 Changed 16 years ago by blb@…

Owner: changed from macports-tickets@… to deric@…

comment:4 Changed 16 years ago by danielluke (Daniel J. Luke)

Cc: dluke@… removed

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:6 Changed 15 years ago by kmike84@…

Aslo had the same bug.

The solution is to install subversion-python26bindings because hg now uses macports' python2.6.

comment:7 Changed 15 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

The socket-ssl module was reintegrated as part of #12369.

Note: See TracTickets for help on using tickets.