Edgewall Software

Ticket #4165 (closed defect: duplicate)

Opened 2 years ago

Last modified 2 years ago

SVN Browse Error

Reported by: mrichmond@… Owned by: cboos
Priority: normal Milestone:
Component: version control Version: 0.10.2
Severity: normal Keywords: svn python
Cc:

Description (last modified by cboos) (diff)

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

Change History

Changed 2 years ago by athomas

  • description modified (diff)

Correcting formatting.

Changed 2 years ago by cboos

  • status changed from new to closed
  • resolution set to duplicate
  • description modified (diff)

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

Add/Change #4165 (SVN Browse Error)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cboos. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.