Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#9458 closed defect (worksforme)

AttributeError: linkrev

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

Description

How to Reproduce

While doing a GET operation on /browser, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'path': '/'}

User agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.70 Safari/533.4

System Information

Trac 0.12
Genshi 0.6
Mercurial 0.9.5
pysqlite 2.3.2
Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
setuptools 0.6c8
SQLite 3.4.2
jQuery 1.4.2

Enabled Plugins

TracMercurial 0.12.0.22dev-r9826

Python Traceback

Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/trac/web/main.py", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.linux-i686/egg/trac/web/main.py", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/trac/versioncontrol/web_ui/browser.py", line 391, in process_request
    dir_data = self._render_dir(req, repos, node, rev, order, desc)
  File "build/bdist.linux-i686/egg/trac/versioncontrol/web_ui/browser.py", line 535, in _render_dir
    entries = [entry(n) for n in node.get_entries()
  File "build/bdist.linux-i686/egg/tracext/hg/backend.py", line 795, in get_entries
    yield self.subnode(entry, dirnodes.get(entry+"/", None))
  File "build/bdist.linux-i686/egg/tracext/hg/backend.py", line 748, in subnode
    return MercurialNode(self.repos, p, self.n, self.manifest, dirnode)
  File "build/bdist.linux-i686/egg/tracext/hg/backend.py", line 684, in __init__
    self._init_path(log, path)
  File "build/bdist.linux-i686/egg/tracext/hg/backend.py", line 708, 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 Remy Blank, 14 years ago

Resolution: worksforme
Status: newclosed

Your version of Mercurial (0.9.5) is too old, you need at least 1.1.x (see TracMercurial). Please upgrade.

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.