backtraces if a repository is branched simultaneously

Bug #622037 reported by KarlGoetz
This bug report is a duplicate of:  Bug #520694: decent cache format. Edit Remove
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin

Bug Description

trying to run this branch simultaneously (in different windows) results in the second backtracing like this:

11:17:42 kgoetz@epicfail: ~ $ bzr branch svn:// debian-live-installer
bzr: ERROR: sqlite3.OperationalError: database is locked

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 842, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 1037, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 654, in run_argv_aliases
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 1215, in run
    revision_id = br_from.last_revision()
  File "/home/kgoetz/.bazaar/plugins/svn/", line 539, in last_revision
    last_revmeta, mapping = self.last_revmeta()
  File "/home/kgoetz/.bazaar/plugins/svn/", line 293, in last_revmeta
    for revmeta, mapping in self._revision_meta_history():
  File "/home/kgoetz/.bazaar/plugins/svn/", line 142, in next
    return self._next()
  File "/home/kgoetz/.bazaar/plugins/svn/", line 124, in _next
    ret =
  File "/home/kgoetz/.bazaar/plugins/svn/", line 811, in _iter_reverse_revmeta_mapping_history
    (mapping, lhs_mapping) = revmeta.get_appropriate_mappings(mapping)
  File "/home/kgoetz/.bazaar/plugins/svn/", line 392, in get_appropriate_mappings
    original = self.get_original_mapping()
  File "/home/kgoetz/.bazaar/plugins/svn/", line 875, in get_original_mapping
  File "/home/kgoetz/.bazaar/plugins/svn/cache/", line 251, in set_original_mapping
    self.cachedb.execute("insert into original_mapping (path, revnum, original_mapping) values (?, ?, ?)", (foreign_revid[1], foreign_revid[2], orig_mapping_name))
OperationalError: database is locked

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.