Edgewall Software

Opened 13 years ago

Closed 13 years ago

#5054 closed defect (invalid)

svn_fs_revision_root() takes exactly 3 arguments (2 given)

Reported by: jefferson@… Owned by: Jonas Borgström
Priority: highest Milestone:
Component: general Version:
Severity: critical Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 387, in dispatch_request
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 191, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 263, in _pre_process_request
    chosen_handler = f.pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.3/site-packages/trac/versioncontrol/api.py", line 73, in pre_process_request
    self.get_repository(req.authname) # triggers a sync if applicable
  File "/usr/lib/python2.3/site-packages/trac/versioncontrol/api.py", line 101, in get_repository
    repos = self._connector.get_repository(rtype, rdir, authname)
  File "/usr/lib/python2.3/site-packages/trac/versioncontrol/svn_fs.py", line 260, in get_repository
    crepos = CachedRepository(self.env.get_db_cnx(), repos, None, self.log)
  File "/usr/lib/python2.3/site-packages/trac/versioncontrol/cache.py", line 34, in __init__
  File "/usr/lib/python2.3/site-packages/trac/versioncontrol/cache.py", line 91, in sync
    for path,kind,action,base_path,base_rev in changeset.get_changes():
  File "/usr/lib/python2.3/site-packages/trac/versioncontrol/svn_fs.py", line 649, in get_changes
    editor = repos.RevisionChangeCollector(self.fs_ptr, self.rev, pool())
  File "/usr/lib/python2.3/svn/repos.py", line 234, in __init__
    root = _fs.revision_root(fs_ptr, root)
TypeError: svn_fs_revision_root() takes exactly 3 arguments (2 given)

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 13 years ago

Description: modified (diff)
Resolution: invalid
Status: newclosed

As you can see:

  File "/usr/lib/python2.3/svn/repos.py", line 234, in __init__
    root = _fs.revision_root(fs_ptr, root)

the error is in the Subversion binding itself. More specifically, it's a mismatch between the Python side of the bindings and the C side, due to 2 versions of the bindings being installed and the wrong C libraries being picked up at run time.

See TracSubversion#Troubleshooting for more.

Closing the ticket, as it's an installation issue.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.