Cherrypy error in V1.0.0??

Report & discuss bugs found in 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
viTRIfY13
Newbie
Newbie
Posts: 3
Joined: June 24th, 2015, 11:47 pm

Cherrypy error in V1.0.0??

Post by viTRIfY13 »

Hi, I recently upgrade from 0.7.20 to v1.0.0 and I'm getting some errors that I'm hoping you can help me with. I use PowerNZB on my phone to search an index website, grab the nzb, and then upload it to my sabnzbd at home. Everything worked perfectly with 0.7.20, but now with the upgrade, I'm getting the following error and I don't know what it means:

Code: Select all

ERROR 21/03/2016 21:00 [21/Mar/2016:21:00:59] HTTP 
Traceback (most recent call last):
  File "cherrypy\_cprequest.pyo", line 663, in respond
  File "cherrypy\_cpreqbody.pyo", line 996, in process
  File "cherrypy\_cpreqbody.pyo", line 540, in process
  File "cherrypy\_cpreqbody.pyo", line 223, in process_multipart_form_data
  File "cherrypy\_cpreqbody.pyo", line 213, in process_multipart
  File "cherrypy\_cpreqbody.pyo", line 599, in from_fp
  File "cherrypy\_cpreqbody.pyo", line 615, in read_headers
ValueError: MIME requires CRLF terminators: 'Content-Disposition: form-data; name="name"; filename="American.Horror.Story.S01E02.720p.WEB-DL.DD5.1.H.264-CtrlHD.nzb"\n'
Thanks
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: Cherrypy error in V1.0.0??

Post by sander »

Did you see https://forums.sabnzbd.org/viewtopic.ph ... 50#p102069 ?

So:

Code: Select all

ValueError: MIME requires CRLF terminators: 'Content-Disposition: form-data; name="name"; filename="American.Horror.Story.S01E02.720p.WEB-DL.DD5.1.H.264-CtrlHD.nzb"\n'
It requires CR and LF, but there is only a LF (the '\n'). So a problem on the client side (PowerNZB)
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Cherrypy error in V1.0.0??

Post by shypike »

And the CherryPy being a bit too strict in enforcing the protocol?
Should we patch CherryPy?
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Cherrypy error in V1.0.0??

Post by safihre »

Probably for the best. It seems to know that the MIME ends, it just doesn't want to accept it :P
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply