Not possible to add nzb on mac os x 10.6 (0.5 beta 1)

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
Alexandre
Newbie
Newbie
Posts: 3
Joined: May 4th, 2008, 6:59 am

Not possible to add nzb on mac os x 10.6 (0.5 beta 1)

Post by Alexandre »

Like i said i tried adding many and many nzb but it didn't work.

Hi, first of all i need to say that i add 0.4.12 that work fluently.
Second point, i did like you said if there was any probleme to remove all previous files and make a clean install i did that.

Now maybe it's another dumb thing i did'nt read and sorry for asking then.

Thank you for reading me.
biophon
Newbie
Newbie
Posts: 1
Joined: December 1st, 2009, 4:50 am

Re: Not possible to add nzb on mac os x 10.6 (0.5 beta 1)

Post by biophon »

I don't have any problems here. What happens on your end?
kabiki
Newbie
Newbie
Posts: 4
Joined: December 2nd, 2009, 5:03 am

Re: Not possible to add nzb on mac os x 10.6 (0.5 beta 1)

Post by kabiki »

I have problems too. The log says:

Fetching NZB for Newzbin report #5238255
Successfully fetched report 5238255 - Andre Rieu - You'll Never Walk Alone (2009) (cat=Music) (Andre Rieu - You'll Never Walk Alone (2009).nzb)
Error while adding SABnzbd_nzo_WQ_Jzs, removing
/Users/kabiki/Library/Application Support/SABnzbd/cache/SABnzbd_nzo_WQ_Jzs removed

I have mac os x 10.6 and 0.5 beta 1. No problems with 0.4.12.
kabiki
Newbie
Newbie
Posts: 4
Joined: December 2nd, 2009, 5:03 am

Re: Not possible to add nzb on mac os x 10.6 (0.5 beta 1)

Post by kabiki »

I have a more extended log now:

2009-12-02 11:25:07,430::DEBUG::[newzbin:161] Adding msgid 5238215 to the queue
2009-12-02 11:25:07,431::DEBUG::[newzbin:183] Popping msgid 5238215
2009-12-02 11:25:07,432::INFO::[newzbin:230] Fetching NZB for Newzbin report #5238215
2009-12-02 11:25:08,117::INFO::[newzbin:328] Successfully fetched report 5238215 - Helene Fischer - So Wie Ich Bin (2009) (cat=Music) (Helene Fischer - So Wie Ich Bin (2009).nzb)
2009-12-02 11:25:08,118::DEBUG::[nzbstuff:1183] Convert newzbin-cat "Music" to user-cat "music"
2009-12-02 11:25:08,118::DEBUG::[misc:76] Job gets options 3
2009-12-02 11:25:08,118::DEBUG::[misc:96] Job gets priority undefined
2009-12-02 11:25:08,119::INFO::[nzbqueue:121] Regenerating item: SABnzbd_nzo_5binWw
2009-12-02 11:25:08,121::ERROR::[nzbqueue:150] Error while adding SABnzbd_nzo_5binWw, removing
2009-12-02 11:25:08,121::DEBUG::[nzbqueue:151] Traceback:
Traceback (most recent call last):
  File "sabnzbd/nzbqueue.pyc", line 134, in insert_future
  File "sabnzbd/nzbstuff.pyc", line 543, in __init__
  File "xml/sax/__init__.pyc", line 49, in parseString
  File "xml/sax/expatreader.pyc", line 107, in parse
  File "xml/sax/xmlreader.pyc", line 123, in parse
  File "xml/sax/expatreader.pyc", line 207, in feed
  File "xml/sax/expatreader.pyc", line 381, in external_entity_ref
  File "xml/sax/saxutils.pyc", line 298, in prepare_input_source
  File "urllib.pyc", line 87, in urlopen
  File "urllib.pyc", line 206, in open
  File "urllib.pyc", line 317, in open_http
  File "urllib.pyc", line 1398, in proxy_bypass
  File "urllib.pyc", line 1367, in proxy_bypass_macosx_sysconf
UnboundLocalError: local variable 'hostIP' referenced before assignment
2009-12-02 11:25:08,121::DEBUG::[articlecache:122] Purgable articles -> []
2009-12-02 11:25:08,122::INFO::[__init__:686] /Users/kabiki/Library/Application Support/SABnzbd/cache/SABnzbd_nzo_5binWw removed

