bzr-svn aborts instead of waiting if its sqlite DB is locked
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Subversion Plugin |
Fix Released
|
Low
|
Jelmer Vernooij | ||
Launchpad itself |
Fix Released
|
High
|
Jelmer Vernooij |
Bug Description
While running "bzr qlog" against a particular SVN repository, I also did an "svn-import"
C:\code\comical>bzr svn-import https:/
Using repository layout: trunk0
bzr: ERROR: sqlite3.
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
OperationalError: database is locked
bzr 2.1.1 on python 2.5.4 (Windows-
arguments: ['bzr', 'svn-import', 'https:/
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files\Bazaar\
explorer C:\Program Files\Bazaar\
launchpad C:\Program Files\Bazaar\
netrc_
news_merge C:\Program Files\Bazaar\
qbzr C:\Program Files\Bazaar\
rebase C:\Program Files\Bazaar\
svn C:\Program Files\Bazaar\
upload C:\Program Files\Bazaar\
xmloutput C:\Program Files\Bazaar\
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
This is hardly ideal, though at least each SVN repository has its own cache database...
Related branches
- bzr-svn developers: Pending requested
-
Diff: 473 lines (+127/-52)5 files modifiedNEWS (+3/-0)
cache/__init__.py (+5/-0)
cache/sqlitecache.py (+58/-33)
logwalker.py (+34/-7)
revmeta.py (+27/-12)
- Curtis Hovey (community): Approve (code)
-
Diff: 71 lines (+14/-14)2 files modifiedutilities/sourcedeps.cache (+13/-13)
utilities/sourcedeps.conf (+1/-1)
Changed in bzr-svn: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Jelmer Vernooij (jelmer) |
Changed in bzr-svn: | |
assignee: | nobody → Jelmer Vernooij (jelmer) |
status: | Triaged → In Progress |
Changed in launchpad: | |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Changed in bzr-svn: | |
status: | In Progress → Fix Committed |
milestone: | none → 1.1.0 |
Changed in bzr-svn: | |
status: | Fix Committed → Fix Released |
You can work around this by installing python-tdb, but unfortunately that doesn't work on windows.