skerit / romcollectionbrowser

Automatically exported from code.google.com/p/romcollectionbrowser
GNU General Public License v2.0
0 stars 0 forks source link

You cannot use pysqlite2 while depending on version 2.0 of the xbmc.python api. Please use sqlite3 instead #103

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.install xbmb on a system with pysqllite3
2.try to start rcb

won't start and gives the following error in log

You cannot use pysqlite2 while depending on version 2.0 of the xbmc.python api. 
Please use sqlite3 instead

Original issue reported on code.google.com by dek...@gmail.com on 11 Mar 2012 at 4:33

GoogleCodeExporter commented 8 years ago
Which version of RCB are you using? 

This should not happen if you use the stable version from the Eden repo. Maybe 
there is an issue with the current test version from the projects page. I have 
to check whats happening, but I never had issues like this.

Original comment by maloep on 13 Mar 2012 at 6:25

GoogleCodeExporter commented 8 years ago
Hi,

I am indeed using the stable from eden repo, with a svn edition of xbmc.

Greetings,
Jeroen

Original comment by dek...@gmail.com on 13 Mar 2012 at 6:25

GoogleCodeExporter commented 8 years ago
Then this looks like an error with your xbmc setup. RCB always tries to load 
sqlite3 first. Only when this is not available (like on Dharma) it tries to 
load pysqlite2.

There are only two places in the code where RCB loads these modules: 
gamedatabase.py and util.py. Try to change the lib loading code to this (remove 
the try/except block):

from sqlite3 import dbapi2 as sqlite
Logutil.log("Loading sqlite3 as DB engine", util.LOG_LEVEL_INFO)

I guess you will get a "Can't load sqlite3" error after doing this.

Original comment by maloep on 14 Mar 2012 at 6:59

GoogleCodeExporter commented 8 years ago
Hi,

sorry for the late answer, it now says:

19:37:46 T:139990416226048 ERROR: Error Contents: No module named sqlite3

but strangly enough i have it installed.
probably some version problem somwhere, i often have problems with python
on gentoo, it often goes haywire after updates.

Greetings,
Jeroen

Original comment by dek...@gmail.com on 19 Mar 2012 at 6:41

GoogleCodeExporter commented 8 years ago

Original comment by maloep on 22 Dec 2012 at 12:34

GoogleCodeExporter commented 8 years ago

Original comment by maloep on 22 Nov 2013 at 6:45