Page 1 of 1
NZB Read Failed: Bad XML Line
Posted:
Thu Aug 01, 2013 3:57 pm
by mjpierce
I've been seeing this a few time lately in 6.42 2148
[14:43:14] HIGH - NZB Read Failed: Bad XML Line:1Column: 0 Trying Gzip: H:\NZBs\_Check\NZBIndex-download (3).nzb
[14:43:14] HIGH - NZB Read Failed: Not GZIP: H:\NZBs\_Check\NZBIndex-download (3).nzb
The first few lines of that NZB are:
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE nzb PUBLIC "-//newzBin//DTD NZB 1.0//EN" "http://www.nzbindex.com/nzb-1.0.dtd">
<!-- NZB Generated by NZBIndex -->
I'm not sure what is going on. I've even seen this on an NZB that Newsbin generated although I don't still have that example.
Automatic Download...NZBs is off.
The files are not GZIPed or anything. They are plain text.
The file above is 172MB and represents about 700GB of binaries.
Re: NZB Read Failed: Bad XML Line
Posted:
Thu Aug 01, 2013 5:32 pm
by Quade
Just for grins you could try subbing in this
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE nzb PUBLIC "-//newzBin//DTD NZB 1.1//EN" "http://www.newzbin.com/DTD/nzb/nzb-1.1.dtd">
<nzb xmlns="http://www.newzbin.com/DTD/2003/nzb">
For the lines in that file. I'm guessing it's a bad NZB.
if you rar up the NZB and email it as an attachment to this address, I can look at it. Don't use zip. We filter zips.
ts@newsbin.com
Re: NZB Read Failed: Bad XML Line
Posted:
Thu Aug 01, 2013 6:07 pm
by mjpierce
I should have done this step before posting but I restarted Newsbin and the original NZB loads fine now.
Is there any information I should gather if I see it again?
The replacement lines you provided also worked.
Re: NZB Read Failed: Bad XML Line
Posted:
Fri Oct 04, 2013 3:01 pm
by mjpierce
I'm seeing this again with 6.50B16 and 6.42 2148.
I've tried the lines you suggested without luck.
I've also tried restarting the Newsbin instances.
I'd like to send you the NZB file (as a RAR) if I can. It's about 48MB compressed.
Re: NZB Read Failed: Bad XML Line
Posted:
Fri Oct 04, 2013 4:02 pm
by Quade
If they're both doing it, it's probably a bad NZB.
Rename the extension from ".nzb" to ".xml" and see if IE can load it. IE will parse it as XML and tell you if it's busted.
Re: NZB Read Failed: Bad XML Line
Posted:
Fri Oct 04, 2013 5:10 pm
by mjpierce
Ok, I tried IE and Chrome. Both seemed to load the file but did not display all of it. Neither gave an error message.
I tried validating it with "XMLStarlet" and it came back as valid.
"XML ValidatorBuddy" says it is valid and "well formed".
Re: NZB Read Failed: Bad XML Line
Posted:
Fri Oct 04, 2013 5:20 pm
by Quade
Our email server probably won't take a 48 mb rar so, I don't know what to tell you at this point.
14:43:14] HIGH - NZB Read Failed: Bad XML Line:1Column: 0 Trying Gzip: H:\NZBs\_Check\NZBIndex-download (3).nzb
Does it still say this?
Re: NZB Read Failed: Bad XML Line
Posted:
Fri Oct 04, 2013 5:29 pm
by mjpierce
Here is what Newsbin says.
[16:11:28] HIGH - NZB Read Failed: Bad XML Line:1Column: 0 Trying Gzip: H:\NZBs\password-DVD9\1\password-DVD9 (4).nzb
[16:11:28] HIGH - NZB Read Failed: Not GZIP: H:\NZBs\password-DVD9\1\password-DVD9 (4).nzb
I tried loading the exact file that was validated.
Re: NZB Read Failed: Bad XML Line
Posted:
Fri Oct 04, 2013 5:41 pm
by mjpierce
I could break the rar up into parts using the rar program. Maybe throw in a few par2s to validate it.
Re: NZB Read Failed: Bad XML Line
Posted:
Fri Oct 04, 2013 6:25 pm
by dexter
Get a free account on Mega and upload it there.
mega.co.uk
Re: NZB Read Failed: Bad XML Line
Posted:
Sat Oct 05, 2013 8:03 am
by mjpierce
Re: NZB Read Failed: Bad XML Line
Posted:
Sat Oct 05, 2013 4:11 pm
by dexter
It loaded fine for me in 6.50 Beta 16. I suggest you just upgrade to the latest beta if you want to load this NZB.
http://www.newsbin.com/beta.phpUpdate: I went back and dug up 6.42 and it loaded up fine in that version as well. Are you sure you were running 6.42 Build 2148? How are you loading the NZB? I did it under File/Load NZB.
Re: NZB Read Failed: Bad XML Line
Posted:
Tue Oct 08, 2013 1:11 pm
by mjpierce
dexter wrote:It loaded fine for me in 6.50 Beta 16. I suggest you just upgrade to the latest beta if you want to load this NZB.
http://www.newsbin.com/beta.phpUpdate: I went back and dug up 6.42 and it loaded up fine in that version as well. Are you sure you were running 6.42 Build 2148? How are you loading the NZB? I did it under File/Load NZB.
I'm running the latest Beta 16 on one machine and the 6.42 2148 on another. Both show the same problem. Both are the 32 bit versions. Does that make a difference?
Thanks
Re: NZB Read Failed: Bad XML Line
Posted:
Tue Oct 08, 2013 1:40 pm
by dexter
I tested both 32 and 64 bit. How are you importing the NZB file?
Re: NZB Read Failed: Bad XML Line
Posted:
Tue Oct 08, 2013 2:11 pm
by Quade
It's a huge NZB file. 270 megs when unrared. It took forever to load on my machine. Have you tried loading the naked NZB and not the rar'd copy of the NZB?
Re: NZB Read Failed: Bad XML Line
Posted:
Thu Oct 10, 2013 11:41 am
by mjpierce
I've only ever tried loading the naked uncompressed nzb. I have tried using the load button and tried double clicking the nzb file.
The same thing happens each time.
Re: NZB Read Failed: Bad XML Line
Posted:
Thu Oct 10, 2013 1:05 pm
by Quade
You're not overclocking your PC are you? It works for Dex and I in a variety of different machines and VM's. On the other hand it's intermittent for you. That suggests we need to look for things on your PC.
Re: NZB Read Failed: Bad XML Line
Posted:
Thu Oct 10, 2013 3:45 pm
by mjpierce
Nope. The same files fail on different PCs every single time. Both PCs are rock solid stable.
I understand the difficulty when the problem can not be reproduced by the developers. Thanks for trying. I'll probably break the nzb up into smaller ones by hand in the hopes that they can be loaded.