sqlite3.OperationalError when checking out a SVN trunk

Bug #901853 reported by trident_job
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
New
Undecided
Unassigned

Bug Description

I'm trying to branch from this SVN link :
http://delphi-spring-framework.googlecode.com/svn/trunk/

BUT I'have a 'sqlite3.OperationalError'.
I'm using TortoizeBzr v2.5b3 under WinXP.
I can checkout other SVN module without any issue.

Tags: svn
Revision history for this message
trident_job (trident-job) wrote :
Download full text (3.5 KiB)

Traceback

Run command: bzr checkout http://delphi-spring-framework.googlecode.com/svn/trunk/ D:\Projets\Imported\delphi-spring-framework.trunk
Initialising Subversion metadata cache in C:\Documents and Settings\trident\Local Settings\Application Data\svn-cache\c195d644-9fae-11de-9cf1-ad53e26fafa2.
bzr: ERROR: sqlite3.OperationalError: unable to open database file

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 923, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1128, in run_bzr
  File "bzrlib\commands.pyo", line 676, in run_argv_aliases
  File "bzrlib\commands.pyo", line 698, in run
  File "bzrlib\cleanup.pyo", line 135, in run_simple
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\commands.py", line 822, in run
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\subprocess.py", line 887, in run_subprocess_command
  File "bzrlib\commands.pyo", line 1128, in run_bzr
  File "bzrlib\commands.pyo", line 676, in run_argv_aliases
  File "bzrlib\commands.pyo", line 698, in run
  File "bzrlib\cleanup.pyo", line 135, in run_simple
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "bzrlib\builtins.pyo", line 1460, in run
  File "bzrlib\controldir.pyo", line 750, in open_tree_or_branch
  File "bzrlib\controldir.pyo", line 434, in _get_tree_branch
  File "C:/Program Files/Bazaar/plugins\svn\remote.py", line 505, in open_branch
  File "C:/Program Files/Bazaar/plugins\svn\remote.py", line 437, in _determine_relpath
  File "C:/Program Files/Bazaar/plugins\svn\repository.py", line 729, in get_layout
  File "C:/Program Files/Bazaar/plugins\svn\repository.py", line 748, in get_layout_source
  File "C:/Program Files/Bazaar/plugins\svn\repository.py", line 771, in _find_guessed_layout
  File "C:/Program Files/Bazaar/plugins\svn\layout\guess.py", line 147, in repository_guess_layout
  File "C:/Program Files/Bazaar/plugins\svn\layout\guess.py", line 154, in logwalker_guess_layout
  File "C:/Program Files/Bazaar/plugins\svn\logwalker.py", line 277, in iter_changes
  File "C:/Program Files/Bazaar/plugins\svn\logwalker.py", line 371, in _fetch_revisions
  File "C:/Program Files/Bazaar/plugins\svn\transport.py", line 501, in get_log
  File "C:/Program Files/Bazaar/plugins\svn\logwalker.py", line 208, in __call__
  File "C:/Program Files/Bazaar/plugins\svn\cache\sqlitecache.py", line 365, in insert_paths
  File "C:/Program Files/Bazaar/plugins\svn\cache\sqlitecache.py", line 405, in insert_revprops
  File "C:/Program Files/Bazaar/plugins\svn\cache\sqlitecache.py", line 110, in executemany
OperationalError: unable to open database file

