Opened 18 years ago
Closed 16 years ago
#5048 closed defect (worksforme)
Cannot operate on a closed database
Reported by: | Emmanuel Blot | Owned by: | Christian Boos |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | admin/console | Version: | devel |
Severity: | trivial | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
There is a small issue with trac-admin
when upgrade is followed by a resync command.
This is a very minor issue as exiting/restarting the administration console bypasses the issue.
python2.4 trac/admin/console.py /local/db/trac/project Welcome to trac-admin 0.11dev-r208 Interactive Trac administration console. Copyright (c) 2003-2007 Edgewall Software Type: '?' or 'help' for help on commands. Trac [/local/db/trac/project]> upgrade Upgrade done. Trac [/local/db/trac/project]> resync Resyncing repository history... Command failed: Cannot operate on a closed database. Trac [/local/db/trac/project]> quit
r208 here matches [5148].
Attachments (0)
Change History (6)
follow-up: 2 comment:1 by , 18 years ago
Milestone: | → 0.10.4 |
---|---|
Owner: | changed from | to
Priority: | lowest → normal |
comment:2 by , 18 years ago
Replying to cboos:
Btw, 0.11dev-r208, does that mean you're a happy SVK user? ;-)
Not at all, I've never used SVK.
However as our Trac is a bit "customized" (the kind of customization that is hard to achieve with plugins) I maintain a SVN repository for our Trac, and the official Trac repos is mirrored in a local vendor branch with the help of svn:external
s. I sync our repos with Trac's about once a week (which means that we use the latest Trac 0.11dev for real in a 9 people C++ dev team).
follow-up: 4 comment:3 by , 18 years ago
Back to the issue… it's strange, I couldn't reproduce this, nor do I see an obvious "close" on the db. What backend are you using? Is this 100% reproducible for you?
comment:4 by , 18 years ago
Replying to cboos:
Back to the issue… it's strange, I couldn't reproduce this, nor do I see an obvious "close" on the db. What backend are you using? Is this 100% reproducible for you?
The config is SQLite 3, FSFS, Subversion 1.4.2, Python 2.4, Linux/Debian. The repositories have "real" 1.4.2 repository (I mean that I've dump&recreated them when I've upgraded to SVN 1.4.x, in order to take advantage of the embedded changeset compression of the 1.4 series).
There are about 2500 changesets in the repository, and the 'resync' took quite a while (about 15 minutes), while the 'upgrade' took about 1 minute.
Fully reproducible I can't tell, as I had only one repository to sync.
comment:5 by , 18 years ago
Milestone: | 0.10.4 → 0.10.5 |
---|
comment:6 by , 16 years ago
Milestone: | 0.10.6 |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Well, looks like nobody else ever had that issue, closing.
Ok, noted.
Btw, 0.11dev-r208, does that mean you're a happy SVK user? ;-)