[Python-apps-team] Bug#823252: TypeError: 'Logger' object is not callable

Stephen Crowley crow at canaccord.com
Mon May 2 18:15:04 UTC 2016


Package: trac
Version: 1.0.9+dfsg-1
Severity: important

The source code and diff viewer no longer work, getting this error

==== How to Reproduce ====

While doing a GET operation on
/changeset/ccf909d8ffdd0071ce3a7c71955835f30120fcae/project, Trac
issued an internal error.

''(please provide additional details here)''

Request parameters:
{{{
{'new': u'ccf909d8ffdd0071ce3a7c71955835f30120fcae', 'new_path':
u'/project'}
}}}

User agent: #USER_AGENT#
==== System Information ====
''System information not available''

==== Enabled Plugins ====
''Plugin information not available''

==== Python Traceback ====
{{{
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 554,
in _dispatch_request
    dispatcher.dispatch(req)
      File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line
247, in dispatch
    resp = chosen_handler.process_request(req)
      File
"/usr/lib/python2.7/dist-packages/trac/versioncontrol/web_ui/changeset.py",
line 353, in process_request
    self._render_html(req, repos, chgset, restricted, xhr, data)
      File
"/usr/lib/python2.7/dist-packages/trac/versioncontrol/web_ui/changeset.py",
line 427, in _render_html
    revprops = chgset.get_properties()
      File "/usr/lib/python2.7/dist-packages/tracext/hg/backend.py",
line 1254, in get_properties
    tags = self.get_tags()
      File "/usr/lib/python2.7/dist-packages/tracext/hg/backend.py",
line 1316, in get_tags
    return [self.repos.to_u(t) for t in self.ctx.tags()]
      File "/usr/lib/python2.7/dist-packages/mercurial/context.py",
line 565, in tags
    return self._repo.nodetags(self._node)
      File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py",
line 793, in nodetags
    if not self._tagscache.nodetagscache:
      File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line
723, in __get__
    result = self.func(obj)
      File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py",
line 717, in _tagscache
    cache.tags, cache.tagtypes = self._findtags()
      File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py",
line 754, in _findtags
    tagsmod.findglobaltags(self.ui, self, alltags, tagtypes)
      File "/usr/lib/python2.7/dist-packages/mercurial/tags.py", line
101, in findglobaltags
    (heads, tagfnode, valid, cachetags, shouldwrite) =
_readtagcache(ui, repo)
  File "/usr/lib/python2.7/dist-packages/mercurial/tags.py", line 367,
in _readtagcache
    fnodescache.hitcount, fnodescache.lookupcount, duration)
    TypeError: 'Logger' object is not callable
    }}}
    
-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-1-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages trac depends on:
ii  libjs-excanvas           0.r3-4
ii  libjs-jquery             1.11.3+dfsg-4
ii  libjs-jquery-timepicker  1.2-1
ii  libjs-jquery-ui          1.10.1+dfsg-1
ii  python-genshi            0.7-5
ii  python-pkg-resources     20.7.0-1
ii  python-setuptools        20.7.0-1
pn  python:any               <none>

Versions of packages trac recommends:
ii  apache2 [httpd]    2.4.18-2
ii  python-babel       1.3+dfsg.1-6
ii  python-docutils    0.12+dfsg-1
ii  python-pygments    2.1+dfsg-1
ii  python-subversion  1.9.3-3
ii  python-tz          2015.7+dfsg-0.1

Versions of packages trac suggests:
pn  libapache2-mod-wsgi    <none>
pn  python-psycopg2        <none>
pn  python-textile         <none>
ii  trac-accountmanager    0.4.3-2
pn  trac-authopenid        <none>
pn  trac-bitten            <none>
pn  trac-bzr               <none>
pn  trac-customfieldadmin  <none>
ii  trac-email2trac        2.8.8-1
ii  trac-graphviz          0.7.5-1.1
pn  trac-ja-resource       <none>
ii  trac-mastertickets     3.0.2+20111224-2
ii  trac-mercurial         1.0.0.3+hg8df754d9b36a-1.1
pn  trac-spamfilter        <none>
pn  trac-wikiprint         <none>
pn  trac-wikirename        <none>
ii  trac-wysiwyg           0.12.0.3+r10725-1
ii  trac-xmlrpc            1.1.2+r10706-1

-- no debconf information

----------------------------------------------------------------------
This message is intended only for the use of the individual or entity to which it is addressed and may contain information which is privileged, confidential or subject to copyright. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses. The information contained in this e-mail is drawn from sources believed to be reliable, but the accuracy and completeness of the information is not guaranteed, nor in providing it does Canaccord Genuity Corp. or its subsidiaries, or affiliated companies, "The Firm" assume any liability. 

Canaccord Genuity Corp., its subsidiaries or affiliated companies, disclaims all responsibility and accepts no liability (including negligence) for the consequences for any person acting, or refraining from acting, on such information. Unless otherwise stated, this transmission is neither an offer nor the solicitation of an offer to sell or purchase any investment. As a solicitation, this e-mail was intended for distribution in those jurisdictions where The Firm is registered as advisors or dealers in securities. Any unauthorized use, disclosure, distribution or copying of this communication by anyone other than the intended recipient is strictly prohibited. 

When addressed to our clients, any opinions or advice contained in this email are subject to the terms and conditions expressed in the governing Canaccord Genuity Corp., its subsidiaries or affiliated companies' client agreements.  If you have received this message in error, please notify us immediately by return email and destroy and delete the message from your computer.  (Disclaimer)



More information about the Python-apps-team mailing list