Small patch to keyword extension ('module' object has no attribute '_parse')
Christian Ebert
blacktrash at gmx.net
Mon Nov 5 12:03:08 CST 2007
* Marcin Kasperski on Monday, November 05, 2007 at 16:32:31 +0100
> I just tried setting up keyword extension on some Debian testing box,
> just to see things like:
>
> $ hg status
> *** failed to import extension hgext.keyword: 'module' object has no attribute '_parse'
> *** failed to import extension hgext.keyword: 'module' object has no attribute '_parse'
>
> Or if one prefers details:
>
> python keyword.py
> Traceback (most recent call last):
> File "/var/lib/python-support/python2.4/hgext/keyword.py", line 93, in ?
> _parse = dispatch._parse
> File "/var/lib/python-support/python2.4/mercurial/demandimport.py", line 75, in __getattribute__
> return getattr(self._module, attr)
> AttributeError: 'module' object has no attribute '_parse'
This should already have been taken care of in recent versions of
(backwards compatible) keyword.py at
<http://www.blacktrash.org/hg/hgkeyword/>. Are you sure your
version is not outdated?
But looking at the traceback, I believe you can (and should) try
the non-backwards compatible version from:
<http://www.blacktrash.org/hg/hg-crew-keyword/>
c
--
Der tragische /Transport/ ist nämlich eigentlich leer,
und der ungebundenste.
--Friedrich Hölderlin, Anmerkungen zum Oedipus
More information about the Mercurial
mailing list