jesseeazzymoney / romcollectionbrowser

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

XBMC Live - Script closes immediately after opening #94

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Start Script
2.
3.

What is the expected output? What do you see instead?

xbmc.log

'/home/brad/.xbmc/addons/script.games.rom.collection.browser/icon.png' as 
'b/b39363ba.png' full size
11:19:51 T:2877242224    INFO: Caching image from: 
/home/brad/.xbmc/addons/script.games.rom.collection.browser/icon.png to 
special://masterprofile/Thumbnails/b/b39363ba.png
11:19:52 T:2908711792   DEBUG: ### [Qlock] - Delaying 3 secs
11:19:52 T:2992630640    INFO: EpgContainer - RemoveOldEntries - removing old 
EPG entries
11:19:52 T:6164400   DEBUG: LIRC: Update - NEW at 86483:0200002800000000 00 
#KEY_OK MCE_via_iMON (#KEY_OK)
11:19:52 T:6164400   DEBUG: OnKey: 11 (0b) pressed, action is Select
11:19:52 T:6164400    INFO: initializing python engine.
11:19:52 T:6164400   DEBUG: new python thread created. id=6
11:19:52 T:2767178608   DEBUG: Thread XBPyThread start, auto delete: 0
11:19:52 T:2767178608   DEBUG: Python thread: start processing
11:19:52 T:2767178608  NOTICE: -->Python Interpreter Initialized<--
11:19:52 T:2767178608   DEBUG: Process - The source file to load is 
/home/brad/.xbmc/addons/script.games.rom.collection.browser/default.py
11:19:52 T:2767178608   DEBUG: Process - Setting the Python path to 
/home/brad/.xbmc/addons/script.games.rom.collection.browser:/home/brad/.xbmc/add
ons/script.module.cryptopy/lib:/home/brad/.xbmc/addons/script.module.demjson/lib
:/home/brad/.xbmc/addons/script.module.simplejson/lib:/home/brad/.xbmc/addons/sc
ript.module.beautifulsoup/lib:/usr/share/xbmc/addons/script.module.pil/lib:/home
/brad/.xbmc/addons/script.common.plugin.cache/lib:/home/brad/.xbmc/addons/script
.module.mechanize/lib:/home/brad/.xbmc/addons/script.module.parsedom/lib:/home/b
rad/.xbmc/addons/script.module.elementtree/lib:/usr/share/xbmc/addons/script.mod
ule.pysqlite/lib:/usr/lib/python2.6:/usr/lib/python2.6/plat-linux2:/usr/lib/pyth
on2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload:/usr/lib/
python2.6/dist-packages:/usr/lib/pymodules/python2.6:/usr/local/lib/python2.6/di
st-packages:
@       
11:19:52 T:2767178608   DEBUG: Process - Entering source directory 
/home/brad/.xbmc/addons/script.games.rom.collection.browser
11:19:52 T:2767178608   DEBUG: Instantiating addon using automatically obtained 
id of "script.games.rom.collection.browser" dependent on version 1.0 of the 
xbmc.python api
11:19:52 T:2767178608  NOTICE: RCB_INFO: Loading sqlite3 as DB engine
11:19:52 T:2767178608  NOTICE: RCB: init log level
11:19:52 T:2767178608  NOTICE: RCB: current log level: 2
11:19:52 T:2767178608  NOTICE: RCB_INFO: Loading sqlite3 as DB engine
11:19:52 T:2767178608  NOTICE: RCB_INFO: Path to configuration file: 
/home/brad/.xbmc/userdata/addon_data/script.games.rom.collection.browser/config.
xml
11:19:52 T:2767178608  NOTICE: RCB_INFO: XBMC version: Assuming we are on Eden
11:19:52 T:2767178608  NOTICE: RCB_INFO: Init Rom Collection Browser: 
/home/brad/.xbmc/addons/script.games.rom.collection.browser
11:19:52 T:2767178608  NOTICE: RCB_INFO: RCB version: 0.9.3
11:19:52 T:2767178608  NOTICE: RCB_INFO: RCB service addon: <xbmcaddon.Addon 
object at 0xb661700>
11:19:52 T:2767178608    INFO: Loading skin file: DialogYesNo.xml
11:19:52 T:2767178608   DEBUG: Load DialogYesNo.xml: 26.03ms
11:19:52 T:6164400   DEBUG: ------ Window Init (DialogYesNo.xml) ------
11:19:52 T:6164400   DEBUG: Alloc resources: 0.01ms (0.00 ms skin load)
11:19:53 T:2992630640    INFO: EpgContainer - RemoveOldEntries - removing old 
EPG entries
11:19:54 T:2908711792   DEBUG: ### [Qlock] - Delaying 3 secs
11:19:54 T:2992630640    INFO: EpgContainer - RemoveOldEntries - removing old 
EPG entries
11:19:56 T:2908711792    INFO: Previous line repeats 1 times.
11:19:56 T:2908711792   DEBUG: ### [Qlock] - Delaying 3 secs
11:19:56 T:2992630640    INFO: EpgContainer - RemoveOldEntries - removing old 
EPG entries
11:19:56 T:6164400   DEBUG: LIRC: Update - NEW at 90220:0200004f00000000 00 
KEY_RIGHT MCE_via_iMON (KEY_RIGHT)
11:19:56 T:6164400   DEBUG: OnKey: 168 (a8) pressed, action is Right
11:19:57 T:6164400   DEBUG: LIRC: Update - NEW at 90994:0200002800000000 00 
#KEY_OK MCE_via_iMON (#KEY_OK)
11:19:57 T:6164400   DEBUG: OnKey: 11 (0b) pressed, action is Select
11:19:57 T:2992630640    INFO: EpgContainer - RemoveOldEntries - removing old 
EPG entries
11:19:57 T:6164400   DEBUG: ------ Window Deinit (DialogYesNo.xml) ------
11:19:57 T:6164400   DEBUG: Activating window ID: 13000
11:19:58 T:6164400   DEBUG: ------ Window Deinit (MyPrograms.xml) ------
11:19:58 T:6164400   DEBUG: ------ Window Init 
(/home/brad/.xbmc/addons/script.games.rom.collection.browser/resources/skins/Def
ault/720p/script-Rom_Collection_Browser-main.xml) ------
11:19:58 T:6164400    INFO: Loading skin file: 
/home/brad/.xbmc/addons/script.games.rom.collection.browser/resources/skins/Defa
ult/720p/script-Rom_Collection_Browser-main.xml
11:19:58 T:2908711792   DEBUG: ### [Qlock] - Delaying 3 secs
11:19:58 T:6164400   ERROR: Error evaluating boolean expression 
$INFO[ListItem.Property(isfavorite)] == 1
11:19:58 T:6164400   DEBUG: Load 
/home/brad/.xbmc/addons/script.games.rom.collection.browser/resources/skins/Defa
ult/720p/script-Rom_Collection_Browser-main.xml: 42.33ms
11:19:58 T:6164400   DEBUG: Alloc resources: 77.63ms (42.57 ms skin load)
11:19:58 T:6164400   ERROR: Control 500 in window 13000 has been asked to 
focus, but it can't
11:19:58 T:6164400   ERROR: Control 500 in window 13000 has been asked to 
focus, but it can't
11:19:58 T:2767178608  NOTICE: RCB_INFO: Begin onInit
11:19:58 T:2992630640    INFO: EpgContainer - RemoveOldEntries - removing old 
EPG entries
11:19:58 T:6164400   DEBUG: Activating window ID: 10001
11:19:58 T:6164400   DEBUG: ------ Window Deinit 
(/home/brad/.xbmc/addons/script.games.rom.collection.browser/resources/skins/Def
ault/720p/script-Rom_Collection_Browser-main.xml) ------
11:19:58 T:6164400   DEBUG: Connecting to 
sqlite:/home/brad/.xbmc/userdata/Database/:MyPrograms3.db
11:19:58 T:6164400   DEBUG: ------ Window Init (MyPrograms.xml) ------
11:19:58 T:6164400    INFO: Loading skin file: MyPrograms.xml
11:19:58 T:6164400   DEBUG: Connecting to 
sqlite:/home/brad/.xbmc/userdata/Database/:ViewModes4.db
11:19:58 T:6164400   DEBUG: Load MyPrograms.xml: 63.79ms
11:19:58 T:6164400   DEBUG: Alloc resources: 67.85ms (65.02 ms skin load)
11:19:58 T:6164400   DEBUG: CGUIMediaWindow::GetDirectory 
(addons://sources/executable/)
11:19:58 T:6164400   DEBUG:   ParentPath = [addons://sources/executable/]
11:19:58 T:6164400   DEBUG: Connecting to 
sqlite:/home/brad/.xbmc/userdata/Database/:ViewModes4.db
11:19:58 T:2814303088   DEBUG: Previous line repeats 2 times.
11:19:58 T:2814303088   DEBUG: Thread Background Loader start, auto delete: 0
11:19:58 T:2814303088   DEBUG: Connecting to 
sqlite:/home/brad/.xbmc/userdata/Database/:Textures6.db
11:19:58 T:2814303088 WARNING: CreateLoader - Unsupported protocol(addons) in 
addons://more/executable.tbn
11:19:58 T:2814303088   DEBUG: Thread Background Loader 2814303088 terminating
11:19:58 T:2798648176   DEBUG: Thread Background Loader start, auto delete: 0
11:19:58 T:2798648176   DEBUG: Thread Background Loader 2798648176 terminating
11:19:58 T:2756688752   DEBUG: Thread Background Loader start, auto delete: 0
11:19:58 T:2756688752   DEBUG: Thread Background Loader 2756688752 terminating
11:19:58 T:2877242224   DEBUG: GetImageHash - unable to stat url
11:19:58 T:2767178608    INFO: Scriptresult: Success
11:19:58 T:6164400   ERROR: ClearBlock: Trying to clear non existent block 
/home/brad/.xbmc/addons/script.games.rom.collection.browser
11:19:58 T:2767178608    INFO: Python script stopped
11:19:58 T:2767178608   DEBUG: Thread XBPyThread 2767178608 terminating
11:19:58 T:6164400   DEBUG: waiting for python thread 6 to stop
11:19:58 T:6164400   DEBUG: python thread 6 destructed
11:19:59 T:2992630640    INFO: EpgContainer - RemoveOldEntries - removing old 
EPG entries
11:20:00 T:2908711792   DEBUG: ### [Qlock] - Delaying 240 secs
11:20:00 T:2992630640    INFO: EpgContainer - RemoveOldEntries - removing old 
EPG entries
11:20:28 T:6164400    INFO: Previous line repeats 28 times.
11:20:28 T:6164400   DEBUG: SECTION:UnloadDelayed(DLL: 
special://xbmcbin/system/ImageLib-i486-linux.so)
11:20:28 T:6164400   DEBUG: Unloading: ImageLib-i486-linux.so
11:20:29 T:2992630640    INFO: EpgContainer - RemoveOldEntries - removing old 
EPG entries
11:20:30 T:2877242224   DEBUG: Thread Jobworker 2877242224 terminating 
(autodelete)
11:20:30 T:2777668464   DEBUG: Thread Jobworker 2777668464 terminating 
(autodelete)
11:20:30 T:2788158320   DEBUG: Thread Jobworker 2788158320 terminating 
(autodelete)
11:20:30 T:2992630640    INFO: EpgContainer - RemoveOldEntries - removing old 
EPG entries

What version of the product are you using? On what operating system?
0.9.3 (RCB Service 0.1.0)

Please provide any additional information below.

It looks like the Scripts main screen starts on the screen for a millisecond 
and then closes.

Original issue reported on code.google.com by wazzub...@gmail.com on 17 Nov 2011 at 6:30

GoogleCodeExporter commented 8 years ago
Strange. Looks like there is a problem with loading the DialogYesNo. Do you see 
a Dialog with a question on startup?

Can you try to reproduce this and set RCB to debug mode in addon settings?

Original comment by maloep on 21 Nov 2011 at 2:05

GoogleCodeExporter commented 8 years ago
There is no Dialog that shows itself. I need to update my info for you as well. 
Aeon MQ3 is my skin and marcos recently updated his skin to include a menu item 
for Rom Collection Browser as you are probably aware. So when I select Rom 
Collection Browser and run it, a message pops up that says, 

"Rom Collection Browser Cancelling in progress. Import is still being 
cancelled, please try again later"

Here is xbmc.log after turning on debug.

07:59:32 T:13634176   DEBUG: OnKey: down (f081) pressed, action is Down
07:59:33 T:2992630640    INFO: EpgContainer - RemoveOldEntries - removing old 
EPG entries
07:59:33 T:13634176   DEBUG: SDLKeyboard: scancode: 74, sym: 0112, unicode: 
0000, modifier: 0
07:59:33 T:13634176   DEBUG: OnKey: down (f081) pressed, action is Down
07:59:33 T:13634176   DEBUG: SDLKeyboard: scancode: 24, sym: 000d, unicode: 
000d, modifier: 0
07:59:33 T:13634176   DEBUG: OnKey: return (f00d) pressed, action is Select
07:59:33 T:13634176    INFO: initializing python engine.
07:59:33 T:13634176   DEBUG: new python thread created. id=5
07:59:33 T:2758781808   DEBUG: Thread XBPyThread start, auto delete: 0
07:59:33 T:2758781808   DEBUG: Python thread: start processing
07:59:33 T:2758781808  NOTICE: -->Python Interpreter Initialized<--
07:59:33 T:2758781808   DEBUG: Process - The source file to load is 
/home/brad/.xbmc/addons/script.games.rom.collection.browser/default.py
07:59:33 T:2758781808   DEBUG: Process - Setting the Python path to 
/home/brad/.xbmc/addons/script.games.rom.collection.browser:/home/brad/.xbmc/add
ons/script.module.cryptopy/lib:/home/brad/.xbmc/addons/script.module.demjson/lib
:/home/brad/.xbmc/addons/script.module.simplejson/lib:/home/brad/.xbmc/addons/sc
ript.module.beautifulsoup/lib:/usr/share/xbmc/addons/script.module.pil/lib:/home
/brad/.xbmc/addons/script.common.plugin.cache/lib:/home/brad/.xbmc/addons/script
.module.mechanize/lib:/home/brad/.xbmc/addons/script.module.parsedom/lib:/home/b
rad/.xbmc/addons/script.module.elementtree/lib:/usr/share/xbmc/addons/script.mod
ule.pysqlite/lib:/usr/lib/python2.6:/usr/lib/python2.6/plat-linux2:/usr/lib/pyth
on2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload:/usr/lib/
python2.6/dist-packages:/usr/lib/pymodules/python2.6:/usr/local/lib/python2.6/di
st-packages:
07:59:33 T:2758781808   DEBUG: Process - Entering source directory 
/home/brad/.xbmc/addons/script.games.rom.collection.browser
07:59:33 T:2758781808   DEBUG: Instantiating addon using automatically obtained 
id of "script.games.rom.collection.browser" dependent on version 1.0 of the 
xbmc.python api
07:59:33 T:2758781808  NOTICE: RCB_INFO: Loading sqlite3 as DB engine
07:59:33 T:2758781808  NOTICE: RCB: init log level
07:59:33 T:2758781808  NOTICE: RCB: current log level: 3
07:59:33 T:2758781808  NOTICE: RCB_INFO: Loading sqlite3 as DB engine
07:59:33 T:2758781808  NOTICE: RCB_INFO: Path to configuration file: 
/home/brad/.xbmc/userdata/addon_data/script.games.rom.collection.browser/config.
xml
07:59:33 T:2758781808  NOTICE: RCB_INFO: XBMC version: Assuming we are on Eden
07:59:33 T:2758781808  NOTICE: RCB_INFO: Init Rom Collection Browser: 
/home/brad/.xbmc/addons/script.games.rom.collection.browser
07:59:33 T:2758781808  NOTICE: RCB_INFO: RCB version: 0.9.4
07:59:33 T:2758781808   ERROR: Use of deprecated functionality. Please to not 
assume that "os.getcwd" will return the script directory.
07:59:33 T:2758781808  NOTICE: RCB_INFO: RCB service addon: <xbmcaddon.Addon 
object at 0xa43a680>
07:59:33 T:2758781808    INFO: Loading skin file: DialogOK.xml
07:59:33 T:2758781808   DEBUG: Load DialogOK.xml: 1.14ms
07:59:33 T:13634176   DEBUG: ------ Window Init (DialogOK.xml) ------
07:59:33 T:13634176   DEBUG: Alloc resources: 0.01ms (0.00 ms skin load)
07:59:34 T:2992630640    INFO: EpgContainer - RemoveOldEntries - removing old 
EPG entries

Original comment by wazzub...@gmail.com on 21 Nov 2011 at 3:00

GoogleCodeExporter commented 8 years ago
Ok. This looks like you enabled "Background scraping on XBMC startup" and the 
scrape process is still in progress. Or RCB thinks it is still in progress. You 
could try to deactivate this option and try again. If this does not help you 
could try to delete RCBs settings file (settings.xml) in the userdata folder.

Original comment by maloep on 21 Nov 2011 at 4:31

GoogleCodeExporter commented 8 years ago

Original comment by maloep on 19 Dec 2011 at 4:20

GoogleCodeExporter commented 8 years ago

Original comment by maloep on 21 Nov 2013 at 7:05