[RELEASE] Pneumatic

  Thread Rating:
  • 7 Votes - 4.71 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Mikewave Offline
Junior Member
Posts: 6
Joined: Mar 2012
Reputation: 0
Post: #1541
Thank popeye, any help would be great! i'm trying to figure it out myself but can't wrap my head around it.
find quote
Mikewave Offline
Junior Member
Posts: 6
Joined: Mar 2012
Reputation: 0
Post: #1542
Hey popeye when you get a chance could i get that example url to intergrade newznab with 1channel
(This post was last modified: 2013-05-16 23:20 by Mikewave.)
find quote
jus7incase Offline
Junior Member
Posts: 12
Joined: Nov 2012
Reputation: 0
Post: #1543
Hi there,

getting Pneumatic, newznab and nzbtv to run seems to be not too easy. Is there a good tutorial somewhere?

Let me try to describe what isn't working properly here:

Running XBMC 12.2, OE 3.0.3 (fully works)
Running SABNZBD 0.7.11 on an unRAID array (fully works)

nzbtv
====

When I start nzbtv it gives me: Script failed!

Settings:

<settings>
<setting id="cache_time" value="24" />
<setting id="enable_local_channels" value="false" />
<setting id="local_channels" value="" />
<setting id="newznab_site" value="1" />
<setting id="remote_channels" value="https://github.com/ckergald/Releases/raw/master/channels.xml" />
</settings>

This is what I find in xbmc.log:

12:28:23 T:2721221440 NOTICE: Thread XBPyThread start, auto delete: false
12:28:23 T:2721221440 NOTICE: -->Python Interpreter Initialized<--
12:28:23 T:2721221440 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Error Contents: (2, 'No such file or directory', '/storage/.xbmc/userdata/addon_data/plugin.video.nzbtv/channel')
Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.video.nzbtv/default.py", line 48, in <module>
TV = tv.Tv(USERDATA_PATH, REMOTE, LOCAL, CACHE_TIME)
File "/storage/.xbmc/addons/plugin.video.nzbtv/tv.py", line 37, in __init__
channel_cache = DictCache(self.path, 'channel')
File "/storage/.xbmc/addons/plugin.video.nzbtv/tv.py", line 135, in __init__
pickle.dump( dict(), open( self.cache_path, "wb" ) )
IOError: (2, 'No such file or directory', '/storage/.xbmc/userdata/addon_data/plugin.video.nzbtv/channel')
-->End of Python script error report<--
12:28:23 T:3015149312 ERROR: GetDirectory - Error getting plugin://plugin.video.nzbtv
12:28:23 T:3015149312 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.nzbtv) failed
12:28:23 T:3015149312 ERROR: Control 50 in window 10025 has been asked to focus, but it can't

newznab
=======

It gives me a list of the 5 sites I have configured (see below, I have deleted the RSS IDs and keys). When I select a site it gives me "Script failed!" (see xbmc.log below)

<settings>
<setting id="cache_time" value="60" />
<setting id="firstrun" value="1" />
<setting id="newznab_hide_cat_1" value="6030|6020" />
<setting id="newznab_hide_cat_2" value="6030|6020" />
<setting id="newznab_hide_cat_3" value="6030|6020" />
<setting id="newznab_hide_cat_4" value="6030|6020" />
<setting id="newznab_hide_cat_5" value="6030|6020" />
<setting id="newznab_id_1" value="...deleted for security reasons" />
<setting id="newznab_id_2" value="...deleted for security reasons" />
<setting id="newznab_id_3" value="" />
<setting id="newznab_id_4" value="" />
<setting id="newznab_id_5" value="" />
<setting id="newznab_key_1" value="...deleted for security reasons" />
<setting id="newznab_key_2" value="..." />
<setting id="newznab_key_3" value="" />
<setting id="newznab_key_4" value="" />
<setting id="newznab_key_5" value="" />
<setting id="newznab_name_1" value="NZBs.in" />
<setting id="newznab_name_2" value="NZB Sooti" />
<setting id="newznab_name_3" value="" />
<setting id="newznab_name_4" value="" />
<setting id="newznab_name_5" value="" />

Default values for all 5 sites:

<setting id="newznab_re_actors_1" value="&gt;Actors: (.*?)&lt;/" />
<setting id="newznab_re_director_1" value="&gt;Director: (.*?)&lt;/" />
<setting id="newznab_re_genre_1" value="&gt;Genre: (.*?)&lt;/" />
<setting id="newznab_re_plot_1" value="&gt;Plot: (.*?)&lt;/" />
<setting id="newznab_re_thumb_1" value="http://SITE_URL/covers/movies/\d*-cover.jpg" />
<setting id="newznab_re_year_1" value="&gt;Year: (.*?)&lt;/" />

...

<setting id="newznab_site_1" value="nzbs.in" />
<setting id="newznab_site_2" value="nzbsooti.com" />
<setting id="newznab_site_3" value="" />
<setting id="newznab_site_4" value="" />
<setting id="newznab_site_5" value="" />
</settings>

This is what I find in xbmc.log when I select a site:

