[Bug 338429] [NEW] Cache problem: "TypeError: previous_rev() takes exactly 2 arguments (3 given)"

Adam Buchbinder adam.buchbinder at gmail.com
Thu Mar 5 20:41:08 UTC 2009


Public bug reported:

Binary package hint: trac-git

I'm running trac and trac-git, with cached_repository = true. When I try
to view a revision, I get the following error (summarized):

While doing a GET operation on
`/changeset/afc71fcc75bd4287c5d8e41bb28f5bb39f476f8b`, Trac issued an
internal error.

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/changeset.py", line 323, in process_request
    self._render_html(req, repos, chgset, restricted, xhr, data)
  File "/usr/lib/python2.5/site-packages/trac/versioncontrol/web_ui/changeset.py", line 406, in _render_html
    prev_rev = repos.previous_rev(chgset.rev)
  File "/usr/lib/python2.5/site-packages/trac/versioncontrol/cache.py", line 241, in previous_rev
    return self.repos.previous_rev(rev, path)
TypeError: previous_rev() takes exactly 2 arguments (3 given)

I'm running trac 0.11-2 and trac-git 0.0.20080710-1 on Ubuntu Intrepid.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: trac-git 0.0.20080710-1
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
SourcePackage: trac-git
Uname: Linux 2.6.27-11-generic i686

** Affects: trac-git (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug

-- 
Cache problem: "TypeError: previous_rev() takes exactly 2 arguments (3 given)"
https://bugs.launchpad.net/bugs/338429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list