Page 1 of 1

ValueError: MIME requires CRLF terminator

Posted: March 26th, 2016, 7:45 pm
by ravensorb
After updated to 1.0 -- I am starting to see a lot of the following errors when adding nzb links. Any ideas?

Code: Select all

	
[26/Mar/2016:17:43:09] HTTP Traceback (most recent call last): File "/usr/pbi/sabnzbd-amd64/share/sabnzbdplus/cherrypy/_cprequest.py", line 663, in respond self.body.process() File "/usr/pbi/sabnzbd-amd64/share/sabnzbdplus/cherrypy/_cpreqbody.py", line 996, in process super(RequestBody, self).process() File "/usr/pbi/sabnzbd-amd64/share/sabnzbdplus/cherrypy/_cpreqbody.py", line 540, in process proc(self) File "/usr/pbi/sabnzbd-amd64/share/sabnzbdplus/cherrypy/_cpreqbody.py", line 223, in process_multipart_form_data process_multipart(entity) File "/usr/pbi/sabnzbd-amd64/share/sabnzbdplus/cherrypy/_cpreqbody.py", line 213, in process_multipart part = entity.part_class.from_fp(entity.fp, ib) File "/usr/pbi/sabnzbd-amd64/share/sabnzbdplus/cherrypy/_cpreqbody.py", line 599, in from_fp headers = cls.read_headers(fp) File "/usr/pbi/sabnzbd-amd64/share/sabnzbdplus/cherrypy/_cpreqbody.py", line 615, in read_headers raise ValueError("MIME requires CRLF terminators: %r" % line) ValueError: MIME requires CRLF terminators: 'Content-Disposition: form-data; name="name"; filename="DownloadFile.nzb"\n'

Re: ValueError: MIME requires CRLF terminator

Posted: March 27th, 2016, 12:57 am
by safihre
We are aware and build a fix for 1.0.1 release.
Out of interest: how do you add NZBs? Using some plugin?

Re: ValueError: MIME requires CRLF terminator

Posted: March 27th, 2016, 1:58 am
by sander
If you use sabnzbdfox, read https://forums.sabnzbd.org/viewtopic.ph ... 50#p102069 and https://forums.sabnzbd.org/viewtopic.ph ... 57#p102074 telling to switch to another plugin:
The problem was the sabnzbdfox 1.2.1-signed plugin which I was using ever since but it seems to be outdated for version 0.8.x
I switched to the latest nzbfox 1.4.1-fix plugin and it everything runs like it is supposed to.
and
Switch to nzbFox.
nzbdstatus is out of maintenance, nzbFox is under active development.

Re: ValueError: MIME requires CRLF terminator

Posted: April 2nd, 2016, 8:53 am
by ravensorb
safihre wrote:We are aware and build a fix for 1.0.1 release.
Out of interest: how do you add NZBs? Using some plugin?
I was using both a firefox plug in and directly from the "add nzb" from the Web UI -- neither was working.