bzr 2.5b3 on python 2.6.6 (Windows-XP-5.1.2600-SP3)
arguments: ['C:\\Program Files\\Bazaar\\bzr.exe', 'qsubprocess', '--bencode',
    'l8:checkout56:http://delphi-spring-
    framework.googlecode.com/svn/trunk/49:D:\\Projets\\Imported\\delphi-
    spring-framework.trunke']
plugins: bzrtools[2.4.1], changelog_merge[2.5b3], colo[0.3.1dev],
    explorer[1.2.1], fastimport[0.12.0dev], git[0.6.6dev], launchpad[2.5b3],
    loom[2.2.1dev], netrc_credential_store[2.5b3], news_merge[2.5b3],
    pipeline[1.1.0], qbzr[0.22.0dev], rewri...

Read more...

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

This happens on Windows when you have multiple instances of bzr trying to access the same repository.

Revision history for this message
trident_job (trident-job) wrote :
Download full text (3.3 KiB)

Same issue with bzr v2.5b4

Run command: bzr checkout http://delphi-spring-framework.googlecode.com/svn/trunk/ D:\Projets\Imported\delphi-spring-framework.trunk
bzr: ERROR: sqlite3.OperationalError: unable to open database file

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 923, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1128, in run_bzr
  File "bzrlib\commands.pyo", line 676, in run_argv_aliases
  File "bzrlib\commands.pyo", line 698, in run
  File "bzrlib\cleanup.pyo", line 135, in run_simple
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\commands.py", line 822, in run
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\subprocess.py", line 887, in run_subprocess_command
  File "bzrlib\commands.pyo", line 1128, in run_bzr
  File "bzrlib\commands.pyo", line 676, in run_argv_aliases
  File "bzrlib\commands.pyo", line 698, in run
  File "bzrlib\cleanup.pyo", line 135, in run_simple
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "bzrlib\builtins.pyo", line 1464, in run
  File "bzrlib\controldir.pyo", line 749, in open_tree_or_branch
  File "bzrlib\controldir.pyo", line 433, in _get_tree_branch
  File "C:/Program Files/Bazaar/plugins\svn\remote.py", line 505, in open_branch
  File "C:/Program Files/Bazaar/plugins\svn\remote.py", line 437, in _determine_relpath
  File "C:/Program Files/Bazaar/plugins\svn\repository.py", line 729, in get_layout
  File "C:/Program Files/Bazaar/plugins\svn\repository.py", line 748, in get_layout_source
  File "C:/Program Files/Bazaar/plugins\svn\repository.py", line 771, in _find_guessed_layout
  File "C:/Program Files/Bazaar/plugins\svn\layout\guess.py", line 147, in repository_guess_layout
  File "C:/Program Files/Bazaar/plugins\svn\layout\guess.py", line 154, in logwalker_guess_layout
  File "C:/Program Files/Bazaar/plugins\svn\logwalker.py", line 277, in iter_changes
  File "C:/Program Files/Bazaar/plugins\svn\logwalker.py", line 362, in _fetch_revisions
  File "C:/Program Files/Bazaar/plugins\svn\transport.py", line 501, in get_log
  File "C:/Program Files/Bazaar/plugins\svn\logwalker.py", line 208, in __call__
  File "C:/Program Files/Bazaar/plugins\svn\cache\sqlitecache.py", line 381, in insert_paths
  File "C:/Program Files/Bazaar/plugins\svn\cache\sqlitecache.py", line 110, in executemany
OperationalError: unable to open database file

bzr 2.5b4 on python 2.6.6 (Windows-XP-5.1.2600-SP3)
arguments: ['C:\\Program Files\\Bazaar\\bzr.exe', 'qsubprocess', '--bencode',
    'l8:checkout56:http://delphi-spring-
    framework.googlecode.com/svn/trunk/49:D:\\Projets\\Imported\\delphi-
    spring-framework.trunke']
plugins: bzrtools[2.4.1], changelog_merge[2.5b4], colo[0.3.1dev],
    explorer[1.2.1], fastimport[0.12.0dev], git[0.6.6dev], launchpad[2.5b4],
    loom[2.2.1dev], netrc_credential_store[2.5b4], news_merge[2.5b4],
    pipeline[1.1.0], qbzr[0.22.0dev], rewrite[0.6.3dev], svn[1.1.1],
    upload[1.0.1dev], xmloutput[0.8.8]
encoding: 'cp1252', fsenc: 'mbcs', lang: 'en'

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by fili...

Read more...

Jelmer Vernooij (jelmer)
affects: bzr → bzr-svn
Revision history for this message
trident_job (trident-job) wrote :

>>> when you have multiple instances of bzr trying to access the same repository

I reboot my PC, a tried again.
I don't see what you called 'multiple instances'. I've done only one checkout, nothing else.
What do you mean by that ?

Revision history for this message
Martin Packman (gz) wrote :

Have you tried doing the checkout using just bzr at the command line, rather than through qbzr?

Revision history for this message
trident_job (trident-job) wrote :

Yes, using the command line, the result is the same.

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.