[1.2.0RC1]URLGRABBER fails

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
User avatar
Taomyn
Full Member
Full Member
Posts: 127
Joined: August 25th, 2008, 3:29 am

[1.2.0RC1]URLGRABBER fails

Post by Taomyn »

I have a particular TV program, any episode from Con Man season 2, that when DogNZB sends the release for download, it fails with this error:

Code: Select all

IOError: [Errno 9] Bad file descriptor: u'D:\\Program Files\\<USERNAME>\\admin\\future\\Con.Man.S02E08.Im.with.Stupid.1080p.WEB-DL.DD5.1.H.264-CM.nzb.gz'
2017-01-13 17:52:00,755::DEBUG::[urlgrabber:271] URLGRABBER Traceback: 
Traceback (most recent call last):
  File "sabnzbd\urlgrabber.pyo", line 228, in run
IOError: [Errno 9] Bad file descriptor: u'D:\\Program Files\\<USERNAME>\\admin\\future\\Con.Man.S02E08.Im.with.Stupid.1080p.WEB-DL.DD5.1.H.264-CM.nzb.gz'
The debug log from this only shows the following:

Code: Select all

2017-01-13 17:51:46,078::DEBUG::[interface:523] API-call from 192.168.1.1 [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36] {'output': u'json', 'apikey': u'<HASH>e32b0cc', 'limit': u'5', 'mode': u'queue'}
2017-01-13 17:51:46,078::DEBUG::[interface:523] API-call from 192.168.1.1 [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36] {'output': u'json', 'apikey': u'<HASH>e32b0cc', 'limit': u'10', 'mode': u'history'}
2017-01-13 17:51:58,782::DEBUG::[interface:523] API-call from 190.10.14.170 [ColdFusion] {'output': u'xml', 'apikey': u'<HASH>1d27270', 'mode': u'version'}
2017-01-13 17:51:59,403::DEBUG::[interface:523] API-call from 190.10.14.170 [ColdFusion] {'nzbname': u'Con.Man.S02E08.Im.with.Stupid.1080p.WEB-DL.DD5.1.H.264-CM', 'apikey': u'<HASH>1d27270', 'name': u'https://dognzb.cr/fetch/<HASH>c75da93/<HASH>a975f18', 'priority': u'-1', 'mode': u'addurl', 'output': u'xml'}
2017-01-13 17:51:59,404::INFO::[__init__:552] Fetching https://dognzb.cr/fetch/<HASH>c75da93/<HASH>a975f18
2017-01-13 17:51:59,404::INFO::[nzbqueue:258] Saving queue
2017-01-13 17:51:59,404::DEBUG::[__init__:897] Saving data for <USERNAME>_nzo_3jqobi in \\?\D:\Program Files\<USERNAME>\admin\future
2017-01-13 17:51:59,410::INFO::[__init__:970] Saving data for queue10.sab in D:\Program Files\<USERNAME>\admin\queue10.sab
2017-01-13 17:51:59,415::INFO::[urlgrabber:110] Grabbing URL https://dognzb.cr/fetch/<HASH>c75da93/<HASH>a975f18
2017-01-13 17:52:00,411::DEBUG::[misc:201] Convert index site category "TV > HD" to user-cat "tv"
2017-01-13 17:52:00,753::ERROR::[urlgrabber:270] URLGRABBER CRASHED
Traceback (most recent call last):
  File "sabnzbd\urlgrabber.pyo", line 228, in run
IOError: [Errno 9] Bad file descriptor: u'D:\\Program Files\\<USERNAME>\\admin\\future\\Con.Man.S02E08.Im.with.Stupid.1080p.WEB-DL.DD5.1.H.264-CM.nzb.gz'
2017-01-13 17:52:00,755::DEBUG::[urlgrabber:271] URLGRABBER Traceback: 
Traceback (most recent call last):
  File "sabnzbd\urlgrabber.pyo", line 228, in run
IOError: [Errno 9] Bad file descriptor: u'D:\\Program Files\\<USERNAME>\\admin\\future\\Con.Man.S02E08.Im.with.Stupid.1080p.WEB-DL.DD5.1.H.264-CM.nzb.gz'
2017-01-13 17:52:01,078::DEBUG::[interface:523] API-call from 192.168.1.1 [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36] {'output': u'json', 'apikey': u'<HASH>e32b0cc', 'limit': u'5', 'mode': u'queue'}
2017-01-13 17:52:01,081::DEBUG::[interface:523] API-call from 192.168.1.1 [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36] {'output': u'json', 'apikey': u'<HASH>e32b0cc', 'limit': u'10', 'mode': u'history'}
If I download the nzb and then place it on the Windows share I also have monitored by SABnzbd, the release downloads perfectly. It only fails via the push from DogNZB.
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: [1.2.0RC1]URLGRABBER fails

Post by safihre »

It's because this file starts with a reserved word in Windows. "Con"
https://www.google.ch/search?q=windows+ ... file+names
We will implement a more proper way of handeling these files in an upcoming release of Sabnzbd.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
Taomyn
Full Member
Full Member
Posts: 127
Joined: August 25th, 2008, 3:29 am

Re: [1.2.0RC1]URLGRABBER fails

Post by Taomyn »

safihre wrote:It's because this file starts with a reserved word in Windows. "Con"
https://www.google.ch/search?q=windows+ ... file+names
We will implement a more proper way of handeling these files in an upcoming release of Sabnzbd.
Might explain why the NZB file I download for these episodes start with an underscore e.g. _Con.Man.S02E08.Im.with.Stupid.1080p.WEB-DL.DD5.1.H.264-CM

Can you confirm if the removal of the underscore is SABnzbd or something when the DogNZB pushes the release? If it's the latter, then I can report the problem to them.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [1.2.0RC1]URLGRABBER fails

Post by shypike »

Could be that we filter them.
We've already decided to tackle the "con.", "aux." etc issue for release 1.2.1
We cannot solve the problem completely, but at least prevent unnecessary harm (like in folder titles)
and make it so that it doesn't affect other jobs.
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: [1.2.0RC1]URLGRABBER fails

Post by safihre »

In 1.2.1 these files can be handled now.
You can download the 1.2.1 beta here: https://sabnzbd.org/downloads
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
Taomyn
Full Member
Full Member
Posts: 127
Joined: August 25th, 2008, 3:29 am

Re: [1.2.0RC1]URLGRABBER fails

Post by Taomyn »

Excellent, thanks - I've just installed it and will give it a test later.
User avatar
Taomyn
Full Member
Full Member
Posts: 127
Joined: August 25th, 2008, 3:29 am

Re: [1.2.0RC1]URLGRABBER fails

Post by Taomyn »

Confirm it works for the ones that were failing for me before. Great job, thanks.
Post Reply