Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding nzb to nzbget not working. #163

Open
oppsig opened this issue Nov 3, 2015 · 18 comments
Open

adding nzb to nzbget not working. #163

oppsig opened this issue Nov 3, 2015 · 18 comments

Comments

@oppsig
Copy link

oppsig commented Nov 3, 2015

when adding nzb to nzbget from nzbmegasearch i get the following error.
"megasearch - INFO - Error connecting server or downloading nzb: 'NoneType' object has no attribute 'headers'"

Seams like a problem with the "tonzbget" method in megasearc.py.
When iIfollow the code "res = self.wrp.beam(pulrlparse)" there is no res.headers!

@albino1
Copy link

albino1 commented Nov 3, 2015

Try the Mirabis branch, it's much more up-to-date:

https://github.com/Mirabis/usntssearch

@oppsig
Copy link
Author

oppsig commented Nov 4, 2015

Already tried that fork earlier, not any difference for me at least.

@gilly65
Copy link

gilly65 commented Nov 4, 2015

It's not just you, I couldn't get that to work either.

@albino1
Copy link

albino1 commented Nov 4, 2015

Could it be related to the Warping issue in v0.55 that affected sending to SABnzbd as well?

In #158 I was able to solve the problem in v0.55 by Enabling Warping in the settings. I eventually just downgraded back to v0.53 before those changes were implemented rather than struggle with the warping issue.

@staticn0de
Copy link

I'll add a plus one to this. Won't work for me either and I have tried several different forks.

Using the default credentials, I get this message:

2015-11-06 19:47:53,660 - TERMINAL - INFO - http://nzbget:[email protected]:6789/xmlrpc
2015-11-06 19:47:53,663 - megasearch - INFO - Error connecting server or downloading nzb: 'NoneType' object has no attribute 'headers'

@mr-pj
Copy link

mr-pj commented Nov 6, 2015

the old version works quite well for me - but the codebase for this is really a mess

@albino1
Copy link

albino1 commented Nov 6, 2015

Maybe try downgrading NZBGet and see if that fixes it. If it does, then at least we know the source of the problem.

@staticn0de
Copy link

I got it to work after talking to the guys on /usenet over at reddit. It only worked if I used the non-ssl port to send to nzbget.

The version that worked is nzbget 16.3 and nzbmegasearch ver. 0.47 -- # 2 -- 0byte

@Undeadhunter
Copy link

+1 with this issue. Keep getting error with the headers.

Maybe one of the forks might solve it ... but it seems most of the people are using sabnzb on those

@staticn0de
Copy link

Undeadhunter, are you using nzb.su? I could get them all to work but that one.

I had to change the set up page from api+manual to just manual. This made dog and omgwtfnb work.

@Undeadhunter
Copy link

@staticn0de tried your manual setting, however keep getting the
megasearch - INFO - Error connecting server or downloading nzb: 'NoneType' object has no attribute 'headers'

It seems to be an issue with the sending of nzb to nzbget
I can download the nzb files without issues, but the automated setting no luck.

@Undeadhunter
Copy link

I think the problem lays somewhere in the

                    res = self.wrp.beam(pulrlparse)

like @oppsig said

Bug testing doesn't even allow me to print something after that line, it seems like it can't fill up the res variable.

However my knowledge of Python is 0, so I can't even to begin to figure out where it goes wrong.

@Undeadhunter
Copy link

Good news.
Figured it out

Please find a working version on:

I'll make some pull requests to pull it down
https://github.com/Undeadhunter/usntssearch

@Mirabis
Copy link

Mirabis commented Nov 10, 2015

@Undeadhunter will have to check both your pull request and the pending one today ; )

@Undeadhunter
Copy link

@Mirabis Thanks! I didn't clean the code, so might be best to remove the old code? To be fair, pretty much my first time using git ...

@Mirabis
Copy link

Mirabis commented Nov 11, 2015

@Undeadhunter somehow the results in sonarr are limited, but manual search works fine ;S

@Undeadhunter
Copy link

I noticed it as well with CP, however I didn't touch any of that part of
the code, only the button on the website.

On Wed, Nov 11, 2015, 01:49 Moreno Sint Hill [email protected]
wrote:

@Undeadhunter https://github.com/Undeadhunter somehow the results in
sonarr are limited, but manual search works fine ;S


Reply to this email directly or view it on GitHub
#163 (comment)
.

@Undeadhunter
Copy link

@oppsig can you test with master in @Mirabis fork?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants