[RELEASE] Pneumatic

  Thread Rating:
  • 7 Votes - 4.71 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
simon_rb Offline
Senior Member
Posts: 114
Joined: Nov 2011
Reputation: 1
Post: #961
(2012-04-09 17:17)ferry Wrote:  Hi

I seem to be experiencing a complete and fundamental misunderstanding about this plugin. I have tried on XBMCbuntu Eden and Windows 7. I have sabnzbd running on a headless ubuntu server but cannot get the plugin (latest version) to work even tho I have checked and quadruple checked all settings API key, IP, port etc. I always get a random error of, wrong IP or port, wrong API key or unable to wirte test file to incomplete folder. Please, release me from this torture, it's driving me insane, what am I missing here? Also, when inputing the incomplete folder, the dialog box hangs and I need to cancel it before continuing.

Where is the incomplete folder mounted?
find quote
Popeye Offline
Posting Freak
Posts: 879
Joined: Aug 2009
Reputation: 25
Location: Sweden
Post: #962
(2012-04-09 17:17)ferry Wrote:  Hi

I seem to be experiencing a complete and fundamental misunderstanding about this plugin. I have tried on XBMCbuntu Eden and Windows 7. I have sabnzbd running on a headless ubuntu server but cannot get the plugin (latest version) to work even tho I have checked and quadruple checked all settings API key, IP, port etc. I always get a random error of, wrong IP or port, wrong API key or unable to wirte test file to incomplete folder. Please, release me from this torture, it's driving me insane, what am I missing here? Also, when inputing the incomplete folder, the dialog box hangs and I need to cancel it before continuing.

Im riding shotgun so I have a hand free to answer :-) . Just as Simon_rb asked, how have you mounted the incomplete? nfs/smb? pneumatic needs to be able to read and write in the incomplete folder. Pneumatic also needs to be able to communicate with SAB
Last but not least, logs logs and logs :-)

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
find quote
ferry Offline
Member
Posts: 62
Joined: Apr 2009
Reputation: 0
Post: #963
Thanks to both of you for replying.

The incomplete folder is the default one the sabnzbd installation uses on my ubuntu server box, local on that box. I have the folder as an SMB share and also an NFS share and have tried both. In xbmcbuntu I can copy a file using the file manager part of xbmc to that incomplete folder no problem so it's not as if the permissions as set wrong. I will post logs asap.
(This post was last modified: 2012-04-09 20:46 by ferry.)
find quote
mattisi Offline
Junior Member
Posts: 13
Joined: Apr 2012
Reputation: 0
Post: #964
@ferry

same problem here, every error ( wrong ip,port ..) then i just entered the incomplete folder path manually and it works

@all

allow_streaming = 1
first option: play video files in gui is checked

but wenn i click on an nzb it always/only download and never play...
any ideas?

EDIT:
by manually changing the incomplete folder i have made a mistake. now it works! so let me investigate further this great pulgin!
(This post was last modified: 2012-04-10 00:57 by mattisi.)
find quote
Popeye Offline
Posting Freak
Posts: 879
Joined: Aug 2009
Reputation: 25
Location: Sweden
Post: #965
(2012-04-09 20:55)mattisi Wrote:  @ferry

same problem here, every error ( wrong ip,port ..) then i just entered the incomplete folder path manually and it works

@all

allow_streaming = 1
first option: play video files in gui is checked

but wenn i click on an nzb it always/only download and never play...
any ideas?

log = help Big Grin

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
find quote
Adam B. Offline
Member
Posts: 88
Joined: Mar 2009
Reputation: 0
Post: #966
I'm seeing a lot of download errors with the following message:

Quote:20:25:17 T:139756506429184 ERROR: Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/storage/.xbmc/addons/plugin.program.pneumatic/default.py", line 371, in nzf_to_bottom
SABNZBD.file_list_position(sab_nzo_id, diff_list, 3)
File "/storage/.xbmc/addons/plugin.program.pneumatic/sabnzbd.py", line 292, in file_list_position
url = url + "&" + nzf_id + "=on"
TypeError: coercing to Unicode: need string or buffer, NoneType found
20:26:00 T:139756608378624 ERROR: Error Type: <type 'exceptions.AttributeError'>
20:26:00 T:139756608378624 ERROR: Error Contents: 'NoneType' object has no attribute 'mb'
20:26:00 T:139756608378624 ERROR: Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.program.pneumatic/default.py", line 769, in <module>
pre_play(nzbname, nzo=sab_nzo_id)
File "/storage/.xbmc/addons/plugin.program.pneumatic/default.py", line 211, in pre_play
iscanceled = get_nzf(folder, sab_nzo_id, nzf)
File "/storage/.xbmc/addons/plugin.program.pneumatic/default.py", line 310, in get_nzf
return wait_for_nzf(folder, sab_nzo_id, nzf)
File "/storage/.xbmc/addons/plugin.program.pneumatic/default.py", line 341, in wait_for_nzf
percent, label = utils.wait_for_rar_label(nzo, m_nzf, time_now)
File "/storage/.xbmc/addons/plugin.program.pneumatic/utils.py", line 266, in wait_for_rar_label
mb = nzf.mb
AttributeError: 'NoneType' object has no attribute 'mb'