12:23:12 T:2721221440 NOTICE: Thread XBPyThread start, auto delete: false
12:23:12 T:2721221440 NOTICE: -->Python Interpreter Initialized<--
12:23:12 T:2721221440 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: Cache instance has no attribute 'path'
Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.video.newznab/default.py", line 555, in <module>
newznab(get("index"))
File "/storage/.xbmc/addons/plugin.video.newznab/default.py", line 153, in newznab
table = site_caps(index)
File "/storage/.xbmc/addons/plugin.video.newznab/default.py", line 78, in site_caps
doc, state = load_xml(url)
File "/storage/.xbmc/addons/plugin.video.newznab/default.py", line 451, in load_xml
return CACHE.fetch(url)
File "/storage/.xbmc/addons/plugin.video.newznab/cache.py", line 44, in fetch
url = Url(url_in, self.path, self.seconds)
AttributeError: Cache instance has no attribute 'path'
-->End of Python script error report<--
12:23:12 T:3015149312 ERROR: GetDirectory - Error getting plugin://plugin.video.newznab/?index=1&mode=index
12:23:12 T:3015149312 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.newznab/?index=1&mode=index) failed
12:23:12 T:2721221440 NOTICE: Thread XBPyThread start, auto delete: false
12:23:12 T:2721221440 NOTICE: -->Python Interpreter Initialized<--
12:23:13 T:2754825024 NOTICE: Thread Background Loader start, auto delete: false

pneumatic
========

Keeps telling me it can't write to the incomplete folder. This is strange because I exported the enclosing folder as r/w and XBMC uses a user that may access the folder as r/w (see setting below).

However, when I use on the xbmc box:
mount -t cifs -o username=media,password=mysecretpw,rw //10.0.1.7/download /tmp/dl
Then pneumatic does not complain any more about incomplete not being r/w.
I find this rather ugly and would hope that Pneumatic supports network shares from the mediasources.xml.

When selecting an nzb from incomplete it get the following

13:07:57 T:2814372672 NOTICE: Thread XBPyThread start, auto delete: false
13:07:57 T:2814372672 NOTICE: -->Python Interpreter Initialized<--
13:07:58 T:2814372672 NOTICE: plugin.program.pneumatic: v0.3.1 started
13:08:01 T:2745162560 NOTICE: Thread Background Loader start, auto delete: false
13:08:03 T:2814372672 NOTICE: Previous line repeats 4 times.
13:08:03 T:2814372672 NOTICE: Thread XBPyThread start, auto delete: false
13:08:03 T:2814372672 NOTICE: -->Python Interpreter Initialized<--
13:08:03 T:2814372672 NOTICE: plugin.program.pneumatic: v0.3.1 started
13:08:03 T:2814372672 ERROR: Delete - Error( No such file or directory )
13:08:03 T:2814372672 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Error Contents: (2, 'No such file or directory', '/storage/.xbmc/userdata/addon_data/plugin.program.pneumatic/temp.rar')
Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.program.pneumatic/default.py", line 948, in <module>
list_incomplete(params)
File "/storage/.xbmc/addons/plugin.program.pneumatic/default.py", line 495, in list_incomplete
pre_play(nzbname, mode=MODE_INCOMPLETE_LIST, nzo=sab_nzo_id)
File "/storage/.xbmc/addons/plugin.program.pneumatic/default.py", line 313, in pre_play
in_rar_file_list = utils.rar_filenames(folder, nzf.filename)
File "/storage/.xbmc/addons/plugin.program.pneumatic/utils.py", line 216, in rar_filenames
fd_out = open(temp_path,'wb')
IOError: (2, 'No such file or directory', '/storage/.xbmc/userdata/addon_data/plugin.program.pneumatic/temp.rar')
-->End of Python script error report<--
13:08:04 T:3015161600 ERROR: GetDirectory - Error getting plugin://plugin.program.pneumatic/?folder=mynzbfile.avi&mode=incomplete_list&nzbname=mynzbfile.avi&nzoid=SABnzbd_nzo_r9dg4x&nzoidhistory_list
13:08:04 T:3015161600 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.pneumatic/?folder=mynzbfile.avi&mode=incomplete_list&nzbname=mynzbfile.avi&nzoid=SABnzbd_nzo_r9dg4x&nzoidhistory_list) failed
13:08:04 T:2805979968 NOTICE: Thread Background Loader start, auto delete: false

Note the the is a path /storage/.xbmc/userdata/addon_data/plugin.program.pneumatic/temp.rar
Since I have mapped my addon data to a NAS share this path doesn't look too good.
It would be good to use instead:
special://profile/addon_data/plugin.program.pneumatic/temp.rar

This way it will use temp.rar on the NAS, too.

Thanks for caring,
JC
(This post was last modified: Yesterday 14:01 by jus7incase.)
find quote
dberliner Offline
Junior Member
Posts: 7
Joined: Feb 2012
Reputation: 0
Sad  Malformed Result Post: #1544
You should check your sites rss feed page for the correct id's. If they don't have it, they are not compatible...



Thanks, managed to find that. But now back to the problem I was plagued with in the past. No matter the Newznab site I try - and I've tried quite a few - When Clicking on "My Cart", "My movies" etc. I get the error "Malformed result".

Yes, I've been searching the thread and saw others have mentioned it, but I still can't seem to get rid of it. Is this an API limit problem?

Here's my log. I Don't know if anything can be assessed from that, but still...
http://xbmclogs.com/show.php?id=21325. (Newznab plug-in around line 239).


Thanks so much,

I really want to use this add-on, but am struggling...

Dana B.
(This post was last modified: Yesterday 20:01 by dberliner.)
find quote
Post Reply