2014-11-15, 01:11
2014-11-18, 02:31
Hey Popeye. I've been trying to get this working with the Kodi betas, but I keep running into script issues. Here is the snippet from my log:
Code:
19:29:50 T:3184 DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin SABnzbd('plugin://plugin.program.sabnzbd/','3','')
19:29:50 T:3184 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the SABnzbd (id=9) plugin...
19:29:50 T:7516 NOTICE: Thread LanguageInvoker start, auto delete: false
19:29:50 T:7516 INFO: initializing python engine.
19:29:50 T:7516 DEBUG: CPythonInvoker(9, D:\HTPC\Kodi\portable_data\addons\plugin.program.sabnzbd\default.py): start processing
19:29:50 T:7516 NOTICE: -->Python Interpreter Initialized<--
19:29:50 T:7516 DEBUG: CPythonInvoker(9, D:\HTPC\Kodi\portable_data\addons\plugin.program.sabnzbd\default.py): the source file to load is "D:\HTPC\Kodi\portable_data\addons\plugin.program.sabnzbd\default.py"
19:29:50 T:7516 DEBUG: CPythonInvoker(9, D:\HTPC\Kodi\portable_data\addons\plugin.program.sabnzbd\default.py): setting the Python path to D:\HTPC\Kodi\portable_data\addons\plugin.program.sabnzbd;D:\HTPC\Kodi\system\python\DLLs;D:\HTPC\Kodi\system\python\Lib;D:\HTPC\Kodi\python27.zip;D:\HTPC\Kodi\system\python\lib\plat-win;D:\HTPC\Kodi\system\python\lib\lib-tk;D:\HTPC\Kodi;D:\HTPC\Kodi\system\python;D:\HTPC\Kodi\system\python\lib\site-packages
19:29:50 T:7516 DEBUG: CPythonInvoker(9, D:\HTPC\Kodi\portable_data\addons\plugin.program.sabnzbd\default.py): entering source directory D:\HTPC\Kodi\portable_data\addons\plugin.program.sabnzbd
19:29:50 T:7516 DEBUG: CPythonInvoker(9, D:\HTPC\Kodi\portable_data\addons\plugin.program.sabnzbd\default.py): instantiating addon using automatically obtained id of "plugin.program.sabnzbd" dependent on version 2.1.0 of the xbmc.python api
19:29:50 T:7516 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: No module named sabnzbd
Traceback (most recent call last):
File "D:\HTPC\Kodi\portable_data\addons\plugin.program.sabnzbd\default.py", line 30, in <module>
import page
File "D:\HTPC\Kodi\portable_data\addons\plugin.program.sabnzbd\page.py", line 32, in <module>
import sabnzbd
ImportError: No module named sabnzbd
-->End of Python script error report<--
19:29:50 T:7516 INFO: Python script stopped
2014-11-18, 23:34
I don't understand. I haven't done any code changes. Must be the /lib folder not getting loaded properly. Is there something that has to be set in the addon.xml now or?
2014-11-19, 01:18
Hmm. I don't know. I have been very busy the past year and have lost track. Have you by chance tried any of the Kodi betas?
2014-11-20, 09:09
No, I haven't. I don't really miss any features from XBMC so I try to just stick with the last mayor release.. You could try moving the files from /lib to the root of the addon and see if that works..
2014-12-02, 04:17
I've just had to redo my RaspBMC install and I now seem to be having problems with SABnzbd as well as the Pauser. I had it installed and working for a long while on the previous install but on this one the Pauser isn't working at all and SABnzbd works occasionally but mostly not. The only difference I can think of is that on the previous install I'd stopped one short of the current RaspBMC version because of some problems updating SD/USB installs. This time because I was doing a fresh install I've gone straight to the current version. Here's a snippet of my log file when trying to start SABnzbd
Any idea what could be going wrong?
Quote:02:00:30 T:2462053440 NOTICE: -->Python Interpreter Initialized<--
02:00:30 T:2531251264 NOTICE: plugin.program.sabnzbd: v3.0.2 started
02:00:30 T:2531251264 NOTICE: plugin.program.sabnzbd: get_parameters: parameterString: ?mode=sab_action&sab_mode=resume
02:00:30 T:2531251264 NOTICE: plugin.program.sabnzbd: get_parameters: commands: {'sab_mode': 'resume', 'mode': 'sab_action'}
02:00:30 T:2288182336 NOTICE: -->Python Interpreter Initialized<--
02:01:18 T:2321736768 NOTICE: -->Python Interpreter Initialized<--
02:01:36 T:3037586208 ERROR: GetDirectory - Error getting plugin://plugin.program.sabnzbd/
02:01:36 T:3037586208 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.sabnzbd/) failed
02:01:36 T:2539639872 NOTICE: Thread BackgroundLoader start, auto delete: false
02:01:38 T:2539639872 NOTICE: Thread LanguageInvoker start, auto delete: false
02:01:40 T:2425152576 NOTICE: Previous line repeats 1 times.
02:01:40 T:2425152576 NOTICE: Thread BackgroundLoader start, auto delete: false
02:01:42 T:2425152576 NOTICE: Thread LanguageInvoker start, auto delete: false
Any idea what could be going wrong?
2014-12-02, 09:56
Yes, just do as I described in my previous post. Seems like sabnzbd can't start. The /lib folder does not seem to be recognized by xbmc/kodi..
2014-12-03, 02:30
2015-01-13, 00:46
I don't understand why Helix complained about the lib folder. I'm about to do a new release within a few weeks with no visible changes , just under the hood cleanup and providing a module/api for others (and my pneumatic) to use.
2015-01-14, 01:24
Thanks kricker, with the latest commits things seems to be working good on Helix. I will package everything the coming days but everyone are free to try from github. The next step is to sync the api with Pneumatic, fix language labels etc and then hopefully release it to the official addon repo...
2015-01-14, 20:28
SABnzbd 3.1.0
- Restructure to support Helix
- Stop import settings from Pneumatic
- Lots of minor fixes
- Restructure to support Helix
- Stop import settings from Pneumatic
- Lots of minor fixes