Python 2.4 ERROR: cvs2svn uses the anydbm package Python 2.6 ImportError: No module named _md5
Richard Murray <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <CE2C5C70AF459D40B73B00072DC2F7460286DB59@mallard.orchard-systems.co.uk> |
Hi,
I can't get cvs2svn working due to Python errors. I'm running on Solaris 10,
with version 2.3.0 of cvs2svn. I've installed Python, anydbm and all other
required libraries using packaged binaries.
When I run with Python 2.4.4 I get an error about the anydbm package (I've
installed gdbm but still get the error).
I have seen other posts reporting similar errors with responses that the
Python environment isn't setup correctly, but I haven't seen any information
on how to correct the issue in Python. I don't know Python at all so any
advice or suggestions would be appreciated.
Python 2.4.4
$ cvs2svn -s /uwm/svn/repositories /home/orchard/uwm-cvs-copy/cvsroot/gui
ERROR: cvs2svn uses the anydbm package, which depends on lower level dbm
libraries. Your system has dbm, with which cvs2svn is known to have
problems. To use cvs2svn, you must install a Python dbm library other than
dumbdbm or dbm. See http://python.org/doc/current/lib/module-anydbm.html
for more information.
In Python 2.6 I get the error 'ImportError: No module named _md5'. I've
installed md5 (a binary distribution) but still get the error.
Python 2.6
$ cvs2svn -s /uwm/svn/repositories /home/orchard/uwm-cvs-copy/cvsroot/gui
/usr/local/lib/python2.6/site-packages/cvs2svn_lib/dumpfile_delegate.py:23:
DeprecationWarning: the md5 module is deprec
ated; use hashlib instead
from md5 import new as md5
Traceback (most recent call last):
File "/usr/local/bin/cvs2svn", line 66, in <module>
from cvs2svn_lib.main import svn_main
File "/usr/local/lib/python2.6/site-packages/cvs2svn_lib/main.py", line 30,
in <module>
from cvs2svn_lib.svn_run_options import SVNRunOptions
File
"/usr/local/lib/python2.6/site-packages/cvs2svn_lib/svn_run_options.py", line
40, in <module>
from cvs2svn_lib.svn_output_option import DumpfileOutputOption
File
"/usr/local/lib/python2.6/site-packages/cvs2svn_lib/svn_output_option.py",
line 49, in <module>
from cvs2svn_lib.dumpfile_delegate import DumpfileDelegate
File
"/usr/local/lib/python2.6/site-packages/cvs2svn_lib/dumpfile_delegate.py",
line 23, in <module>
from md5 import new as md5
File "/usr/local/lib/python2.6/md5.py", line 10, in <module>
from hashlib import md5
File "/usr/local/lib/python2.6/hashlib.py", line 136, in <module>
md5 = __get_builtin_constructor('md5')
File "/usr/local/lib/python2.6/hashlib.py", line 63, in
__get_builtin_constructor
import _md5
ImportError: No module named _md5
Thanks,
Richard.
------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2632822
To unsubscribe from this discussion, e-mail: [[email protected]].