Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#4165 closed defect (duplicate)

SVN Browse Error

Reported by: mrichmond@… Owned by: Christian Boos
Priority: normal Milestone:
Component: version control Version: 0.10.2
Severity: normal Keywords: svn python
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

When I try and browse the SVN source code repository for a project using Trac I get the following error message below.

Installed Sotware Versions:

  • Trac - 0.10.2
  • Python - 2.4
  • Swig - 1.3.25
  • SVN - 1.4

Note: I am able to successfully run "import svn.repos" from the python command line, so I think python-svn is properly setup. I am also running trac using mod_python, but I get the same error message when I use the standalone version.

Trac Error Message:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 238, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py", line 95, in process_request
    repos = self.env.get_repository(req.authname)
  File "/usr/lib/python2.4/site-packages/trac/env.py", line 195, in get_repository
    return RepositoryManager(self).get_repository(authname)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 86, in get_repository
    repos = self._connector.get_repository(rtype, rdir, authname)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 259, in get_repository
    repos = SubversionRepository(dir, None, self.log)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 281, in __init__
    self.pool = Pool()
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 158, in __init__
    self._pool = core.svn_pool_create(self._parent_pool())
  File "/usr/lib/python2.4/site-packages/svn/core.py", line 177, in svn_pool_create
    return Pool(parent_pool)
  File "/usr/lib/python2.4/site-packages/libsvn/core.py", line 1098, in svn_pool_create
    return apply(_core.svn_pool_create, args)
TypeError: argument number 1: a 'apr_pool_t *' is expected, 'PySwigObject(_p_apr_pool_t)' is received

Attachments (0)

Change History (2)

comment:1 by Alec Thomas, 18 years ago

Description: modified (diff)

Correcting formatting.

comment:2 by Christian Boos, 18 years ago

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

See the infamous #2611 and the corresponding discussion in TracSubversion#TracandSubversion1.3.1.

Modify Ticket

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