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

Patrick PIERRE patrick.pierre at prismallia.fr
Fri Sep 5 23:45:40 CDT 2014


Hi again!

I am trying the 3.1.1 version.

I always have to comment the line number 310 in tags.py to have a fully 
operational system.

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


-------- Message original --------
Sujet: 	TypeError: 'list' object is not callable on tags.py
Date : 	Sun, 24 Aug 2014 10:19:29 +0200
De : 	Patrick PIERRE <patrick.pierre at prismallia.fr>
Organisation : 	Prismallia
Pour : 	mercurial-devel at selenic.com



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/20140906/d2eff008/attachment.html>


More information about the Mercurial-devel mailing list