Posts: 15
Joined: Aug 2008
Reputation:
0
I have the newest version of XinBox and the newest version of xbmc. When i click on xinbox it says running for like 3 seconds then does nothing, it was working fine even with the atlantis build. I will post the debug for the script in a bit. Iam using xbmc on my xbox.
Posts: 15
Joined: Aug 2008
Reputation:
0
16:52:26 M: 39567360 INFO: -->Python Initialized<--
16:52:26 M: 39546880 INFO:
16:52:26 M: 41680896 DEBUG: CGUIMediaWindow::GetDirectory (Q:\scripts)
16:52:26 M: 41701376 DEBUG: ParentPath = [Q:\scripts]
16:52:26 M: 41709568 DEBUG: kernel32.dll fake function SetConsoleCtrlHandler called
16:52:27 M: 37150720 DEBUG: dllGetProcAddress(007B8508(advapi32.dll), 'CryptAcquireContextA') => 00236C73
16:52:27 M: 37130240 DEBUG: dllGetProcAddress(007B8508(advapi32.dll), 'CryptGenRandom') => 00234098
16:52:27 M: 37130240 DEBUG: advapi32.dll fake function dllCryptAcquireContext() called
16:52:27 M: 37093376 DEBUG: LoadLibraryExA called with flags:
- LOAD_WITH_ALTERED_SEARCH_PATH
16:52:27 M: 37093376 DEBUG: LoadLibraryA('_socket.pyd')
16:52:27 M: 37044224 DEBUG: kernel32.dll fake function DisableThreadLibraryCalls called
16:52:27 M: 37044224 DEBUG: LoadLibrary('_socket.pyd') returning: 00CB4D80
16:52:27 M: 37044224 DEBUG: dllGetProcAddress(1E1D0000(_socket.pyd), 'init_socket') => 1E1D4BF0
16:52:27 M: 37044224 DEBUG: LoadLibraryExA called with flags:
- LOAD_WITH_ALTERED_SEARCH_PATH
16:52:27 M: 37023744 DEBUG: LoadLibraryA('_ssl.pyd')
16:52:27 M: 36524032 DEBUG: Unable to resolve msvcr71.dll _getch
16:52:27 M: 36524032 DEBUG: Unable to resolve kernel32.dll FlushConsoleInputBuffer
16:52:27 M: 36524032 DEBUG: kernel32.dll fake function DisableThreadLibraryCalls called
16:52:27 M: 36524032 DEBUG: LoadLibrary('_ssl.pyd') returning: 008AB400
16:52:27 M: 36524032 DEBUG: dllGetProcAddress(10000000(_ssl.pyd), 'init_ssl') => 10001820
16:52:28 M: 35733504 DEBUG: LoadLibraryExA called with flags:
- LOAD_WITH_ALTERED_SEARCH_PATH
16:52:28 M: 35737600 DEBUG: LoadLibraryA('pyexpat.pyd')
16:52:29 M: 35598336 DEBUG: kernel32.dll fake function DisableThreadLibraryCalls called
16:52:29 M: 35598336 DEBUG: LoadLibrary('pyexpat.pyd') returning: 00C049F0
16:52:29 M: 35598336 DEBUG: dllGetProcAddress(1D100000(pyexpat.pyd), 'initpyexpat') => 1D102350
16:52:29 M: 35033088 INFO: Loading skin includes from Q:\scripts\XinBox\src\resources\skins\DefaultSkin\includes.xml
16:52:29 M: 35053568 INFO: Error loading includes.xml file (Q:\scripts\XinBox\src\resources\skins\DefaultSkin\includes.xml): Failed to open file (row=0, col=0)
16:52:29 M: 35053568 INFO: Traceback (most recent call last):
16:52:29 M: 35053568 INFO: File "Q:\scripts\XinBox\default.py", line 34, in ?
16:52:29 M: 35045376 INFO:
16:52:29 M: 35045376 INFO: else:w = XinBox_MainMenu.GUI("XinBox_MainMenu.xml",scriptpath + "src","DefaultSkin",lang=_)
16:52:29 M: 35053568 INFO: TypeError
16:52:29 M: 35053568 INFO: :
16:52:29 M: 35053568 INFO: XML File for Window is missing
16:52:29 M: 35053568 INFO:
16:52:29 M: 35053568 ERROR: Scriptresult: Error
16:52:29 M: 35057664 INFO: Python script stopped
16:52:29 M: 35581952 INFO: Python, unloading python24.dll cause no scripts are running anymore
16:52:29 M: 35581952 INFO:
16:52:29 M: 35581952 INFO:
Posts: 15
Joined: Aug 2008
Reputation:
0
Iam assuming that it's because it's trying to find the mainmenu.xml file which is rooted through the resources folder, which i guess changed to the resources folder since the atlantis build, but the xinbox directory doesen't have a resources folder. So i guess i'll try and edit the default.py file and add the resources folder and make also make a resources folder in the xinbox directory like eg: "xinbox/src/resources/blah blah...." I'am prolly way off so feel free to tell me differently.
Thanks
Posts: 2,517
Joined: Sep 2006
Reputation:
342
Hi, yes - there have been changes in the winxml system.
The new version of XinBox will work.
Umm, for now...
Ill post the code fix when i get home from work tonight :-D
Posts: 15
Joined: Aug 2008
Reputation:
0
well there are things that don't work like mini-mode and the about button but the about button is easely fixed by editing XinBox_About.py and adding the resources folder.
class GUI( xbmcgui.WindowXML ):
def __init__(self,strXMLname, strFallbackPath,strDefaultName, lang=False):
f = open(strFallbackPath + "\\resources\\credits\\about.txt")
self.aboutcr = f.read()
f.close()
f = open(strFallbackPath + "\\resources\\credits\\language.txt")
self.languagecr = f.read()
f.close()
f = open(strFallbackPath + "\\resources\\credits\\skinning.txt")
self.skinningcr = f.read()
f.close()
self.lang = lang
Posts: 2,517
Joined: Sep 2006
Reputation:
342
yeh, theres some yucky code in there.
Really all the paths should defined in ONE place so it can easily be changed once through out the whole script.
Like I said, another script is in progress - Slowly (the drive has faded)
You should look in2 python, its great!
I learnt by trial and error and other ppl's scripts just to create a script.
Now i use python lots for other things (listing all my movies, renaming bulk files etc)
:-D
Posts: 2,517
Joined: Sep 2006
Reputation:
342
have a look in mini-mode.py
and also make sure you have changed all the bits in default.py :-)
It has 3 different places where it opens windows.
Check in mini-mode.py for any where it appears it may be looking in the "src" folder etc, and again with the winxml line.
Good luck! :-)
Posts: 2,517
Joined: Sep 2006
Reputation:
342
Ok, im crap at GFX.
Anyone keen to do the new XinBox skinning for me, this includes designing it etc , animation etc. I enjoy the code..
Posts: 2,517
Joined: Sep 2006
Reputation:
342
Yeh, well, i wanted someone too work with and get a nice default skin up and running and then pass on the script to the razorfish team so they can integrate it nicely.
It would look real nice running mini mode in media stream, nice lil prompt popping up with new email etc. mmmmmmmm
They could even include it with there skin like xbmc lyrics.
This is of course if i make it GREATER enough.
Im pretty sure with the new database features, it will hit the mark.
Posts: 1,815
Joined: Sep 2006
Reputation:
0
Geeba
Posting Freak
Posts: 1,815
If V.0.9 is anything to go by I'm sure it will hit the mark!!