Bzr Error: missing sqlite library

Bug #534548 reported by Sina Salek
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar Windows Installers
Fix Released
High
Ian Clatworthy

Bug Description

I'm unable to use bazaar due to the following error.
Platform : Windows 7
Bazaar : bzr-2.1.0-2 (Standalone)
-------------------------------------------------------
0.110 looking for plugins in D:/Users/.../AppData/Roaming/bazaar/2.0/plugins
0.110 looking for plugins in C:/Program Files/Bazaar/plugins
0.406 opening working tree 'D:/Users/.../New folder'
[ 4008] 2010-03-08 21:15:33.469 WARNING: Needs at least Python2.5 or Python2.4 with the pysqlite2 module
0.500 Traceback (most recent call last):
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\commands.py", line 166, in run
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\commands.py", line 292, in _qbzr_run
  File "bzrlib\lazy_import.pyo", line 122, in __call__
  File "bzrlib\lazy_import.pyo", line 89, in _replace
  File "bzrlib\lazy_import.pyo", line 192, in _import
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\add.py", line 26, in <module>
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\treewidget.py", line 33, in <module>
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\log.py", line 47, in <module>
  File "C:/Program Files/Bazaar/plugins\svn\repository.py", line 62, in <module>
  File "C:/Program Files/Bazaar/plugins\svn\cache\__init__.py", line 146, in <module>
  File "C:/Program Files/Bazaar/plugins\svn\cache\sqlitecache.py", line 58, in <module>
BzrError: missing sqlite library

Related branches

Martin Pool (mbp)
affects: bzr → bzr-windows-installers
Revision history for this message
Alexander Belchenko (bialix) wrote :

It seems sqlite now imported lazily in bzr-svn, that's why py2exe did not package it automatically.

Revision history for this message
Sina Salek (sinasalek) wrote :

Is there anyway to temporary fix it?

Revision history for this message
Irongut (irongut) wrote :

Sina Salek > "Is there anyway to temporary fix it?"

Reinstall with the "Subversion Integration" item not selected. As long as you don't need bzr-svn support everything else will work perfectly on Windows 7.

Didn't spot this when I was testing the 2.1.0-2 installer against various flavours of Windows yesterday because I dont install bzr-svn.

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 534548] Re: Bzr Error: missing sqlite library

Sina Salek пишет:
> Is there anyway to temporary fix it?

IMO: Rollback to 2.1.0-1 installer and install bzr-explorer 1.0.1 from dedicated installer.

Revision history for this message
Sina Salek (sinasalek) wrote :

Both solutions worked. I decided to disable subversion integration since i don't need it right now and didn't want to download bazaar again.

Thanks guys

Revision history for this message
Ian Clatworthy (ian-clatworthy) wrote :

Alexander,

What's the fix for this? Do I simply add something like ...

    packages.append('sqlite')

to def get_svn_py2exe_info(includes, excludes, packages) in setup.py? Is "packages" the right list to append to? Or is it "includes" or something else?

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

Ian Clatworthy пишет:
> Alexander,
>
> What's the fix for this? Do I simply add something like ...
>
> packages.append('sqlite')

I think it's correct way.

> to def get_svn_py2exe_info(includes, excludes, packages) in setup.py? Is
> "packages" the right list to append to? Or is it "includes" or something
> else?

The "packages" is right list.

"includes" used to specify plain python modules.

Revision history for this message
Sina Salek (sinasalek) wrote :

Any update on this guys?

Changed in bzr-windows-installers:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Gary van der Merwe (garyvdm) wrote :

Annotate reveals Ian fixed this. It was one of the last things he committed. :'-(

Changed in bzr-windows-installers:
assignee: nobody → Ian Clatworthy (ian-clatworthy)
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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