Opened 16 years ago
Closed 16 years ago
#8024 closed defect (fixed)
SubversionException: ("Wyst\xc4\x85pi\xc5\x82 b\xc5\x82\xc4\x85d bazy danych Berkeley DB dla systemu plik\xc3\xb3w '/var/lib/svn/repo/db' podczas otwierania \xc5\x9brodowiska:\n", 160029)
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | 0.11.3 |
Component: | version control | Version: | 0.11.1 |
Severity: | normal | Keywords: | svn |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /login
, Trac issued an internal error.
(please provide additional details here)
System Information
Trac | 0.11.1
|
Python | 2.4.4 (#1, Oct 22 2008, 19:49:52) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)]
|
setuptools | 0.6c8
|
SQLite | 3.3.8
|
pysqlite | 2.3.3
|
Genshi | 0.5.1
|
mod_python | 3.2.10
|
Subversion | 1.5.1 (r32289)
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 423, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 173, in dispatch chosen_handler) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 286, in _pre_process_request chosen_handler = filter_.pre_process_request(req, chosen_handler) File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 86, in pre_process_request self.get_repository(req.authname).sync() File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 157, in get_repository repos = self._connector.get_repository(rtype, rdir, authname) File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 279, in get_repository {'tags': self.tags, File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 401, in __init__ self.repos = repos.svn_repos_open(self.path, self.pool()) File "/var/lib/python-support/python2.4/libsvn/repos.py", line 53, in svn_repos_open return apply(_repos.svn_repos_open, args) SubversionException: ("Wyst\xc4\x85pi\xc5\x82 b\xc5\x82\xc4\x85d bazy danych Berkeley DB dla systemu plik\xc3\xb3w '/var/lib/svn/repo/db' podczas otwierania \xc5\x9brodowiska:\n", 160029)
Attachments (1)
Change History (5)
comment:1 by , 16 years ago
Component: | general → version control |
---|---|
Keywords: | svn added |
Milestone: | → 0.11.4 |
comment:2 by , 16 years ago
SubversionException: ("Berkeley DB error for filesystem /var/lib/svn/repo/db while opening environment:\n", 160029)
This is subversion bug. I'm using DAV extension to access subversionapache and I can exclude Trac from suspicion. Navigating to http://localhost/svn produces: Error #160029: Could not open the requested SVN filesystem
I've used svnadmin recover /var/lib/svn/repo and everything looks fine, but wont work. svnadmin verify /var/lib/svn/repo confirms all the commited transactions.
I'm using db4.4. apr-utils and subversion are linked against it. Repository format is also compatible with 4.4.
Don't know howto trace this SVN issue, but it's for sure not Trac specific. Please close this ticket as I couldn't do it.
comment:3 by , 16 years ago
Milestone: | 0.11.4 → 0.11.3 |
---|---|
Owner: | set to |
Status: | new → assigned |
Thanks for the update.
I don't close the ticket yet, as I think we shouldn't let this SubversionException go through.
by , 16 years ago
Attachment: | t8024-trap-svn-exc-r7824.patch added |
---|
trap this kind of SubversionException
Well, here we see that localizing error messages is a bad idea… could you translate it for us, please?
From the "Berkeley DB" part of it, I guess it's an incompatibility at that level (e.g. the bdb library currently used is older than the one used for creating the svn db; this might happen if you're using httpd and have a different set of apr libraries than svn).
In any case, regardless of the actual svn issue (see TracSubversion#Troubleshooting for help in this area), Trac shouldn't fail with an internal error in this situation.