crash on explore svn repo

Bug #522032 reported by dambsst
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Incomplete
Undecided
Unassigned

Bug Description

bzr: ERROR: sqlite3.OperationalError: database is locked

Traceback (most recent call last):
  File "C:/Programme/Bazaar/plugins\qbzr\lib\trace.py", line 286, in reports_exception_decorate
  File "C:/Programme/Bazaar/plugins\qbzr\lib\browse.py", line 145, in load
  File "C:/Programme/Bazaar/plugins\svn\branch.py", line 430, in last_revision_info
  File "C:/Programme/Bazaar/plugins\svn\branch.py", line 441, in revision_id_to_revno
  File "C:/Programme/Bazaar/plugins\svn\revmeta.py", line 531, in get_revno
  File "C:/Programme/Bazaar/plugins\svn\revmeta.py", line 344, in get_appropriate_mappings
  File "C:/Programme/Bazaar/plugins\svn\revmeta.py", line 843, in get_original_mapping
  File "C:/Programme/Bazaar/plugins\svn\revmeta.py", line 372, in get_original_mapping
  File "C:/Programme/Bazaar/plugins\svn\revmeta.py", line 683, in _import_from_props
  File "C:/Programme/Bazaar/plugins\svn\revmeta.py", line 367, in revprops_acceptable
  File "C:/Programme/Bazaar/plugins\svn\util.py", line 67, in get
  File "C:/Programme/Bazaar/plugins\svn\util.py", line 29, in _ensure_init
  File "C:/Programme/Bazaar/plugins\svn\logwalker.py", line 206, in _caching_revprop_list
  File "C:/Programme/Bazaar/plugins\svn\cache\sqlitecache.py", line 392, in insert_revprops
OperationalError: database is locked

bzr 2.0.3 on python 2.5.4 (win32)
arguments: ['C:\\Programme\\Bazaar\\bzr.exe', 'qbrowse', 'https://damien/svn/Sources']
encoding: 'cp1252', fsenc: 'mbcs', lang: 'en_US'
plugins:
  bzrtools C:\Programme\Bazaar\plugins\bzrtools [2.0.1]
  explorer C:\Programme\Bazaar\plugins\explorer [0.8.3]
  launchpad C:\Programme\Bazaar\plugins\launchpad [2.0.3]
  netrc_credential_store C:\Programme\Bazaar\plugins\netrc_credential_store [2.0.3]
  qbzr C:\Programme\Bazaar\plugins\qbzr [0.14.5]
  rebase C:\Programme\Bazaar\plugins\rebase [0.5.4]
  svn C:\Programme\Bazaar\plugins\svn [1.0.2]
  upload C:\Programme\Bazaar\plugins\upload [1.0.0dev]
  xmloutput C:\Programme\Bazaar\plugins\xmloutput [0.8.5]

Revision history for this message
Gary van der Merwe (garyvdm) wrote :

Jelmer: any comments on what we could be doing wrong here? Should we be locking something that we are not?

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Hi Gary,

You can' t access a svn branch from more than one process if you're using the sqlite cache.

Revision history for this message
dambsst (dambsst) wrote :

Hello,

I have reported this bug because the software asked me to do so.... Honestly I am not able to find out what is happening.....

For information I've created repositories in my company with Visual SVN Server, and I was just trying to "explore" their content using bazaar (I really like the GUI).

It crashes everytime I reproduce it.

Maybe it is specific to visual svn server so there is no need to change anything!

Regards,

ps: I have python25 and 31 installed.

Revision history for this message
Gary van der Merwe (garyvdm) wrote :

dambsst: Thanks for the bug report. These bug reports are very valuable to us. Hopefully we will be able to fix this for you soon.

Revision history for this message
Gary van der Merwe (garyvdm) wrote :

Jelmer: Just to clarify, is the sqlite lock per process, or per branch/repo lock?

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 522032] Re: crash on explore svn repo

On Wed, 2010-02-17 at 20:32 +0000, Gary van der Merwe wrote:
> Jelmer: Just to clarify, is the sqlite lock per process, or per
> branch/repo lock?
You can only have a repo open from one process on a particular machine
if you use the sqlite cache.

Cheers,

Jelmer

Revision history for this message
Alexander Belchenko (bialix) wrote :

dambsst, is it possible that you run 2 commands simultaneous, e.g. qbrowse and qlog?

Changed in qbzr:
status: New → Incomplete
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.