TypeError: 'list' object is not callable on tags.py

Patrick PIERRE patrick.pierre at prismallia.fr
Sun Aug 24 03:19:29 CDT 2014


Hi!

I am a developer for PubliForge (http://doc.publiforge.org) and we use 
the Mercurial API.

With the 3.1 version, sometimes we have the following error when we ask 
for a log command:

   File 
"/home/patrick/bin/virtualenv/local/lib/python2.7/site-packages/mercurial-3.1-py2.7-linux-x86_64.egg/mercurial/commands.py", 
line 4187, in log
     displayer.show(ctx, copies=copies, matchfn=revmatchfn)
   File 
"/home/patrick/bin/virtualenv/local/lib/python2.7/site-packages/mercurial-3.1-py2.7-linux-x86_64.egg/mercurial/cmdutil.py", 
line 836, in show
     self._show(ctx, copies, matchfn, props)
   File 
"/home/patrick/bin/virtualenv/local/lib/python2.7/site-packages/mercurial-3.1-py2.7-linux-x86_64.egg/mercurial/cmdutil.py", 
line 873, in _show
     for tag in self.repo.nodetags(changenode):
   File 
"/home/patrick/bin/virtualenv/local/lib/python2.7/site-packages/mercurial-3.1-py2.7-linux-x86_64.egg/mercurial/localrepo.py", 
line 685, in nodetags
     if not self._tagscache.nodetagscache:
   File 
"/home/patrick/bin/virtualenv/local/lib/python2.7/site-packages/mercurial-3.1-py2.7-linux-x86_64.egg/mercurial/util.py", 
line 319, in __get__
     result = self.func(obj)
   File 
"/home/patrick/bin/virtualenv/local/lib/python2.7/site-packages/mercurial-3.1-py2.7-linux-x86_64.egg/mercurial/localrepo.py", 
line 608, in _tagscache
     cache.tags, cache.tagtypes = self._findtags()
   File 
"/home/patrick/bin/virtualenv/local/lib/python2.7/site-packages/mercurial-3.1-py2.7-linux-x86_64.egg/mercurial/localrepo.py", 
line 645, in _findtags
     tagsmod.findglobaltags(self.ui, self, alltags, tagtypes)
   File 
"/home/patrick/bin/virtualenv/local/lib/python2.7/site-packages/mercurial-3.1-py2.7-linux-x86_64.egg/mercurial/tags.py", 
line 60, in findglobaltags
     _writetagcache(ui, repo, heads, tagfnode, alltags)
   File 
"/home/patrick/bin/virtualenv/local/lib/python2.7/site-packages/mercurial-3.1-py2.7-linux-x86_64.egg/mercurial/tags.py", 
line 311, in _writetagcache
     len(heads), len(cachetags))
TypeError: 'list' object is not callable

Do you have any idea about the source of the trouble?

Best regards,

Patrick PIERRE

Prismallia - 2 ter rue des Chantiers - 75005 Paris
Tél. : +33 (0)1 46 34 76 99 - Fax : +33 (0)1 46 34 79 49
Mail  : patrick.pierre at prismallia.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20140824/0cce7367/attachment.html>


More information about the Mercurial-devel mailing list