Modify ↓
Opened 19 years ago
Closed 19 years ago
#5054 closed defect (invalid)
svn_fs_revision_root() takes exactly 3 arguments (2 given)
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | general | Version: | 0.10.3.1 |
| Severity: | critical | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
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__
self.sync()
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 , 19 years ago
| Description: | modified (diff) |
|---|---|
| Resolution: | → invalid |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



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.