Opened 15 years ago
Closed 15 years ago
#8397 closed defect (wontfix)
TypeError: previous_rev() takes exactly 2 arguments (3 given)
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | version control | Version: | 0.11.1 |
Severity: | normal | Keywords: | needinfo |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /changeset/196
, Trac issued an internal error.
The link is obtained from the Timeline. When I try to see the changeset, I get an error page instead.
Request parameters:
{'new': u'196'}
User Agent was: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.11) Gecko/2009060309 Ubuntu/9.04 (jaunty) Firefox/3.0.11
System Information
Trac | 0.11.1
|
Python | 2.6.2 (release26-maint, Apr 19 2009, 02:11:59) [GCC 4.3.3]
|
setuptools | 0.6c9
|
SQLite | 3.6.10
|
pysqlite | 2.5.0
|
Genshi | 0.5.1
|
mod_python | 3.3.1
|
Pygments | 0.10
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 423, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 197, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.6/dist-packages/trac/versioncontrol/web_ui/changeset.py", line 323, in process_request self._render_html(req, repos, chgset, restricted, xhr, data) File "/usr/lib/python2.6/dist-packages/trac/versioncontrol/web_ui/changeset.py", line 406, in _render_html prev_rev = repos.previous_rev(chgset.rev) File "/usr/lib/python2.6/dist-packages/trac/versioncontrol/cache.py", line 248, in previous_rev return self.repos.previous_rev(rev, path) TypeError: previous_rev() takes exactly 2 arguments (3 given)
Attachments (0)
Change History (5)
follow-ups: 3 4 comment:1 by , 15 years ago
Component: | general → version control |
---|
comment:2 by , 15 years ago
Keywords: | needinfo added |
---|
comment:3 by , 15 years ago
Replying to cboos:
Seems to be a duplicate of #7310. Which SCM backend are you using?
Perforce specifically "TracPerforce 0.5dev"
follow-up: 5 comment:4 by , 15 years ago
comment:5 by , 15 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Replying to hef@…:
Replying to cboos:
Seems to be a duplicate of #7310. Which SCM backend are you using?
I tried the solution for perforce in #7310, however the error did not change
Make sure you modified the file that gets really used by the server and/or restart the server.
Anyway, this is a PluginIssue, see TH:PerforcePlugin and in particular #TH2338.
Seems to be a duplicate of #7310. Which SCM backend are you using?