Dtavares21 / romcollectionbrowser

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

Error Accessing Database #81

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

I install script and i can configure, but at run reply this error message. 
ERROR ACCESING DATABASE.

I use XBOX and I have tested in lastest SVN nightly versions.

Sorry for my bad english.

Original issue reported on code.google.com by millanel...@gmail.com on 17 Jun 2011 at 12:59

GoogleCodeExporter commented 8 years ago
Can you post an XBMC log file with this error? Which version of the script are 
you using?

Latest RCB version that I completely tested on Xbox was version 0.8.6. Maybe 
try this version and I will check if there is an error in the latest version on 
Xbox.

Original comment by maloep on 18 Jun 2011 at 7:20

GoogleCodeExporter commented 8 years ago
This is the log.

15:41:44 M: 27951104  NOTICE: -->Python Initialized<--
15:41:48 M: 25137152  NOTICE: RCB_INFO: Loading pysqlite2 as DB engine
15:41:50 M: 22859776  NOTICE: RCB: init log level
15:41:50 M: 22839296  NOTICE: RCB: current log level: 2
15:41:50 M: 22839296  NOTICE: RCB_INFO: Loading pysqlite2 as DB engine
15:41:52 M: 22073344  NOTICE: RCB_INFO: Path to configuration file: 
q:\UserData\script_data\script.games.rom.collection.browser\config.xml
15:41:52 M: 22052864   ERROR: CSkinInfo::TranslateResolution invalid resolution 
specified for
15:41:52 M: 22052864  NOTICE: RCB_INFO: Init Rom Collection Browser: 
Q:\scripts\script.games.rom.collection.browser
15:41:52 M: 22044672   ERROR: Error Type: exceptions.UnboundLocalError
15:41:52 M: 22024192   ERROR: Error Contents: local variable 'xbmcaddon' 
referenced before assignment
15:41:52 M: 22024192   ERROR: Traceback (most recent call last):
                                              File "Q:\scripts\script.games.rom.collection.browser\default.py", line 58, in ?
                                                import gui
                                              File "Q:\scripts\script.games.rom.collection.browser\resources\lib\gui.py", line 2103, in ?
                                                main()
                                              File "Q:\scripts\script.games.rom.collection.browser\resources\lib\gui.py", line 2098, in main
                                                ui = UIGameDB("script-Rom_Collection_Browser-main.xml", util.getAddonInstallPath(), "Default", 1)
                                              File "Q:\scripts\script.games.rom.collection.browser\resources\lib\gui.py", line 173, in __init__
                                                addon = xbmcaddon.Addon(id='%s' %util.SCRIPTID)
                                            UnboundLocalError: local variable 'xbmcaddon' referenced before assignment
15:41:52 M: 22003712   ERROR: CLocalizeStrings::ClearBlock: Trying to clear non 
existent block Q:\scripts\script.games.rom.collection.browser

I have tested these version of xbmc for xbmc:

1- Stable 3.0.01
2- Nightly 30894 and 30901

For the log i have used, beta version of collection browser, and 8.6 and 8.7.

Original comment by millanel...@gmail.com on 20 Jun 2011 at 1:46

GoogleCodeExporter commented 8 years ago
Ok. Tested on my own and I got the same error. It was an issue with wrong 
whitespaces in the code files (in case you are interested:))

I uploaded 0.8.12 that fixed the issue for me. Could you please test if it 
works for you?

Original comment by maloep on 21 Jun 2011 at 7:27

GoogleCodeExporter commented 8 years ago
Thanks, now the script run perfect. No errors.

Original comment by millanel...@gmail.com on 22 Jun 2011 at 1:39

GoogleCodeExporter commented 8 years ago

Original comment by maloep on 23 Jun 2011 at 7:15