Problem with version 1.3.2 mercurial package on Fedora
Mads Kiilerich
mads at kiilerich.com
Sat Jul 18 03:52:46 CDT 2009
Peter Williams wrote, On 07/18/2009 08:09 AM:
> On 18/07/09 15:54, Peter Williams wrote:
>
>> I get this (or similar) for all commands (except 'help') that I've tried
>> since updating to version 1.3.2.
>>
>> [peter at mudlark testrepo]$ hg tags
>> ** unknown exception encountered, details follow
>> ** report bug details to http://mercurial.selenic.com/bts/
>> ** or mercurial at selenic.com
>> ** Mercurial Distributed SCM (version 1.3)
>>
Just to avoid confusion: There is no Mercurial 1.3.2 - there is a Fedora
package mercurial-1.3-2 which is the second version of Mercurial 1.3
packaging.
>> ** Extensions loaded: hgk, mq, patchbomb, extdiff, convert, graphlog,
>> purge, inotify, pbranch
>>
Try to disable all plugins. Especially the pbranch extension which isn't
a part of Mercurial and thus could be a incompatible version.
>> Traceback (most recent call last):
>> File "/usr/bin/hg", line 27, in<module>
>> mercurial.dispatch.run()
>> File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line
>> 16, in run
>> sys.exit(dispatch(sys.argv[1:]))
>> File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line
>> 27, in dispatch
>> return _runcatch(u, args)
>> File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line
>> 43, in _runcatch
>> return _dispatch(ui, args)
>> File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line
>> 428, in _dispatch
>> repo = hg.repository(ui, path=path)
>> File "/usr/lib64/python2.6/site-packages/mercurial/hg.py", line 63, in
>> repository
>> repo = _lookup(path).instance(ui, path, create)
>> File "/usr/lib64/python2.6/site-packages/mercurial/localrepo.py", line
>> 2187, in instance
>> return localrepository(ui, util.drop_scheme('file', path), create)
>> File "/usr/lib64/python2.6/site-packages/mercurial/localrepo.py", line
>> 29, in __init__
>> self.opener = util.opener(self.path)
>> File "/usr/lib64/python2.6/site-packages/mercurial/util.py", line 808,
>> in __init__
>> self.audit_path = path_auditor(base)
>> File "/usr/lib64/python2.6/site-packages/mercurial/util.py", line 476,
>> in __init__
>> self.audited = set()
>> File "/usr/lib64/python2.6/site-packages/mercurial/demandimport.py",
>> line 71, in __call__
>> raise TypeError("%s object is not callable" % repr(self))
>> TypeError:<unloaded module 'set'> object is not callable
>>
'set' is a builtin, so it seems strange that it suddenly has become a
demandloaded module. Perhaps you have a local change which has "import set"?
>> [peter at mudlark testrepo]$ rpm -q mercurial
>> mercurial-1.3-2.fc11.x86_64
>>
>>
That package works fine here, so it must be something special in your setup.
> I cloned http://selenic.com/repo/hg did a 'make local' and tried some
> commands with the same results as reported above.
>
> This was on a Fedora 11 x86_64 system. A quick check on a Fedora 11 i386
> system did not display the same problem so it would appear to be a 64bit
> problem.
>
That must be because it was another setup.
/Mads
More information about the Mercurial
mailing list