Page 1 of 1

Downloads Twice

Posted: August 5th, 2013, 4:26 am
by CBers
Hi.

Over the last week, I've had TV episodes download twice, even though SickBeard only (appears) to add them once.

I am running v0.7.14 of SabNzbD.

Any idea what could be causing this please, and what I could look for in the log(s).

TIA.

Re: Downloads Twice

Posted: August 6th, 2013, 1:32 pm
by shypike
Usually it means that you're putting NZB files in the "watched folder" and also sending them in another way to SABnzbd.
The download report of a job (in History) will show you the source of the NZB file.
(It does mean you have to download both items.)

Re: Downloads Twice

Posted: August 6th, 2013, 3:32 pm
by CBers
Thanks for responding shypike.

I'm sending NZBs direct to SABNZB and not putting them in a "watched folder".

Both entries have the source set to the NZB location, not a local location.

Re: Downloads Twice

Posted: August 7th, 2013, 7:19 am
by shypike
If the items are sent to SABnzbd by SickBeard through the API,
then it's SickBeard that sends them twice for some reason.
One work-around is to tell SABnzbd to ignore duplicate entries (Config->Switches).
(You must set an NZB backup folder in Config->Folders).

Re: Downloads Twice

Posted: August 7th, 2013, 7:26 am
by CBers
Thanks shypike, I'll give that a go.

What is the backup folder used for please, just storing .nzb files ?

Re: Downloads Twice

Posted: August 7th, 2013, 12:23 pm
by Demantor
CBers wrote:What is the backup folder used for please, just storing .nzb files ?
Yes.

Re: Downloads Twice

Posted: August 20th, 2013, 5:50 pm
by CBers
OK, duplicate nzbs are being ignored now., but I see them coming from both SickBeard and CouchPotato.

Could it be a SabNzbD issue?

TIA.

Re: Downloads Twice

Posted: August 21st, 2013, 6:13 am
by CBers
Still getting duplicate NZBs being ignored, this time from CouchPotato:

Code: Select all

2013-08-20 23:38:01,213::WARNING::[nzbstuff:804] Ignoring duplicate NZB "L.A.2013.1080p.BluRay.x264-LCHD.cp(tt1227931).nzb"
2013-08-20 23:49:07,101::WARNING::[nzbstuff:804] Ignoring duplicate NZB "star.trek.into.darkness.2013.1080p.web-dl.h264-publichd.cp(tt1408101).nzb"
2013-08-20 23:49:20,280::WARNING::[nzbstuff:804] Ignoring duplicate NZB "L.A.2013.1080p.BluRay.x264-LCHD.cp(tt1227931).nzb"
Also seeing these errors in the SABNZBD log:

Code: Select all

2013-08-20 23:27:39,013::ERROR::[_cplogging:55] [20/Aug/2013:23:27:39]  Traceback (most recent call last):
  File "cherrypy\_cprequest.pyo", line 98, in run
  File "cherrypy\_cprequest.pyo", line 58, in __call__
  File "cherrypy\lib\auth.pyo", line 58, in basic_auth
  File "cherrypy\lib\auth.pyo", line 10, in check_auth
  File "cherrypy\lib\httpauth.pyo", line 181, in parseAuthorization
  File "cherrypy\lib\httpauth.pyo", line 162, in _parseBasicAuthorization
  File "base64.pyo", line 321, in decodestring
Error: Incorrect padding

2013-08-20 23:27:39,013::INFO::[_cplogging:55] [20/Aug/2013:23:27:39] HTTP 
Request Headers:
  AUTHORIZATION: Basic HIDDEN
  Content-Type: text/html
  HOST: HIDDEN:8080
  ACCEPT: text/html, */*
  USER-AGENT: Mozilla/3.0 (compatible; Indy Library)
  Remote-Addr: 218.199.102.59
2013-08-20 23:27:39,013::DEBUG::[_cplogging:55] [20/Aug/2013:23:27:39] HTTP Traceback (most recent call last):
  File "cherrypy\_cprequest.pyo", line 603, in respond
  File "cherrypy\_cprequest.pyo", line 98, in run
  File "cherrypy\_cprequest.pyo", line 58, in __call__
  File "cherrypy\lib\auth.pyo", line 58, in basic_auth
  File "cherrypy\lib\auth.pyo", line 10, in check_auth
  File "cherrypy\lib\httpauth.pyo", line 181, in parseAuthorization
  File "cherrypy\lib\httpauth.pyo", line 162, in _parseBasicAuthorization
  File "base64.pyo", line 321, in decodestring
Error: Incorrect padding
Should I post them elsewhere ??

Re: Downloads Twice

Posted: August 23rd, 2013, 5:41 am
by shypike
SABnzbd cannot prevent CP from sending multiple NZBs.
The errors in the log show that the calling party doesn't use the authentication protocol properly.
I have no knowledge of this, CherryPy is a (fairly standard) web building block and it's usually right about things like this.

Re: Downloads Twice

Posted: August 30th, 2013, 7:40 am
by CBers
Just to close this off, as I have reinstalled SickBeard, sabnzbd and CouchPotato and I haven't had any further duplicate nzbs.

Thanks for your help.