Page 1 of 2
[Solved] Adding links directly from indexer not working
Posted: September 29th, 2015, 3:33 am
by juju75
Hi,
running Linuxmint 17.2 / xfce / 64bit
sabnzb 0.8.0beta1 installed via ppa
since the last update I'm getting an error when clicking the download link in indexers (tested with 3 different indexers). Tested with different files. When downloading and adding the nzb manually it works fine. any ideas?
cheers
Code: Select all
2015-09-29 10:14:14,892::ERROR::[_cplogging:216] [29/Sep/2015:10:14:14] HTTP
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 663, in respond
self.body.process()
File "/usr/share/sabnzbdplus/cherrypy/_cpreqbody.py", line 996, in process
super(RequestBody, self).process()
File "/usr/share/sabnzbdplus/cherrypy/_cpreqbody.py", line 540, in process
proc(self)
File "/usr/share/sabnzbdplus/cherrypy/_cpreqbody.py", line 223, in process_multipart_form_data
process_multipart(entity)
File "/usr/share/sabnzbdplus/cherrypy/_cpreqbody.py", line 213, in process_multipart
part = entity.part_class.from_fp(entity.fp, ib)
File "/usr/share/sabnzbdplus/cherrypy/_cpreqbody.py", line 599, in from_fp
headers = cls.read_headers(fp)
File "/usr/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="XXXXXXXXXXXXXXXXXXXXXXX.par2.nzb"\n'
(changed the actual nzb name to XXXXXXXXXXXXXXXXXXXXXXX)
Re: Adding links directly from indexer not working
Posted: September 29th, 2015, 4:02 am
by shypike
Can you PM a few links?
Re: Adding links directly from indexer not working
Posted: September 30th, 2015, 1:58 am
by Doesel
Hey,
any news on this? Have the same problem since updating to this version...
Re: Adding links directly from indexer not working
Posted: September 30th, 2015, 2:54 am
by shypike
Doesel wrote:Hey,
any news on this? Have the same problem since updating to this version...
It would be helpful if you tell which operating system you are using.
Re: Adding links directly from indexer not working
Posted: September 30th, 2015, 2:57 am
by Doesel
Oh sorry
I'm running sabnzbd 0.8.0beta1 on my ubuntu headless server. Do you need more infos?
Re: Adding links directly from indexer not working
Posted: September 30th, 2015, 3:31 am
by shypike
Doesel wrote:Oh sorry
I'm running sabnzbd 0.8.0beta1 on my ubuntu headless server. Do you need more infos?
The Ubuntu release would be handy
You're running the server version, I assume?
Also, please PM me an example link.
Chances are that you're using Python 2.7.9 or 2.7.10 which verifies HTTPS certificates.
If so, go to Config->Special and disable enable_https_verification
(Or use a better indexer).
Re: Adding links directly from indexer not working
Posted: September 30th, 2015, 4:24 am
by Doesel
I'm running Ubuntu 12.04.5 LTS, the Python version is 2.7.3.
I'll disable the https_verification and will test again. I can provide links later today, I'm not at home right now
Thanks in advance!
Re: Adding links directly from indexer not working
Posted: September 30th, 2015, 5:08 am
by shypike
Doesel wrote:I'm running Ubuntu 12.04.5 LTS, the Python version is 2.7.3.
I'll disable the https_verification and will test again. I can provide links later today, I'm not at home right now
Thanks in advance!
It's not the HTTPS verification, since you're on Python 2.7.3.
I still appreciate receiving the link.
Re: Adding links directly from indexer not working
Posted: September 30th, 2015, 7:06 am
by jcfp
While you're at it, please clarify what you guys mean by this:
an error when clicking the download link in indexers
Is that
download link provided by indexer-based integration (your api or nzb key and address details filled out on the indexer site allowing it direct access to your sab queue) or by a browser plugin (nzbfox, nzbdstatus, ...) that adds extra links into the webpages of the indexer?
Re: Adding links directly from indexer not working
Posted: September 30th, 2015, 9:35 am
by juju75
jcfp wrote:While you're at it, please clarify what you guys mean by this:
an error when clicking the download link in indexers
Is that
download link provided by indexer-based integration (your api or nzb key and address details filled out on the indexer site allowing it direct access to your sab queue) or by a browser plugin (nzbfox, nzbdstatus, ...) that adds extra links into the webpages of the indexer?
Hi,
thanks problem found - it's the plugin! And sorry for not clarifying in the first place (after all these years I forgot that it's a separate plugin directing the nzb
)
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.
Thanks to you two for support!
cheers
Re: Adding links directly from indexer not working
Posted: September 30th, 2015, 3:58 pm
by shypike
juju75 wrote:
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
There must have been a subtle change in the API that breaks this plugin, that we're not aware of.
nzbdStatus fails as well with 0.8.0
The API has been extended, but kept backward compatible, at least that was the intention.
Some return values have changed, but in a way that a well-written plugin would be able to handle.
Possibly the plugin writer took some shortcuts.
(Or we did something stupid.)
Re: [Solved] Adding links directly from indexer not working
Posted: September 30th, 2015, 4:38 pm
by Doesel
Ok, and a quick reply from my side. It is working now, but I don't know why, what changed or whatever. I first tried to disable https_verification, but that didn't change anything, so I enabled it again. And since then works again.
Thanks for your help!
Re: [Solved] Adding links directly from indexer not working
Posted: September 30th, 2015, 7:35 pm
by safihre
I think it's probably the CherryPy upgrade in 0.8 causing this?
Indeed the plugin should send the right request, but maybe CherryPy got pickier?
Re: [Solved] Adding links directly from indexer not working
Posted: October 16th, 2015, 4:05 am
by dyna
I have the same problem.
Using 0.8.0.Beta1 on Ubuntu 15.04.
When adding nzbs, no matter from which indexer, addon for firefox or directly to sabnzbd, i get this error.
However, when sickrage adds them it works.
Code: Select all
[16/Oct/2015:11:09:26] HTTP Traceback (most recent call last): File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 663, in respond self.body.process() File "/usr/share/sabnzbdplus/cherrypy/_cpreqbody.py", line 996, in process super(RequestBody, self).process() File "/usr/share/sabnzbdplus/cherrypy/_cpreqbody.py", line 540, in process proc(self) File "/usr/share/sabnzbdplus/cherrypy/_cpreqbody.py", line 223, in process_multipart_form_data process_multipart(entity) File "/usr/share/sabnzbdplus/cherrypy/_cpreqbody.py", line 213, in process_multipart part = entity.part_class.from_fp(entity.fp, ib) File "/usr/share/sabnzbdplus/cherrypy/_cpreqbody.py", line 599, in from_fp headers = cls.read_headers(fp) File "/usr/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="nameofit.nzb"\n'
Re: [Solved] Adding links directly from indexer not working
Posted: October 16th, 2015, 11:39 am
by shypike
It's probably what Safihre said: the new web CherryPy fromework only accepts
standards-compliant communication.
The benefits of using the new CherryPy outweighs the fact that it is more pickier about standards.