Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#8100 closed defect (wontfix)

AttributeError: linkrev

Reported by: uyar Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.3
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /changeset/3:731f503ec855, Trac issued an internal error.

Trac can not access the mercurial repository on this setup.

Request parameters:

{'new': u'3:731f503ec855'}

User Agent was: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020410 Fedora/3.0.6-1.fc10 Firefox/3.0.6

System Information

Trac 0.11.3
Python 2.5.2 (r252:60911, Jul 31 2008, 18:03:07)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
setuptools 0.6c8
SQLite 3.4.2
pysqlite 2.3.2
Genshi 0.5.1
mod_python 3.3.1
Mercurial 0.9.5
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/web/main.py", line 435, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/web/main.py", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/versioncontrol/web_ui/changeset.py", line 323, in process_request
    self._render_html(req, repos, chgset, restricted, xhr, data)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/versioncontrol/web_ui/changeset.py", line 542, in _render_html
    for old_node, new_node, kind, change in get_changes():
  File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/versioncontrol/web_ui/changeset.py", line 372, in get_changes
    old_node = repos.get_node(opath, orev)
  File "build/bdist.linux-sparc64/egg/tracext/hg/backend.py", line 447, in get_node
    return MercurialNode(self, self.normalize_path(path), self.hg_node(rev))
  File "build/bdist.linux-sparc64/egg/tracext/hg/backend.py", line 595, in __init__
    self._init_path(log, path)
  File "build/bdist.linux-sparc64/egg/tracext/hg/backend.py", line 619, in _init_path
    log_rev = self.filectx.linkrev()
  File "/var/lib/python-support/python2.5/mercurial/context.py", line 190, in __getattr__
    raise AttributeError, name
AttributeError: linkrev

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 15 years ago

Resolution: wontfix
Status: newclosed
Mercurial 0.9.5

Sorry, this version is no longer supported by the 0.11 and 0.12 branches of the TracMercurial plugin.

That version is quite old anyway (2, 3 years?), you should upgrade to 1.1.2 (and Mercurial 1.2 is about to be released).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.