2012-10-20, 20:10
(2012-10-19, 22:45)Rastan Wrote:(2012-10-19, 18:09)Aenima99x Wrote: Running PseudoTv on frodo git nightlies and getting script errors when trying to launch. Any ideas?
08:50:50 T:2747267952 DEBUG: Process - Entering source directory /home/xbmc/.xbmc/addons/PseudoTV
08:50:50 T:2747267952 DEBUG: Instantiating addon using automatically obtained id of "script.pseudotv" dependent on version 2.0 of the xbmc.python api
08:50:50 T:2747267952 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0xb6ed9a8
08:50:50 T:2747267952 DEBUG: Previous line repeats 1 times.
08:50:50 T:2747267952 ERROR: EXCEPTION: Unimplemented method: executehttpapi::executehttpapi(...)
08:50:50 T:2747267952 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.RuntimeError'>
Error Contents: Unimplemented method: executehttpapi::executehttpapi(...)
Traceback (most recent call last):
File "/home/xbmc/.xbmc/addons/PseudoTV/default.py", line 37, in <module>
if xbmc.executehttpapi("GetGuiSetting(1, services.webserver)")[4:] == "False":
RuntimeError: Unimplemented method: executehttpapi::executehttpapi(...)
-->End of Python script error report<--
08:50:50 T:2747267952 INFO: Python script stopped
** EDIT ** - Was able to workaround this by commenting out webserver checks in the default.py.
I noticed this too. I would love to start using the Frodo Nightlies but noticed PTV was no longer working on it. I don't suppose you could share the default.py file? I have no clue on how to edit the file
I took the plunge and tried to edit the Default.py file myself. I deleted this block of text...
if xbmc.executehttpapi("GetGuiSetting(1, services.webserver)")[4:] == "False":
try:
forcedserver = __settings__.getSetting("ForcedWebServer") == "True"
except:
forcedserver = False
if forcedserver == False:
dlg = xbmcgui.Dialog()
retval = dlg.yesno('PseudoTV', 'PseudoTV will run more efficiently with the web', 'server enabled. Would you like to turn it on?')
__settings__.setSetting("ForcedWebServer", "True")
...Now PTV starts in Frodo!!
I tried using it with the latest nightly build, but the Channel guide is running slow for me. It could be that something has changed in XBMC or maybe PTV needs some tweaking, or maybe something is wrong with my setup.