Closed GoogleCodeExporter closed 8 years ago
What XBMC and OS are you using?
Can you check the xbmc.log for an error message?
Original comment by maloep
on 24 May 2011 at 2:27
XBMC is PRE-11.0 & Git:20110515-8b3a9fc
OS is Darwin 11.0.0 & Darwin Kernel is the same
AppleTV SW is 4.2.2
Original comment by WhitishC...@gmail.com
on 25 May 2011 at 11:50
I am not sure if the script will run on the ATV. But I know there are users
that have it running with Mac OS.
Could you please check what the log file says when you try to start RCB?
On ATV you should find the log file here: /Users/<username>/Library/Logs/
On ATV2 it is here: /private/var/mobile/Library/Preferences/xbmc.log
Original comment by maloep
on 26 May 2011 at 5:31
thanks for the more info... hopefully you can make sense of this.
sorry i made it error several times so it was easier to locate in the xbmc.log
so i most likely posted duplicate info.
just incase i attached the whole log, i'd start from the bottom at 01:52:02 and
go up you should start to notice right away..
TypeError: XML File for Window is missing
01:51:56 T:183939072 M:115687424 INFO: -->End of Python script error
report<--
01:51:56 T:95264768 M:115687424 DEBUG: ------ Window Init
(DialogKaiToast.xml) ------
01:51:56 T:95264768 M:115687424 INFO: Texture bundle has changed, reloading
01:51:56 T:95264768 M:115687424 DEBUG: Cleanup - Closed bundle
01:51:56 T:95264768 M:115671040 INFO: Texture bundle has changed, reloading
01:51:56 T:95264768 M:115671040 DEBUG: Cleanup - Closed bundle
01:51:56 T:183939072 M:115281920 INFO: Python script stopped
01:51:56 T:183939072 M:115281920 DEBUG: Thread Python Thread 183939072
terminating
01:51:56 T:95264768 M:115281920 DEBUG: waiting for python thread 15 to stop
01:51:56 T:95264768 M:115294208 DEBUG: python thread 15 destructed
01:51:57 T:95264768 M:115294208 INFO: initializing python engine.
01:51:57 T:95264768 M:115294208 DEBUG: new python thread created. id=16
01:51:57 T:183939072 M:115290112 DEBUG: Thread XBPyThread start, auto delete:
0
01:51:57 T:183939072 M:115290112 DEBUG: Python thread: start processing
01:51:58 T:183939072 M:115281920 NOTICE: -->Python Interpreter Initialized<--
01:51:58 T:183939072 M:115281920 DEBUG: Process - The source file to load is
/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/
default.py
01:51:58 T:183939072 M:115281920 DEBUG: Process - Setting the Python path to
/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser:
/var/mobile/Library/Preferences/XBMC/addons/script.module.simplejson/lib:/var/mo
bile/Library/Preferences/XBMC/addons/script.module.beautifulsoup/lib:/private/va
r/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pil
/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.elementtree/lib:/
private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.
module.pysqlite/lib:/var/stash/Applications/XBMC.frappliance/Frameworks:/var/sta
sh/Applications/XBMC.frappliance/Frameworks/lib/python26.zip:/var/stash/Applicat
ions/XBMC.frappliance/Frameworks/lib/python2.6:/var/stash/Applications/XBMC.frap
pliance/Frameworks/lib/python2.6/plat-darwin:/var/stash/Applications/XBMC.frappl
iance/Frameworks/lib/python2.6/plat-mac:/var/stash/Applications/XBMC.frappliance
/Frameworks/lib/python2.6/plat-mac/lib-scriptpackages:/var/stash/Applications/XB
MC.frappliance/Frameworks/lib/python2.6/lib-tk:/var/stash/Applications/XBMC.frap
pliance/Frameworks/lib/python2.6/lib-old:/var/stash/Applications/XBMC.frapplianc
e/Frameworks/lib/python2.6/lib-dynload:/var/stash/Applications/XBMC.frappliance/
Frameworks/lib/python2.6/site-packages:
01:51:58 T:183939072 M:115281920 DEBUG: Process - Entering source directory
/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser
01:51:58 T:183939072 M:115281920 DEBUG: Instantiating addon using
automatically obtained id of "script.games.rom.collection.browser" dependent on
version 1.0 of the xbmc.python api
01:51:58 T:183939072 M:115281920 ERROR:
/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/
default.py:27: DeprecationWarning: os.getcwd() currently lies to you so please
use addon.getAddonInfo('path') to find the script's root directory and DO NOT
make relative path accesses based on the results of 'os.getcwd.'
BASE_RESOURCE_PATH = os.path.join( os.getcwd(), "resources" )
01:51:58 T:183939072 M:115277824 ERROR:
/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script
.module.pysqlite/lib/pysqlite2/__init__.py:34: UserWarning: DeprecationWarning:
the pysqlite2 module is deprecated; please change your script to use sqlite3.
warnings.warn("DeprecationWarning: the pysqlite2 module is deprecated; please change your script to use sqlite3.")
01:52:01 T:183939072 M:115277824 NOTICE: RCB: init log level
01:52:01 T:183939072 M:115277824 NOTICE: RCB: current log level: 2
01:52:01 T:183939072 M:115277824 NOTICE: RCB_INFO: Path to configuration file:
/var/mobile/Library/Preferences/XBMC/userdata/addon_data/script.games.rom.collec
tion.browser/config.xml
01:52:01 T:183939072 M:115265536 INFO: Loading skin includes from
/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/
resources/skins/Default/PAL/includes.xml
01:52:01 T:183939072 M:115265536 INFO: Error loading includes.xml file
(/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser
/resources/skins/Default/PAL/includes.xml): Failed to open file (row=0, col=0)
01:52:01 T:183939072 M:115265536 INFO: -->Python script returned the
following error<--
01:52:01 T:183939072 M:115265536 ERROR: Error Type: <type
'exceptions.TypeError'>
01:52:01 T:183939072 M:115265536 ERROR: Error Contents: XML File for Window
is missing
01:52:01 T:183939072 M:115265536 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/default.py", line 48, in <module>
import gui
File "/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/resources/lib/gui.py", line 2097, in <module>
main()
File "/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/resources/lib/gui.py", line 2089, in main
ui = UIGameDB("script-Rom_Collection_Browser-main.xml", util.getAddonInstallPath(), "Default", "PAL")
TypeError: XML File for Window is missing
01:52:01 T:183939072 M:115265536 INFO: -->End of Python script error
report<--
01:52:01 T:183939072 M:115269632 INFO: Python script stopped
01:52:01 T:183939072 M:115269632 DEBUG: Thread Python Thread 183939072
terminating
01:52:01 T:95264768 M:115269632 DEBUG: waiting for python thread 16 to stop
01:52:01 T:95264768 M:115286016 DEBUG: python thread 16 destructed
01:52:01 T:95264768 M:115286016 INFO: initializing python engine.
01:52:01 T:95264768 M:115286016 DEBUG: new python thread created. id=17
01:52:01 T:183939072 M:115277824 DEBUG: Thread XBPyThread start, auto delete:
0
01:52:01 T:183939072 M:115277824 DEBUG: Python thread: start processing
01:52:01 T:183939072 M:115277824 NOTICE: -->Python Interpreter Initialized<--
01:52:01 T:183939072 M:115277824 DEBUG: Process - The source file to load is
/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/
default.py
01:52:01 T:183939072 M:115277824 DEBUG: Process - Setting the Python path to
/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser:
/var/mobile/Library/Preferences/XBMC/addons/script.module.simplejson/lib:/var/mo
bile/Library/Preferences/XBMC/addons/script.module.beautifulsoup/lib:/private/va
r/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pil
/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.elementtree/lib:/
private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.
module.pysqlite/lib:/var/stash/Applications/XBMC.frappliance/Frameworks:/var/sta
sh/Applications/XBMC.frappliance/Frameworks/lib/python26.zip:/var/stash/Applicat
ions/XBMC.frappliance/Frameworks/lib/python2.6:/var/stash/Applications/XBMC.frap
pliance/Frameworks/lib/python2.6/plat-darwin:/var/stash/Applications/XBMC.frappl
iance/Frameworks/lib/python2.6/plat-mac:/var/stash/Applications/XBMC.frappliance
/Frameworks/lib/python2.6/plat-mac/lib-scriptpackages:/var/stash/Applications/XB
MC.frappliance/Frameworks/lib/python2.6/lib-tk:/var/stash/Applications/XBMC.frap
pliance/Frameworks/lib/python2.6/lib-old:/var/stash/Applications/XBMC.frapplianc
e/Frameworks/lib/python2.6/lib-dynload:/var/stash/Applications/XBMC.frappliance/
Frameworks/lib/python2.6/site-packages:
01:52:01 T:183939072 M:115277824 DEBUG: Process - Entering source directory
/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser
01:52:01 T:183939072 M:115277824 DEBUG: Instantiating addon using
automatically obtained id of "script.games.rom.collection.browser" dependent on
version 1.0 of the xbmc.python api
01:52:02 T:183939072 M:115277824 ERROR:
/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/
default.py:27: DeprecationWarning: os.getcwd() currently lies to you so please
use addon.getAddonInfo('path') to find the script's root directory and DO NOT
make relative path accesses based on the results of 'os.getcwd.'
BASE_RESOURCE_PATH = os.path.join( os.getcwd(), "resources" )
Original comment by WhitishC...@gmail.com
on 27 May 2011 at 9:02
Attachments:
Sorry, looks like a problem with the new XBMC version. RCB is not yet made
compatible with this version. I will work on Eden compatibility in the next
weeks.
Could you please check if you find the file:
/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/
resources/skins/Default/PAL/script-Rom_Collection_Browser-main.xml
Original comment by maloep
on 27 May 2011 at 6:01
yes i do see it
Original comment by WhitishC...@gmail.com
on 28 May 2011 at 9:42
Strange. No idea. Did you ever run RCB on Dharma on the ATV? Did it work?
There are two components that I don't know if they are working with RCB: ATV
and Eden. I will start to work on an Eden compatible release in the next weeks.
Maybe this will do the job for you. But I am not sure if it will run on ATV
then.
Original comment by maloep
on 30 May 2011 at 1:23
this is my first time running ATV and jailbreak so it's also my first time
trying RCB
well keep me updated
i'd love to get this going, haha got roms/emu's on my iphone but the screen is
so small.
playing them on the big screen would be awesome
Original comment by WhitishC...@gmail.com
on 3 Jun 2011 at 7:19
There is a new version of RCB compatible with Eden:
http://romcollectionbrowser.googlecode.com/files/script.games.rom.collection.bro
wser-0.8.7-eden.zip
Maybe you can check if this version will do for you. But again, I have no idea
if this will work on ATV anyway.
Only some features won't work that rely on autoexec.py. That is launching games
in solo mode and background scraping on XBMC startup.
Original comment by maloep
on 3 Jun 2011 at 7:40
i'll try it out, can't hurt
i don't know if it helps or not but i just ran into a script error on icefilms
movie section and they ended up changing the default.py for the
video.plugins.icefilms section.
i guess they added a fix and had u download the default.py and replace the old
one and seemed to correct the error
maybe something similar u can do?
Original comment by WhitishC...@gmail.com
on 4 Jun 2011 at 8:26
I guess the icefilms error is something else. Can you try one more thing?
It seems that I read the error message not good enough. It complains about a
missing "includes.xml" in
"/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser
/resources/skins/Default/PAL". Can you try to create a dummy file with this
name?
I am not sure if this has changed in the current XBMC version. I never used the
includes-file before.
Original comment by maloep
on 5 Jun 2011 at 6:44
i should have time tomorrow to install ur 0.8.7 beta and try creating the dummy
file
will post back the results
Original comment by WhitishC...@gmail.com
on 8 Jun 2011 at 5:53
How old is your XBMC version? There seemed to be an error in XBMC in older
nightly builds (beginning of may I guess). I guess this should be fixed with
the current builds.
Original comment by maloep
on 9 Jun 2011 at 10:47
I'm running xbmc 2:11.0~git20110608.d8cd454-0ubuntu1~ppa1~natty
Updated yesterday, so it's a pretty current 11.0 pre-eden build and I have this
exact same issue.
Dummy include file didn't solve it. (includes.xml with only
<includes></includes>)
Here's the report with the dummy file:
15:59:57 T:2569743216 M:2934075392 NOTICE: RCB_INFO: Path to configuration
file:
/home/kfs/.xbmc/userdata/addon_data/script.games.rom.collection.browser/config.x
ml
15:59:57 T:2569743216 M:2934075392 INFO: Loading skin includes from
/home/kfs/.xbmc/addons/script.games.rom.collection.browser/resources/skins/Defau
lt/PAL/includes.xml
15:59:57 T:2569743216 M:2934075392 INFO: -->Python script returned the
following error<--
15:59:57 T:2569743216 M:2934075392 ERROR: Error Type: <type
'exceptions.TypeError'>
15:59:57 T:2569743216 M:2934075392 ERROR: Error Contents: XML File for Window
is missing
15:59:57 T:2569743216 M:2934075392 ERROR: Traceback (most recent call last):
File "/home/kfs/.xbmc/addons/script.games.rom.collection.browser/default.py", line 58, in <module>
import gui
File "/home/kfs/.xbmc/addons/script.games.rom.collection.browser/resources/lib/gui.py", line 2105, in <module>
main()
File "/home/kfs/.xbmc/addons/script.games.rom.collection.browser/resources/lib/gui.py", line 2097, in main
ui = UIGameDB("script-Rom_Collection_Browser-main.xml", util.getAddonInstallPath(), "Default", "PAL")
TypeError: XML File for Window is missing
15:59:57 T:2569743216 M:2934075392 INFO: -->End of Python script error
report<--
Original comment by carlos.f...@gmail.com
on 9 Jun 2011 at 2:01
Forgot to add, i'm using rom.collectionbrowser 0.8.10
Original comment by carlos.f...@gmail.com
on 9 Jun 2011 at 2:14
ok i tried your 0.8.7-eden build and when installed it actually shows up as
0.8.9
and still have a script error when trying to run it
it installed fine
i tried the dummy file and still no luck
my XBMC version is PRE-11.0
Original comment by WhitishC...@gmail.com
on 10 Jun 2011 at 1:44
I maed a request in this XBMC thread:
http://forum.xbmc.org/showthread.php?p=814963
Maybe XBMC devs have an idea.
Original comment by maloep
on 10 Jun 2011 at 7:55
One more test please: As described in the thread, can you rename the PAL folder
to 720p? If RCB will start it will look ugly, but just to make sure that it is
the same issue.
Original comment by maloep
on 11 Jun 2011 at 5:04
renamed the PAL folder to 720p and it actually popped up a thing stating it
couldn't find a config file and if i would like to create one so i said yes.
now its asking for game and artwork info. now im getting an option for
platforms.
does this mean i now have to find emulators and install them?
i've got a nestopia emulator but not sure which folder it goes in.
do i dl games too and then add them to the same folder as nestopia?
Original comment by WhitishC...@gmail.com
on 11 Jun 2011 at 7:07
Yes, now you have to setup emulators and co. See here how it works in general:
http://code.google.com/p/romcollectionbrowser/wiki/FirstUse
Not sure how it is done on ATV2. Again, the resolution of the addon will be
smashed because of the 720p thing. Don't expect too much for now. Either XBMC
has to fix the bug with the folder name or I have to provide the addon in 720p
resolution. Both will happen in the weeks to come I hope.
Original comment by maloep
on 11 Jun 2011 at 7:57
after it says it couldn't find a config file and if i would like to create one
so i said yes then judging by your firstuse video in the link above i just
selected a random emulator option in here and skip on through the rest so i
didn't get a chance to look for my emulator or roms..
is there a folder on my ATV2 now that i can ssh emulators into and roms?
because i didn't do the emulator part correctly after creating the config file
all i see is my categories, ie: Consoles, Genre, Year... under those it says
All and everything is blank/empty
Original comment by WhitishC...@gmail.com
on 12 Jun 2011 at 7:12
Sorry, I don't know how it works on ATV2.
The process should be like this:
1. Outside XBMC: install and configure an emulator, find out how to launch the
emulator from command line, check the paths to your roms, create a folder that
will store the artwork for your games
2. In RCB proceed like shown in the video
When you skipped the steps during the wizard, you can relaunch it every time by
selecting "Add Rom Collection" from context menu.
Again, I can't help you to install and use emulators on ATV2. You have to find
it out yourself.
Original comment by maloep
on 13 Jun 2011 at 1:44
Hi,
tried to install it on my XBMC
(2:11.0-pvr+odk40~git20110530.615e173-0ubuntu1~ppa+odk40~maverick, running on a
Ubuntu 10.10 x86_64). Installation went ok, but when I try to open the app I
get a script error message in XBMC's surface and this log entry in the logfile:
20:27:19 T:140706203457472 M:1484464128 DEBUG: OnKey: return (f00d) pressed,
action is Select
20:27:19 T:140706203457472 M:1484464128 INFO: initializing python engine.
20:27:19 T:140706203457472 M:1484464128 DEBUG: new python thread created. id=5
20:27:19 T:140705527748352 M:1484464128 DEBUG: Thread XBPyThread start, auto
delete: 0
20:27:19 T:140705527748352 M:1484464128 DEBUG: Python thread: start processing
20:27:19 T:140705527748352 M:1484464128 NOTICE: -->Python Interpreter
Initialized<--
20:27:19 T:140705527748352 M:1484464128 DEBUG: Process - The source file to
load is /home/xbmc/.xbmc/addons/script.games.rom.collection.browser/default.py
20:27:19 T:140705527748352 M:1484464128 DEBUG: Process - Setting the Python
path to
/home/xbmc/.xbmc/addons/script.games.rom.collection.browser:/home/xbmc/.xbmc/add
ons/script.module.simplejson/lib:/home/xbmc/.xbmc/addons/script.module.beautiful
soup/lib:/usr/share/xbmc/addons/script.module.pil/lib:/home/xbmc/.xbmc/addons/sc
ript.module.elementtree/lib:/usr/share/xbmc/addons/script.module.pysqlite/lib:/u
sr/lib/python2.6:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/lib-tk:/usr/l
ib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload:/usr/local/lib/python2.6/dis
t-packages:/usr/lib/python2.6/dist-packages:/usr/lib/python2.6/dist-packages/PIL
:/usr/lib/python2.6/dist-packages/gst-0.10:/usr/lib/pymodules/python2.6:/usr/lib
/python2.6/dist-packages/gtk-2.0:/usr/lib/pymodules/python2.6/gtk-2.0:
20:27:19 T:140705527748352 M:1484464128 DEBUG: Process - Entering source
directory /home/xbmc/.xbmc/addons/script.games.rom.collection.browser
20:27:19 T:140705527748352 M:1484464128 DEBUG: Instantiating addon using
automatically obtained id of "script.games.rom.collection.browser" dependent on
version 2.0 of the xbmc.python api
20:27:19 T:140705527748352 M:1483939840 INFO: -->Python script returned the
following error<--
20:27:19 T:140705527748352 M:1483939840 ERROR: Error Type: <type
'exceptions.IOError'>
20:27:19 T:140705527748352 M:1483939840 ERROR: Error Contents: (10, 'No child
processes')
20:27:19 T:140705527748352 M:1483939840 ERROR: Traceback (most recent call
last):
File "/home/xbmc/.xbmc/addons/script.games.rom.collection.browser/default.py", line 42, in <module>
env2 = platform.machine()
File "/usr/lib/python2.6/platform.py", line 1332, in machine
return uname()[4]
File "/usr/lib/python2.6/platform.py", line 1262, in uname
processor = _syscmd_uname('-p','')
File "/usr/lib/python2.6/platform.py", line 1019, in _syscmd_uname
rc = f.close()
IOError: (10, 'No child processes')
20:27:19 T:140705527748352 M:1483939840 INFO: -->End of Python script error
report<--
20:27:19 T:140705527748352 M:1483939840 INFO: Python script stopped
20:27:19 T:140705527748352 M:1483939840 DEBUG: Thread Python Thread
140705527748352 terminating
20:27:19 T:140706203457472 M:1483939840 DEBUG: waiting for python thread 5 to
stop
20:27:19 T:140706203457472 M:1483939840 DEBUG: python thread 5 destructed
20:27:19 T:140706203457472 M:1483939840 DEBUG: ------ Window Init
(DialogKaiToast.xml) ------
20:27:19 T:140706203457472 M:1483939840 DEBUG: Alloc resources: 0.01ms (0.01
ms skin load)
20:27:23 T:140706203457472 M:1484193792 INFO: CheckIdle - Closing session to
http://passion-xbmc.org (easy=0x2c031c0, multi=(nil))
20:27:24 T:140706203457472 M:1484193792 DEBUG: ------ Window Deinit
(DialogKaiToast.xml) ------
20:27:29 T:140706203457472 M:1482022912 INFO: Python, unloading python
shared library because no scripts are running anymore
20:27:29 T:140706203457472 M:1482022912 DEBUG: UnloadExtensionLibs, clearing
python extension libraries
As for the "skin-patch", I already applied that to my installed version. Hope
you can give me a hint.
Original comment by weltensc...@gmail.com
on 26 Jun 2011 at 6:37
What version did you use? I thought I fixed this issue in 0.8.10.
Also if you run into the 720p issue, you should go with the newest test version
0.9.0. This is already translated to 720p.
Sorry for all these issues, but they are all not related to the script. It is
just the fact that it has to run on many different XBMC, OS and python versions
and all behave slightly different.
Original comment by maloep
on 26 Jun 2011 at 7:53
Thanks for the fast response. Did use the 0.8.9, will upgrade to 0.9.0.
Didn't mean to blame you when I reported, sorry if it sounded like that to you.
Original comment by weltensc...@gmail.com
on 27 Jun 2011 at 8:51
Haha, no, I did not feel blamed. Just thought this thread is full of different
issues and it may look like RCB was a very unstable program.
Original comment by maloep
on 27 Jun 2011 at 9:35
Well, good to hear it was a misunderstanding. In any case I've good news, the
0.9.0 fixes the problem for me and RCB is fully working. Thanks! I love it
already!
Original comment by weltensc...@gmail.com
on 27 Jun 2011 at 10:54
Original comment by maloep
on 3 Jul 2011 at 7:39
Original comment by maloep
on 21 Nov 2013 at 7:03
Original issue reported on code.google.com by
WhitishC...@gmail.com
on 24 May 2011 at 1:04