
noreply at edgewall
Jan 26, 2006, 4:07 PM
Post #20 of 75
(4388 views)
Permalink
|
|
Re: [The Trac Project] #2611: Problem with SVN bindings (SVN 1.3.0, Trac r2771)
[In reply to]
|
|
#2611: Problem with SVN bindings (SVN 1.3.0, Trac r2771) -----------------------------+---------------------------------------------- Reporter: Manuzhai | Owner: cboos Type: defect | Status: new Priority: high | Milestone: 0.9.4 Component: version control | Version: devel Severity: major | Resolution: Keywords: | -----------------------------+---------------------------------------------- Comment (by pjenvey [at] groovie): james - I upgraded to swig 1.3.27, applied your patch and did the whole make extraclean/autogen. Now I am noticing a different, similar error: {{{ Traceback (most recent call last): File "/usr/local/lib/python2.4/site- packages/trac/web/modpython_frontend.py", line 206, in handler dispatch_request(mpr.path_info, mpr, env) File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 107, in dispatch resp = chosen_handler.process_request(req) File "/usr/local/lib/python2.4/site- packages/trac/versioncontrol/web_ui/browser.py", line 91, in process_request repos = self.env.get_repository(req.authname) File "/usr/local/lib/python2.4/site-packages/trac/env.py", line 157, in get_repository authname) File "/usr/local/lib/python2.4/site- packages/trac/versioncontrol/api.py", line 61, in get_repository return self._connector.get_repository(repos_type, repos_dir, authname) File "/usr/local/lib/python2.4/site- packages/trac/versioncontrol/svn_fs.py", line 205, in get_repository repos = SubversionRepository(dir, authz, self.log) File "/usr/local/lib/python2.4/site- packages/trac/versioncontrol/svn_fs.py", line 224, in __init__ self.path = repos.svn_repos_find_root_path(path, self.pool()) File "/usr/local/lib/python2.4/site-packages/libsvn/repos.py", line 43, in svn_repos_find_root_path return apply(_repos.svn_repos_find_root_path, args) TypeError: argument number 2: a 'apr_pool_t *' is expected, 'instance(<libsvn.core.GenericSWIGWrapper instance at 0x8b88f6c>)' is received }}} Instead of seeing the stack trace in my error log (where I saw the original apr_pool_t exception), it shows up on an actual trac "Oops... Trac detected an internal error:" error page. I can't tell if this is due to your patch, the swig upgrade, or both This new error is intermittent like the old one. Occasionally I receive either 404 responses or blank pages instead of the error message. Nothing in the error_log Also: I got the impression the make extraclean/reautogen would end up creating a brand new subversion/includes/svn_types.h file corresponding to your change to svn_types.swg. That was not the case -- the patch was successfully applied, but I ended up with the same svn_types.h file. Let me know if that is actually a problem -- Ticket URL: <http://projects.edgewall.com/trac/ticket/2611> The Trac Project <http://trac.edgewall.com/>
|