Hope that helps!
rAf
Moderator
Moderator
Posts: 546
Joined: April 28th, 2008, 2:35 pm
Location: France
Contact:

Re: Not possible to add nzb on mac os x 10.6 (0.5 beta 1)

Post by rAf »

I've got the same issue when adding a newzbin report id on url field in Plush on Windows 7.
Filled ticket #346.

Thanks for reporting !
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Not possible to add nzb on mac os x 10.6 (0.5 beta 1)

Post by shypike »

Do either of you have a proxy server configured in the operating system?
(or in IE8 for Wndows)

I have received one report from someone who had a non-functioning
proxy server configured in IE8 and somehow the Python runtime
library insisted on using it.

The reason my suspicion is raised is that the crash occurs while
processing the NZB file after it has been downloaded from newzbin.
What happened in the above scenario is that Python's XML parser
want to get the DTD file from newzbin (this is the file formally describing the NZB format).
It tries to use the configured proxy server and crashes if it doesn't work.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Not possible to add nzb on mac os x 10.6 (0.5 beta 1)

Post by shypike »

As a check, could you modify an NZB file?
Remove this line from the file:

Code: Select all

<!DOCTYPE nzb PUBLIC "-//newzBin//DTD NZB 1.0//EN" "http://www.newzbin.com/DTD/nzb/nzb-1.0.dtd">
rAf
Moderator
Moderator
Posts: 546
Joined: April 28th, 2008, 2:35 pm
Location: France
Contact:

Re: Not possible to add nzb on mac os x 10.6 (0.5 beta 1)

Post by rAf »

Oups tested a little fast for me, my login/pass on newzbin was bad  :P
Sorry...
I've also tested on OSX and it works for me with last svn rev...
Maybe a proxy issue...
MaFL
Newbie
Newbie
Posts: 5
Joined: April 24th, 2008, 5:36 pm

Re: Not possible to add nzb on mac os x 10.6 (0.5 beta 1)

Post by MaFL »

shypike wrote: As a check, could you modify an NZB file?
Remove this line from the file:

Code: Select all

<!DOCTYPE nzb PUBLIC "-//newzBin//DTD NZB 1.0//EN" "http://www.newzbin.com/DTD/nzb/nzb-1.0.dtd">
After that it will work.

Running an ad blocker (http://glimmerblocker.org). It works as a proxy. Same problem.
It works if the proxy is turned off or DOCTYPE line is removed.
Last edited by MaFL on December 2nd, 2009, 10:52 am, edited 1 time in total.
kabiki
Newbie
Newbie
Posts: 4
Joined: December 2nd, 2009, 5:03 am

Re: Not possible to add nzb on mac os x 10.6 (0.5 beta 1)

Post by kabiki »

shypike wrote: As a check, could you modify an NZB file?
Remove this line from the file:

Code: Select all

<!DOCTYPE nzb PUBLIC "-//newzBin//DTD NZB 1.0//EN" "http://www.newzbin.com/DTD/nzb/nzb-1.0.dtd">
Confirmed working when removing that line in the nzb or if I turn off Glimmerblocker and Hotspot Shield.

Thanks!
Alexandre
Newbie
Newbie
Posts: 3
Joined: May 4th, 2008, 6:59 am

Re: Not possible to add nzb on mac os x 10.6 (0.5 beta 1)

Post by Alexandre »

Well not using a proxy but firefox 3.5.5 with adbock.

It work like all other without the line but kinda an annoying thing to do. I tried without adblock in firefox too but didn't work.
I go back 0.4.12 wich is already really good.

Thanks for replying.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Not possible to add nzb on mac os x 10.6 (0.5 beta 1)

Post by shypike »

The main problem is that SABnzbd is always trying to read a file from newzbin.com.
This is the so-called DTD file.
It isn't needed, but the XML library we picked for 0.5.0
insists on reading it anyway and also uses a troublesome function for it.
(One that obviously has problems with any proxy-like configuration).

We need to implement a work-around for this.
Will be done for Beta2.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Not possible to add nzb on mac os x 10.6 (0.5 beta 1)

Post by shypike »

Found a work-around.
Need to do some additional testing, but this will be fixed in Beta2.
MaFL
Newbie
Newbie
Posts: 5
Joined: April 24th, 2008, 5:36 pm

Re: Not possible to add nzb on mac os x 10.6 (0.5 beta 1)

Post by MaFL »

Tnx!!
Post Reply