[LINUX] SVN Repo Installer Problems
#1
I just can't seem to get any plugins to work for the life of me.

Very basic XBMC install on Debian. Everything else seems to work except for plug-ins.

XBMC is setup under user xbmc.

I grabbed the latest SVN Repo Installer/ put in in /home/xbmc/.xbmc/plugins/programs/

When I try to run it, I get this with debugging on.
PHP Code:
15:33:57 T:3040671600 M:467939328   DEBUGSortsorting took 0 millis
15
:33:57 T:2870164368 M:467939328   DEBUGthread startauto delete0
15
:33:57 T:2870164368 M:467939328   DEBUGThread 2870164368 terminating
15
:34:05 T:3040671600 M:467841024   DEBUGSDLKeyboardscancode36sym13unicode13modifier1000
15
:34:05 T:3040671600 M:467841024   DEBUGOnKey61453 pressedaction is 7
15
:34:05 T:3040671600 M:467841024   DEBUGClearing cached fileitems [plugin://programs/SVN Repo Installer/]
15:34:05 T:3040671600 M:467841024   DEBUGCGUIMediaWindow::GetDirectory (plugin://programs/SVN Repo Installer/)
15:34:05 T:3040671600 M:467841024   DEBUG:   ParentPath = [plugin://programs/]
15:34:05 T:3040671600 M:467841024   DEBUGStartScript URL for plugin settingsSVN Repo Installer/
15:34:05 T:3040671600 M:467841024   DEBUGStartScript calling plugin special://home/plugins/programs/SVN Repo Installer/default.py('plugin://programs/SVN Repo Installer/','0','')
15:34:05 T:3040671600 M:467841024    INFOinitializing python engine.
15:34:05 T:3040671600 M:467841024   DEBUGLoading: /usr/share/xbmc/system/python/python24-i486-linux.so
15
:34:05 T:3040671600 M:467841024   DEBUGPython wrapper library linked with system Python library
15
:34:06 T:3040671600 M:467841024   DEBUG: new python thread createdid=5
15
:34:06 T:2743548816 M:467841024   DEBUGthread startauto delete0
15
:34:06 T:2743548816 M:467841024   DEBUGPython threadstart processing
15
:34:06 T:2743548816 M:467841024  NOTICE: -->Python Interpreter Initialized<--
15:34:06 T:2743548816 M:467841024   DEBUGProcess The source file to load is special://home/plugins/programs/SVN Repo Installer/default.py
15:34:06 T:2743548816 M:467841024   DEBUGProcess Setting the Python path to /home/xbmc/.xbmc/plugins/programs/SVN Repo Installer:/usr/lib/python2.4/:/usr/lib/python2.4/plat-linux2:/usr/lib/python2.4/lib-tk:/usr/lib/python2.4/lib-dynload
15
:34:06 T:2743548816 M:467841024   DEBUGProcess Entering source directory /home/xbmc/.xbmc/plugins/programs/SVN Repo Installer
15
:34:06 T:2743548816 M:467841024  NOTICE: [PLUGIN'SVN Repo Installer: Version - 1.8.1-r1268' initialized!
15:34:06 T:3040671600 M:467841024   DEBUGWaitOnScriptResult waiting on the SVN Repo Installer plugin...
15:34:06 T:2743548816 M:467841024  NOTICE:      ** Required XBMC Revisionr19001 **
15:34:06 T:2743548816 M:467841024  NOTICE:      ** Found XBMC Revisionr22976 [Compatible] **
15:34:06 T:2743548816 M:467812352   DEBUG: [SVN Repo Installer]: ModuleinstallerAPI.xbmcplugin_lib Dated24-06-2009 loaded!
15:34:06 T:2743548816 M:467812352   DEBUG: [SVN Repo Installer]: ModuleinstallerAPI.xbmcplugin_list Dated24-06-2009 loaded!
15:34:06 T:2743548816 M:467812352   DEBUG: [SVN Repo Installer]: installerAPI.xbmcplugin_list.Main init!
15:34:06 T:2743548816 M:467812352   DEBUG: [SVN Repo Installer]: Info() dict={'title'''}
15:34:06 T:2743548816 M:467812352   DEBUG: [SVN Repo Installer]: ERROR_get_repos (127) - [Errno 2No such file or directory'/home/xbmc/resources/repositories'
15:34:06 T:3040671600 M:467812352   DEBUGWaitOnScriptResultplugin returned failure
15
:34:06 T:3040671600 M:467812352   ERRORGetDirectory Error getting plugin://programs/SVN Repo Installer/
15:34:06 T:3040671600 M:467812352   ERRORCGUIMediaWindow::GetDirectory(plugin://programs/SVN Repo Installer/) failed
15:34:06 T:3040671600 M:467812352   DEBUGCGUIMediaWindow::GetDirectory (plugin://programs/)
15:34:06 T:3040671600 M:467812352   DEBUG:   ParentPath = []
15:34:06 T:3040671600 M:467812352   DEBUGSortsorting took 0 millis
15
:34:06 T:2870164368 M:467812352   DEBUGthread startauto delete0
15
:34:06 T:2743548816 M:467812352    INFOScriptresultSuccess
15
:34:06 T:2870164368 M:467812352   DEBUGThread 2870164368 terminating
15
:34:06 T:2743548816 M:467832832    INFOPython script stopped
15
:34:06 T:2743548816 M:467832832   DEBUGThread 2743548816 terminating
15
:34:06 T:3040671600 M:467832832   DEBUGpython thread 5 destructed
15
:34:06 T:3040671600 M:467832832    INFOPythonunloading python24.dll because no scripts are running anymore
15
:34:06 T:3040671600 M:467832832   DEBUGUnloadExtensionLibsclearing python extension libraries
15
:34:06 T:3040671600 M:467832832   DEBUGUnloadingpython24-i486-linux.so 
Reply
#2
i am running into this with several plugins. os.getcwd() for some reason returns the path to users home directory, when i think it should return the path to currently executing scripts directory. this breaks the script because it cannot load its resource files. is this a core build problem?
xbmc-pvr-ppa-odk68, Gentoo x86 3.0.7-pf, xorg-server-1.11.2, mesa-7.11, nvidia-drivers-290.10
Reply
#3
Isn't the repo installer infact a script and not a plugin ? hence it should not be started from the programs folder but from the scripts menu ?

Or im just outdated Wink
PointOfView Nvidia ION Atom 330 - TRANSCEND 2GB DDR2 DIMM 800MHz - G.SKILL 64GB SSD 2.5
Open Elec Beta4 1.95.4
XBMC Online Manual - HOW-TO post about a problem in a useful manner - Create/View Bug Report
Setup/Fix correct resolution on XBMC/Ubuntu - Usefull linux terminal commands
Reply
#4
AFAIK, SVN Repo Installer is supposed to go to plugins/programs. Running it as a script gives me:

Code:
13:46:23 T:2699017104 M:3290542080  NOTICE: -->Python Interpreter Initialized<--
13:46:23 T:2699017104 M:3290542080  NOTICE: Traceback (most recent call last):
13:46:23 T:2699017104 M:3290542080  NOTICE:   File "/secure/home/media/.xbmc/scripts/SVN_Repo_Installer/default.py", line 44, in <module>
13:46:23 T:2699017104 M:3290542080  NOTICE: if ( not sys.argv[ 2 ] ):
13:46:23 T:2699017104 M:3290542080  NOTICE: AttributeError
13:46:23 T:2699017104 M:3290542080  NOTICE: :
13:46:23 T:2699017104 M:3290542080  NOTICE: 'module' object has no attribute 'argv'
13:46:23 T:2699017104 M:3290542080   ERROR: Scriptresult: Error
xbmc-pvr-ppa-odk68, Gentoo x86 3.0.7-pf, xorg-server-1.11.2, mesa-7.11, nvidia-drivers-290.10
Reply
#5
lkraav Wrote:i am running into this with several plugins. os.getcwd() for some reason returns the path to users home directory, when i think it should return the path to currently executing scripts directory. this breaks the script because it cannot load its resource files. is this a core build problem?

BINGO! Same problem I'm having.

When I update VideoDevil/Monkey my /home/xbmc/ ends up full of

F:\videos, contents.tbn, and a bunch of other crap. Consequently, I can't get VideoDevil/Monkey to work.
Reply
#6
posted this: http://trac.xbmc.org/ticket/7291
xbmc-pvr-ppa-odk68, Gentoo x86 3.0.7-pf, xorg-server-1.11.2, mesa-7.11, nvidia-drivers-290.10
Reply
#7
There's an easy fix for this. Grab the SVN Repo Installer from the XBMC Add-ons SVN.

Code:
cd ~/.xbmc/plugins/programs

svn co http://xbmc-addons.googlecode.com/svn/trunk/plugins/programs/SVN%20Repo%20Installer/

Tested and working flawlessly on Karmic x64.
Reply
#8
this is what happens on mine:

Code:
09:21:21 T:3048748880 M:2225025024   DEBUG: LIRC: Update - NEW at 59877952:0200002800000201 00 KEY_ENTER Antec_Veris_RM200 (KEY_ENTER)
09:21:21 T:3048748880 M:2225025024   DEBUG: OnKey: 11 pressed, action is 7
09:21:21 T:3048748880 M:2225025024   DEBUG: Clearing cached fileitems [plugin://programs/SVN Repo Installer/]
09:21:21 T:3048748880 M:2225025024   DEBUG: CGUIMediaWindow::GetDirectory (plugin://programs/SVN Repo Installer/)
09:21:21 T:3048748880 M:2225025024   DEBUG:   ParentPath = [plugin://programs/]
09:21:21 T:3048748880 M:2225025024   DEBUG: StartScript - URL for plugin settings: SVN Repo Installer/
09:21:21 T:3048748880 M:2225025024   DEBUG: StartScript - calling plugin special://home/plugins/programs/SVN Repo Installer/default.py('plugin://programs/SVN Repo Installer/','0','')
09:21:21 T:3048748880 M:2225025024    INFO: initializing python engine.
09:21:21 T:3048748880 M:2225025024   DEBUG: Loading: /usr/share/xbmc/system/python/python25-i486-linux.so
09:21:21 T:3048748880 M:2225025024   DEBUG: Python wrapper library linked with system Python library
09:21:21 T:3048748880 M:2225025024   DEBUG: new python thread created. id=15
09:21:21 T:2442509200 M:2225025024   DEBUG: thread start, auto delete: 0
09:21:21 T:2442509200 M:2225025024   DEBUG: Python thread: start processing
09:21:21 T:2442509200 M:2225025024  NOTICE: -->Python Interpreter Initialized<--
09:21:21 T:2442509200 M:2225025024   DEBUG: Process - The source file to load is special://home/plugins/programs/SVN Repo Installer/default.py
09:21:21 T:2442509200 M:2225025024   DEBUG: Process - Setting the Python path to /secure/home/media/.xbmc/plugins/programs/SVN Repo Installer:/usr/lib/python25.zip:/usr/lib/python2.5/:/usr/lib/python2.5/plat-linux2:/usr/lib/python2.5/lib-tk:/usr/lib/python2.5/lib-dynload
09:21:21 T:2442509200 M:2225025024   DEBUG: Process - Entering source directory /secure/home/media/.xbmc/plugins/programs/SVN Repo Installer
09:21:21 T:2442509200 M:2225025024  NOTICE: [PLUGIN] 'SVN Repo Installer: Version - 1.8.2b-r1352' initialized!
09:21:21 T:2442509200 M:2225025024  NOTICE:      ** Required XBMC Revision: r19001 **
09:21:21 T:2442509200 M:2225025024  NOTICE:      ** Found XBMC Revision: r23692 [Compatible] **
09:21:21 T:2442509200 M:2225025024   DEBUG: [SVN Repo Installer]: Module: installerAPI.xbmcplugin_lib Dated: 24-06-2009 loaded!
09:21:21 T:2442509200 M:2225025024   DEBUG: [SVN Repo Installer]: Module: installerAPI.xbmcplugin_list Dated: 24-06-2009 loaded!
09:21:21 T:2442509200 M:2225025024   DEBUG: [SVN Repo Installer]: installerAPI.xbmcplugin_list.Main init!
09:21:21 T:2442509200 M:2225025024   DEBUG: [SVN Repo Installer]: Info() dict={'title': ''}
09:21:21 T:2442509200 M:2225025024   DEBUG: [SVN Repo Installer]: ERROR: _get_repos (127) - [Errno 2] No such file or directory: '/secure/home/media/resources/repositories'
09:21:21 T:2442509200 M:2225025024    INFO: Scriptresult: Success
09:21:21 T:3048748880 M:2225025024   DEBUG: WaitOnScriptResult - waiting on the SVN Repo Installer plugin...
09:21:21 T:3048748880 M:2225025024   DEBUG: WaitOnScriptResult- plugin returned failure
09:21:21 T:3048748880 M:2225025024   ERROR: GetDirectory - Error getting plugin://programs/SVN Repo Installer/
09:21:21 T:3048748880 M:2225025024   ERROR: CGUIMediaWindow::GetDirectory(plugin://programs/SVN Repo Installer/) failed
09:21:21 T:3048748880 M:2225025024   DEBUG: CGUIMediaWindow::GetDirectory (plugin://programs/)
09:21:21 T:3048748880 M:2225025024   DEBUG:   ParentPath = []
09:21:21 T:2434116496 M:2225025024   DEBUG: thread start, auto delete: 0
09:21:21 T:2434116496 M:2225025024   DEBUG: Thread 2434116496 terminating
09:21:22 T:2442509200 M:2225201152    INFO: Python script stopped
09:21:22 T:2442509200 M:2225201152   DEBUG: Thread 2442509200 terminating
09:21:22 T:3048748880 M:2225201152   DEBUG: python thread 15 destructed
09:21:22 T:3048748880 M:2225201152    INFO: Python, unloading python24.dll because no scripts are running anymore
09:21:22 T:3048748880 M:2225201152   DEBUG: UnloadExtensionLibs, clearing python extension libraries
09:21:22 T:3048748880 M:2225201152   DEBUG: Unloading: python25-i486-linux.so
09:21:27 T:3048748880 M:2224812032    INFO: CheckIdle - Closing session to http://www.google.com (easy=0xbe54980, multi=(nil))
09:21:44 T:2951306128 M:2224664576   DEBUG: Thread 2951306128 terminating (autodelete)
09:21:45 T:2618284944 M:2224693248   DEBUG: Thread 2618284944 terminating (autodelete)
09:21:47 T:3048748880 M:2224644096   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmc/system/ImageLib-i486-linux.so)
09:21:47 T:3048748880 M:2224644096   DEBUG: Unloading: ImageLib-i486-linux.so

i dont get it, is this some external library problem?
xbmc-pvr-ppa-odk68, Gentoo x86 3.0.7-pf, xorg-server-1.11.2, mesa-7.11, nvidia-drivers-290.10
Reply
#9
Not sure if this is related but I can't get the MythBox Python plugin working either, but in my case it seems os.getcwd() returns "/" not even "/home/username", see my original post:

http://forum.xbmc.org/showpost.php?p=427...tcount=212
Reply
#10
Moved, Hopefully this gets more love here since there were no responses.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#11
thanks, it sho would be nice to get some of these plugins working..
xbmc-pvr-ppa-odk68, Gentoo x86 3.0.7-pf, xorg-server-1.11.2, mesa-7.11, nvidia-drivers-290.10
Reply
#12
lkraav Wrote:thanks, it sho would be nice to get some of these plugins working..


Good work !
Very cool, looking great so far. Keep going, I wanna see it finished!EekShocked
__________________
Calcul taux pret immobilier credit | Credit meilleur taux pret immo
Reply
#13
so yeah, this is a external python linking problem. gentoo ebuild by default has --enable-external-libraries and i never even noticed it, until today when someone posted a python 2.6 patch on trac ticket. this triggered something in the back of my mind and after a couple of recompiles later i have a perfectly working xbmc. everything works, svn repo installer, youtube plugin, navi-x. unbelievable how long this took to find out.
xbmc-pvr-ppa-odk68, Gentoo x86 3.0.7-pf, xorg-server-1.11.2, mesa-7.11, nvidia-drivers-290.10
Reply
#14
lkraav Wrote:so yeah, this is a external python linking problem. gentoo ebuild by default has --enable-external-libraries and i never even noticed it, until today when someone posted a python 2.6 patch on trac ticket. this triggered something in the back of my mind and after a couple of recompiles later i have a perfectly working xbmc. everything works, svn repo installer, youtube plugin, navi-x. unbelievable how long this took to find out.

So you needed to disable the external Python to get this working? Is anybody in XBMC working on making external Python actually work properly? Is there an open trac ticket?
Reply
#15
fiveisalive Wrote:So you needed to disable the external Python to get this working? Is anybody in XBMC working on making external Python actually work properly? Is there an open trac ticket?

xbmc default is to disable all externals. whoever wrote the gentoo ebuild obviously just didnt think much of that and flipped the --enable switch. everything else probably works quite ok, except for python.
xbmc-pvr-ppa-odk68, Gentoo x86 3.0.7-pf, xorg-server-1.11.2, mesa-7.11, nvidia-drivers-290.10
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] SVN Repo Installer Problems0