My Usenet (4 Viewers)

gizzard

Portal Member
January 14, 2007
72
22
Home Country
Iceland Iceland
Had already done that, But I upgraded my account to VIP and the the search started to work. Could be the cookies.

But still the same problem with the nzb.

2007-08-02 15:42:20,203::INFO::[sabnzbd.misc] Trying to import c:\sab\NZB_blackhole\COMPLETE.nzb
2007-08-02 15:42:21,203::ERROR::[nzbstuff] Trying to fix COMPLETE.nzb (will take some time)
Traceback (most recent call last):
File "sabnzbd\nzbstuff.pyo", line 329, in __init__
File "<string>", line 85, in XML
SyntaxError: not well-formed (invalid token): line 1, column 2
2007-08-02 15:42:21,937::ERROR::Error importing
Traceback (most recent call last):
File "sabnzbd\misc.pyo", line 81, in run
File "sabnzbd\nzbstuff.pyo", line 336, in __init__
File "<string>", line 85, in XML
SyntaxError: not well-formed (invalid token): line 1, column 2


I see also that it saves the nzb in the wrong place it saves it in the root
of sabnzbd instead of the nzb_blackhole. and are named nzh_blackholefilename.nzb :) But I think you knew that.

But the problem is only with files saved thru the plugin. I threw on nzb downloaded with the plugin into the nzb_blackhole but it trew an error. Downloaded the file manually and no error.

Hope I could describe it well enough :)
 

jburnette

Portal Pro
August 24, 2006
758
116
Kentucky
Home Country
United States of America United States of America
I see also that it saves the nzb in the wrong place it saves it in the root
of sabnzbd instead of the nzb_blackhole. and are named nzh_blackholefilename.nzb :) But I think you knew that.

But the problem is only with files saved thru the plugin. I threw on nzb downloaded with the plugin into the nzb_blackhole but it trew an error. Downloaded the file manually and no error.

Hope I could describe it well enough :)

I'm not exactly sure what's going on here. Can you connect to sab and copy/paste your dirscan directory? I THINK I've fixed the problem, but I need to make sure it would work in your situation. As far as the invalid NZB files go, can you kill SAB, download one with the plugin and e-mail it to me at jburnette (a t) gmail.com? I'm not having these two problems so it's hard for me to recreate them. I think what might be happening in this case is that special characters are being changed to their char code. I'm not positive on that though. Thanks.


EDIT:
gizzard,
Thanks for sending me the NZB. I think I see what your problem is. If you change the extension on that NZB to .zip you'll see that it is still a zipped NZB. If you are not a VIP member of NZBMatrix then all NZB files are sent to you zipped. The plugin will automatically unzip them if your grabber is not SAB. If your grabber is sab then it doesn't unzip them because SAB will do that for you. I think what's going on here is that you've checked the VIP box and you are not a VIP member. If you have just become one (I'm not so I don't really know) perhaps it will take them a little bit of time to update or there could be an option on their website under your account settings to zip them or not. I would uncheck the VIP box and then see what happens. Hope this helps, let me know what happens.
 

gizzard

Portal Member
January 14, 2007
72
22
Home Country
Iceland Iceland
But I am. I have downloaded from nzbmatrix in nzb not zip.

I can choose if want to dl the file in zip or not and I always download it in nzb.

Link for NZB
://nzbmatrix.com/nzb-download.php?id=140772&name=History%20Bites%20-%2049%20-%20Neolithic%20Park%20%286%2C000%20BC%29.%5Bnzbmatrix%5D.nzb&nozip=1

Link for ZIP
://nzbmatrix.com/nzb-download.php?id=140772&name=History%20Bites%20-%2049%20-%20Neolithic%20Park%20%286%2C000%20BC%29.%5Bnzbmatrix%5D.nzb[/url]


Think you have to add the "&nozip=1" here

Line 481. myusenet.vb
test.DownloadFile("http://nzbmatrix.com/nzb-download.php?id=" + itemnum, pathtostatus + nzbdir + filename + ".nzb")
I beleve the nozip flag tells the server to not zip the file.
 

jburnette

Portal Pro
August 24, 2006
758
116
Kentucky
Home Country
United States of America United States of America
OK, thanks. I really wasn't sure if my code was going to work for VIP members as I had no way to test it or know how NZBMatrix handled that. I will add that today, thanks. A temporary solution would be for you to uncheck the box so that the the plugin names the zipped file accordingly.
 

gizzard

Portal Member
January 14, 2007
72
22
Home Country
Iceland Iceland
More to debug :)

Now when ever I download a nzb it´s added to the queue 2 times.
That´s strange. I´ll try to find out why.
 

jburnette

Portal Pro
August 24, 2006
758
116
Kentucky
Home Country
United States of America United States of America
More to debug :)

Now when ever I download a nzb it´s added to the queue 2 times.
That´s strange. I´ll try to find out why.

Yeah, I noticed that problem when I was looking at the download strings. It's because I had left some code in there from before I added SAB and the VIP flags. It should only download twice if you are a VIP. I'm working on going through and fixing a lot of things that I just wrote in a hurry.
 

gizzard

Portal Member
January 14, 2007
72
22
Home Country
Iceland Iceland
I have found out what the problem is.

When you download the zip file to sabnzbd blackhole dir and then you unzip the file
sabnzbd unzips the file also and takes in in to queue. and the nzb file that the plugin unzips. It´s works when you disable the unzip switch in sabnzbd.
 

jburnette

Portal Pro
August 24, 2006
758
116
Kentucky
Home Country
United States of America United States of America
Hmm, it shouldn't be unzipping the files when adding to SAB. It only unzips if the grabber isn't SAB (ideally thats how its supposed to work). It's not doing it to me but I've also cleaned that code up a lot. Could have been a bug I incidentally fixed but I will double check. Thanks again.
 

Ryoga79

Portal Pro
January 14, 2007
55
1
45
It seems like i can't get the plugin to connect to my SAB instance - the server is running, with the default settings, and no authentication. However, when i try to connect to 127.0.0.1:8080, the plugin throws an error saying it can't connect to my SAB instance. I've tried this with several different listening IPs/ports, and on more than one computer's mediaportal installation. Is there a log somewhere that i can check, or something obvious that i'm missing? I'm eager to try this plugin!
 

jburnette

Portal Pro
August 24, 2006
758
116
Kentucky
Home Country
United States of America United States of America
Is SAB installed on the same computer that MP is running on? Also, can you connect to SAB through a browser on the same computer that MP is running on?
 

Users who are viewing this thread

Top Bottom