Mercurial error, could not import module directory
Benoit Boissinot
bboissin at gmail.com
Mon Oct 8 09:08:58 CDT 2007
On 10/8/07, ukdmbfan <matt at nancies.org.uk> wrote:
> The traceback:
> [*****@vps test]$ hg log --traceback
> Traceback (most recent call last):
> "/usr/lib/python2.3/site-packages/mercurial/demandimport.py",
> line 46, in _load
> mod = _origimport(head, globals, locals)
> ImportError:
> /usr/lib/python2.3/site-packages/mercurial/mpatch.so:
> cannot open shared object file: No such file or directory
> abort: could not import module directory!
>
Does "from mercurial import mpatch" work in a python interactive session ?
> I've checked, and the mpatch.so file definitely exists in that directory.
> However, if I try and execute it, I get a segmentation fault. I'm not sure
> if that's a lack-of-memory problem, or whether I'm just not supposed to
> execute it.
It is a library, you're not supposed to execute it.
>
> Also, would you be able to tell me what interface/GUI is being used at
> http://www.selenic.com/repo/?
hgwebdir.cgi (shipped with hg).
regards,
Benoit
More information about the Mercurial
mailing list