Also, browsing seems to be broken for me on nzb.su with the newznab plugin. The category list loads, but when I choose the category, it says "Malformed Result", and I only get the search button. Searching works just fine though and returns results without a problem. There's nothing in the logs.

Edit: This is Openelec (Linux) with the sabnzbd share mounted via NFS.
(This post was last modified: 2012-04-10 02:31 by Adam B..)
find quote
Popeye Offline
Posting Freak
Posts: 879
Joined: Aug 2009
Reputation: 25
Location: Sweden
Post: #967
(2012-04-10 02:30)Adam B. Wrote:  I'm seeing a lot of download errors with the following message:

Quote:20:25:17 T:139756506429184 ERROR: Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/storage/.xbmc/addons/plugin.program.pneumatic/default.py", line 371, in nzf_to_bottom
SABNZBD.file_list_position(sab_nzo_id, diff_list, 3)
File "/storage/.xbmc/addons/plugin.program.pneumatic/sabnzbd.py", line 292, in file_list_position
url = url + "&" + nzf_id + "=on"
TypeError: coercing to Unicode: need string or buffer, NoneType found
20:26:00 T:139756608378624 ERROR: Error Type: <type 'exceptions.AttributeError'>
20:26:00 T:139756608378624 ERROR: Error Contents: 'NoneType' object has no attribute 'mb'
20:26:00 T:139756608378624 ERROR: Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.program.pneumatic/default.py", line 769, in <module>
pre_play(nzbname, nzo=sab_nzo_id)
File "/storage/.xbmc/addons/plugin.program.pneumatic/default.py", line 211, in pre_play
iscanceled = get_nzf(folder, sab_nzo_id, nzf)
File "/storage/.xbmc/addons/plugin.program.pneumatic/default.py", line 310, in get_nzf
return wait_for_nzf(folder, sab_nzo_id, nzf)
File "/storage/.xbmc/addons/plugin.program.pneumatic/default.py", line 341, in wait_for_nzf
percent, label = utils.wait_for_rar_label(nzo, m_nzf, time_now)
File "/storage/.xbmc/addons/plugin.program.pneumatic/utils.py", line 266, in wait_for_rar_label
mb = nzf.mb
AttributeError: 'NoneType' object has no attribute 'mb'

Also, browsing seems to be broken for me on nzb.su with the newznab plugin. The category list loads, but when I choose the category, it says "Malformed Result", and I only get the search button. Searching works just fine though and returns results without a problem. There's nothing in the logs.

Edit: This is Openelec (Linux) with the sabnzbd share mounted via NFS.

Thanks for the log. There is something fishy here but I have an idea about how to solve it.
Regarding Nzb.su. It suddenly broke and it used to work without any changes? All categories? Malformed result = pnaumatic cant parse the xml. Have a look at the rss feed in your browser.

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
find quote
Popeye Offline
Posting Freak
Posts: 879
Joined: Aug 2009
Reputation: 25
Location: Sweden
Post: #968
(2012-04-09 20:44)ferry Wrote:  Thanks to both of you for replying.

The incomplete folder is the default one the sabnzbd installation uses on my ubuntu server box, local on that box. I have the folder as an SMB share and also an NFS share and have tried both. In xbmcbuntu I can copy a file using the file manager part of xbmc to that incomplete folder no problem so it's not as if the permissions as set wrong. I will post logs asap.

I'm not sure I follow you but you must have the incomplete folder as a mounted share. It isnt good enough to just add it as a nfs/smb in XBMC you must mount it for the OS you are running (through python pneumatic cant read smb:// or nfs:// it must have a valid path, e.g /some/path/ or X:\another\path\ )

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
find quote
Popeye Offline
Posting Freak
Posts: 879
Joined: Aug 2009
Reputation: 25
Location: Sweden
Post: #969
A long night...

I finally made a repo so you dont have to manually update any more. Just install repository.popeye

Now you should get an update of Pneumatic and Newznab.

Pneumatic 0.2.5
- NoneType in nf_to_bottom list to SAB
- NoneType error due to timing with SAB (Simon_rb, here is your bug fixed Big Grin )
- Option to cache nzb
- Dont crash when tvrage is down

Newznab 0.2.3
- Fix crash on first init
- Remove import function

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
(This post was last modified: 2012-04-11 00:58 by Popeye.)
find quote
simon_rb Offline
Senior Member
Posts: 114
Joined: Nov 2011
Reputation: 1
Post: #970
(2012-04-11 00:56)Popeye Wrote:  A long night...

I finally made a repo so you dont have to manually update any more. Just install repository.popeye

Now you should get an update of Pneumatic and Newznab.

Pneumatic 0.2.5
- NoneType in nf_to_bottom list to SAB
- NoneType error due to timing with SAB (Simon_rb, here is your bug fixed Big Grin )
- Option to cache nzb
- Dont crash when tvrage is down

Newznab 0.2.3
- Fix crash on first init
- Remove import function

Cheers Mr P!!!

Sweet!!! A repo!!!!! Big Grin
(This post was last modified: 2012-04-11 01:35 by simon_rb.)
find quote
Post Reply