Modify ↓
#7981 closed defect (fixed)
TypeError: list indices must be integers
| Reported by: | rasmusATflajmDOTcom | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | not applicable |
| Component: | version control/log view | Version: | 0.11.1 |
| Severity: | normal | Keywords: | mercurial, hg, hgext |
| Cc: | androsis@…, macke@… | Branch: | |
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
How to Reproduce
While doing a GET operation on /log/, Trac issued an internal error.
Viewing a changelog-formatted log fails, but viewing it in HTML is no problem.
Request parameters:
{'format': u'changelog',
'limit': u'100',
'mode': u'follow_copy',
'path': u'/',
'stop_rev': u'',
'verbose': u'on'}
User Agent was: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1
System Information
| Trac | 0.11.1
|
| Python | 2.5.2 (r252:60911, Apr 16 2008, 23:58:07) [GCC 4.2.3 (Debian 4.2.3-3)]
|
| setuptools | 0.6c8
|
| SQLite | 3.5.9
|
| pysqlite | 2.4.1
|
| Genshi | 0.5
|
| Pygments | 0.10
|
| Mercurial | 1.1.2
|
| jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 423, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 197, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.5/site-packages/trac/versioncontrol/web_ui/log.py", line 213, in process_request
for cpath, kind, chg, bpath, brev in changeset.get_changes():
File "build/bdist.linux-x86_64/egg/tracext/hg/backend.py", line 849, in get_changes
linkedrev = repo.file(base_path).linkrev(rename_info[1])
File "/var/lib/python-support/python2.5/mercurial/revlog.py", line 504, in linkrev
return self.index[rev][4]
TypeError: list indices must be integers
Attachments (0)
Change History (5)
comment:1 by , 17 years ago
| Milestone: | → not applicable |
|---|---|
| Priority: | normal → high |
comment:2 by , 17 years ago
| Cc: | added |
|---|
Note:
See TracTickets
for help on using tickets.



I can reproduce this. Thanks for the report.