CouchPotato NZB ERROR

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • 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
landonw347
Newbie
Newbie
Posts: 4
Joined: September 28th, 2014, 3:24 am

CouchPotato NZB ERROR

Post by landonw347 »

I have my SABnzbd up and running on my Unraid server. Works fine with sickbeard. CouchPotato is another story.

When I try sending a NZB to SABnzbd from CouchPotato I get the following error in the log.

09-28 02:22:58ERROR[.core.downloaders.sabnzbd] Failed sending release, use API key, NOT the NZB key: Traceback (most recent call last):
HTTPError: 500 Server Error: Internal Server Error
09-28 02:22:58INFO[tato.core.plugins.release] Tried to download, but the "nzb" downloader gave an error

I've checked the API key several times and it is correct.

The error in SABnzbd is followed.

[28/Sep/2014:02:22:54] HTTP Traceback (most recent call last): File "/mnt/disk1/couchpotatosickbeard/cherrypy/_cprequest.py", line 660, in respond response.body = self.handler() File "/mnt/disk1/couchpotatosickbeard/cherrypy/lib/encoding.py", line 193, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/mnt/disk1/couchpotatosickbeard/cherrypy/_cpdispatch.py", line 25, in __call__ return self.callable(*self.args, **self.kwargs) File "/mnt/disk1/couchpotatosickbeard/sabnzbd/interface.py", line 425, in api return api_handler(kwargs) File "/mnt/disk1/couchpotatosickbeard/sabnzbd/api.py", line 101, in api_handler response = _api_table.get(mode, _api_undefined)(name, output, kwargs) File "/mnt/disk1/couchpotatosickbeard/sabnzbd/api.py", line 317, in _api_addfile size = len(name.value) TypeError: object of type 'NoneType' has no len()

I tried using https and heres the error in SABnzbd

[28/Sep/2014:02:34:42] HTTP Traceback (most recent call last): File "/mnt/disk1/couchpotatosickbeard/cherrypy/_cprequest.py", line 653, in respond self.body.process() File "/mnt/disk1/couchpotatosickbeard/cherrypy/_cpreqbody.py", line 707, in process super(RequestBody, self).process() File "/mnt/disk1/couchpotatosickbeard/cherrypy/_cpreqbody.py", line 320, in process proc(self) File "/mnt/disk1/couchpotatosickbeard/cherrypy/_cpreqbody.py", line 127, in process_multipart_form_data process_multipart(entity) File "/mnt/disk1/couchpotatosickbeard/cherrypy/_cpreqbody.py", line 121, in process_multipart part.process() File "/mnt/disk1/couchpotatosickbeard/cherrypy/_cpreqbody.py", line 318, in process self.default_proc() File "/mnt/disk1/couchpotatosickbeard/cherrypy/_cpreqbody.py", line 452, in default_proc self.file = self.read_into_file() File "/mnt/disk1/couchpotatosickbeard/cherrypy/_cpreqbody.py", line 464, in read_into_file self.read_lines_to_boundary(fp_out=fp_out) File "/mnt/disk1/couchpotatosickbeard/cherrypy/_cpreqbody.py", line 396, in read_lines_to_boundary line = self.fp.readline(1 << 16) File "/mnt/disk1/couchpotatosickbeard/cherrypy/_cpreqbody.py", line 595, in readline data = self.read(chunksize) File "/mnt/disk1/couchpotatosickbeard/cherrypy/_cpreqbody.py", line 560, in read data = self.fp.read(chunksize) File "/mnt/disk1/couchpotatosickbeard/cherrypy/wsgiserver/__init__.py", line 265, in read data = self.rfile.read(size) File "/mnt/disk1/couchpotatosickbeard/cherrypy/wsgiserver/__init__.py", line 932, in read assert n <= left, "recv(%d) returned %d bytes" % (left, n) AssertionError: recv(29) returned 16384 bytes

Any help is appreciated.
Last edited by landonw347 on September 28th, 2014, 3:46 am, edited 2 times in total.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: CouchPotato NZB ERROR

Post by shypike »

SABnzbd uses two api keys. One for only adding nab files, the other for full access.
It seems that CouchPotato needs full access, so pick the right key.
If you did pick the right key, we'll examine this further.
landonw347
Newbie
Newbie
Posts: 4
Joined: September 28th, 2014, 3:24 am

Re: CouchPotato NZB ERROR

Post by landonw347 »

Thank you for the reply shypike.

https://drive.google.com/file/d/0B9ZyRF ... sp=sharing

I used the highlighted text for the api. Is this the correct one?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: CouchPotato NZB ERROR

Post by shypike »

That's the correct key.
If SickBeard is working ok and SABnzbd too, than it must be a CP problem.
Don't use https, because it looks like there's a known bug in CP's web framework.
landonw347
Newbie
Newbie
Posts: 4
Joined: September 28th, 2014, 3:24 am

Re: CouchPotato NZB ERROR

Post by landonw347 »

Alright. Thank you for the information. I will look into fixing my CouchPotato and get back to you.
landonw347
Newbie
Newbie
Posts: 4
Joined: September 28th, 2014, 3:24 am

Re: CouchPotato NZB ERROR

Post by landonw347 »

I reinstalled CouchPotato and reverted to version 2.3 for Cherrypy and everything is up and running now. Thanks for the help!
Post Reply