Kodi Community Forum

Full Version: Apple trailers / No scripts work?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
First off,

Thanks to all who have made this XBMC working on the home pc. Does anyone have the scripts working? itsll say (running) for about a second, then it goes away. Here is the debugging info.

17:56:26 T:2188 M:1924567040 INFO: Loading skin file: MyScripts.xml
17:56:26 T:2188 M:1926561792 DEBUG: Load MyScripts.xml: 19.40ms (1.31 ms xml load)
17:56:26 T:2188 M:1926606848 DEBUG: Alloc resources: 60.21ms (20.22 ms skin load, 0.40 ms preload)
17:56:26 T:2188 M:1926602752 DEBUG: CGUIMediaWindow::GetDirectory (Q:\scripts)
17:56:26 T:2188 M:1926602752 DEBUG: ParentPath = []
17:56:26 T:2188 M:1926557696 DEBUG: CFileItemList::Sort, sorting took 0 millis
17:56:27 T:2188 M:1922936832 DEBUG: CApplication::OnKey: 61480 pressed, action is 4
17:56:28 T:2188 M:1923608576 DEBUG: CApplication::OnKey: 61453 pressed, action is 7
17:56:28 T:2188 M:1923596288 INFO: initializing python engine.
17:56:28 T:2188 M:1923592192 DEBUG: LoadLibraryA('python24.dll')
17:56:28 T:2188 M:1922387968 DEBUG: Unable to resolve msvcr71.dll __security_error_handler
17:56:28 T:2188 M:1922383872 DEBUG: LoadLibrary('python24.dll') returning: 0x02B36D10
17:56:28 T:2188 M:1922379776 DEBUG: dllGetProcAddress(0x00ABE7B0(kernel32.dll), 'InterlockedCompareExchange') => 0x76E70E2C
17:56:28 T:2188 M:1922379776 DEBUG: GetModuleFileNameA(0x00000000, 0x09CC2490, 256) => 'xbmc.xbe'
17:56:28 T:2188 M:1922371584 DEBUG: advapi32.dll fake function RegQueryInfoKeyA called
17:56:28 T:2188 M:1922371584 DEBUG: advapi32.dll fake function RegQueryInfoKeyA called
17:56:28 T:2188 M:1922363392 DEBUG: msg: 'import site' failed; use -v for traceback
17:56:28 T:2188 M:1922277376 DEBUG: new python thread created. id=1
17:56:28 T:3284 M:1922248704 DEBUG: thread start, auto delete: 0
17:56:28 T:3284 M:1922248704 DEBUG: Python thread: start processing
17:56:28 T:3284 M:1922244608 DEBUG: msg: 'import site' failed; use -v for traceback
17:56:28 T:3284 M:1922203648 INFO: -->Python Interpreter Initialized<--
17:56:28 T:3284 M:1922203648 INFO:
17:56:28 T:3284 M:1922195456 INFO: Traceback (most recent call last):
17:56:28 T:3284 M:1922195456 INFO: File "Q:\scripts\Apple Movie Trailers\default.py", line 5, in ?
17:56:28 T:3284 M:1922191360 INFO:
17:56:28 T:3284 M:1922191360 INFO: import os
17:56:28 T:3284 M:1922191360 INFO: ImportError
17:56:28 T:3284 M:1922191360 INFO: :
17:56:28 T:3284 M:1922191360 INFO: No module named os
17:56:28 T:3284 M:1922191360 INFO:
17:56:28 T:3284 M:1922191360 ERROR: Scriptresult: Error
17:56:28 T:2188 M:1922920448 DEBUG: CGUIMediaWindow::GetDirectory (Q:\scripts)
17:56:28 T:2188 M:1922920448 DEBUG: ParentPath = [Q:\scripts]
17:56:28 T:2188 M:1922854912 DEBUG: CFileItemList::Sort, sorting took 0 millis
17:56:28 T:3284 M:1922449408 INFO: Traceback (most recent call last):
17:56:28 T:3284 M:1922449408 INFO: File "<string>", line 1, in ?
17:56:28 T:3284 M:1922449408 INFO: ImportError
17:56:28 T:3284 M:1922449408 INFO: :
17:56:28 T:3284 M:1922449408 INFO: No module named threading
17:56:28 T:3284 M:1922449408 INFO:
17:56:28 T:3284 M:1922449408 INFO: Python script stopped
17:56:28 T:3284 M:1922449408 DEBUG: CThread:ConfusedtaticThread, deleting thread graphic context
17:56:28 T:3284 M:1922449408 DEBUG: Thread 3284 terminating
17:56:28 T:2188 M:1922486272 DEBUG: python thread 1 destructed
17:56:28 T:2188 M:1922486272 INFO: Python, unloading python24.dll cause no scripts are running anymore
17:56:28 T:2188 M:1922486272 DEBUG: XBPython::UnloadExtensionLibs, clearing python extension libraries
17:56:28 T:2188 M:1922486272 DEBUG: Q:\system\python\python24.dll (base 09BC0000): Detected memory leaks: 58 leaks
17:56:28 T:2188 M:1922486272 DEBUG: leak caller address 9c06f57, size 39552, counter 25
17:56:28 T:2188 M:1922486272 DEBUG: leak caller address 9c18c2c, size 233, counter 1
17:56:28 T:2188 M:1922486272 DEBUG: leak caller address 9c20ea5, size 228, counter 6
17:56:28 T:2188 M:1922486272 DEBUG: leak caller address 9c20f81, size 4, counter 1
17:56:28 T:2188 M:1922486272 DEBUG: leak caller address 9c32c5f, size 262144, counter 1
17:56:28 T:2188 M:1922486272 DEBUG: leak caller address 9c32cac, size 64, counter 1
17:56:28 T:2188 M:1922486272 DEBUG: leak caller address 9c32e88, size 13850, counter 18
17:56:28 T:2188 M:1922486272 DEBUG: leak caller address 9c53bec, size 48, counter 4
17:56:28 T:2188 M:1922486272 DEBUG: leak caller address 9c70610, size 128, counter 1
17:56:28 T:2188 M:1922486272 DEBUG: python24.dll: Total bytes leaked: 316251
17:56:28 T:2188 M:1924317184 DEBUG: CGUIMediaWindow::GetDirectory (Q:\scripts)
17:56:28 T:2188 M:1924317184 DEBUG: ParentPath = [Q:\scripts]
17:56:28 T:2188 M:1924251648 DEBUG: CFileItemList::Sort, sorting took 0 millis




If i knew how to read this, trust me, id be all over it. Smile any ideas anyone?


Thanks a ton!

RockOo
as far as I know only tetris is working on the windows port I think there are problems with python on the Linux so it will probably be a wile before we see stable scripts and plugins
Apple movie trailers works just fine for me. Ok, streaming doesn't work but setting it to download then play works just fine.
oh and music lyrics works too.
Looking at the log you seem to use a very old version.
get the newest form here: http://sourceforge.net/project/showfiles..._id=585323

Streaming should also work in recent svn builds.
strange, streaming works fine on my vista PC, but doesn't work with the same build on my Media Center 2005 PC. Very random.
yeah we still don't have any explanation for the streaming issue. On my XP SP2 it doesn't work with the debug and release build but when I start either of them via visual studio it does work Huh
WiSo Wrote:Looking at the log you seem to use a very old version.
get the newest form here: http://sourceforge.net/project/showfiles..._id=585323

Streaming should also work in recent svn builds.

Thats it!! I appreciate that very much. Its workingperfectly now. It is not as responsive as it was on the original xbox, but its def good enough.

Do you know how to make it run in full screen mode? the one you linked starts in windowed mode.

Thanks!
Nevermind, i got it by creating a small batch file executing the file with a "-fs" on it. good to go!
You can also do the same thing with a desktop shortcut (add the -fs to the shortcut)
So how was this resolved? I have tried both download and stream with no success. Just a window pops up for sec then nothing. Then the movie icon is grey and check box is besides it. Any ideas?
Ok I do have downloading working now but no streaming... Is this still a bug or should it work. Running windows xp sp2
I think Wiso answers that back on the last page. It appears to be buggy.