NZB Read Failed: Bad XML Line

Technical support and discussion of Newsbin Version 6 series.

NZB Read Failed: Bad XML Line

Postby mjpierce » Thu Aug 01, 2013 3:57 pm

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.
mjpierce
Seasoned User
Seasoned User
 
Posts: 116
Joined: Tue Jun 05, 2007 5:29 pm

Registered Newsbin User since: 10/29/06

Re: NZB Read Failed: Bad XML Line

Postby Quade » Thu Aug 01, 2013 5:32 pm

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
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44879
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: NZB Read Failed: Bad XML Line

Postby mjpierce » Thu Aug 01, 2013 6:07 pm

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.
mjpierce
Seasoned User
Seasoned User
 
Posts: 116
Joined: Tue Jun 05, 2007 5:29 pm

Registered Newsbin User since: 10/29/06

Re: NZB Read Failed: Bad XML Line

Postby mjpierce » Fri Oct 04, 2013 3:01 pm

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.
mjpierce
Seasoned User
Seasoned User
 
Posts: 116
Joined: Tue Jun 05, 2007 5:29 pm

Registered Newsbin User since: 10/29/06

Re: NZB Read Failed: Bad XML Line

Postby Quade » Fri Oct 04, 2013 4:02 pm

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.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44879
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: NZB Read Failed: Bad XML Line

Postby mjpierce » Fri Oct 04, 2013 5:10 pm

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".
mjpierce
Seasoned User
Seasoned User
 
Posts: 116
Joined: Tue Jun 05, 2007 5:29 pm

Registered Newsbin User since: 10/29/06

Re: NZB Read Failed: Bad XML Line

Postby Quade » Fri Oct 04, 2013 5:20 pm

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?
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44879
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: NZB Read Failed: Bad XML Line

Postby mjpierce » Fri Oct 04, 2013 5:29 pm

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.
mjpierce
Seasoned User
Seasoned User
 
Posts: 116
Joined: Tue Jun 05, 2007 5:29 pm

Registered Newsbin User since: 10/29/06

Re: NZB Read Failed: Bad XML Line

Postby mjpierce » Fri Oct 04, 2013 5:41 pm

I could break the rar up into parts using the rar program. Maybe throw in a few par2s to validate it.
mjpierce
Seasoned User
Seasoned User
 
Posts: 116
Joined: Tue Jun 05, 2007 5:29 pm

Registered Newsbin User since: 10/29/06

Re: NZB Read Failed: Bad XML Line

Postby dexter » Fri Oct 04, 2013 6:25 pm

Get a free account on Mega and upload it there. mega.co.uk
User avatar
dexter
Site Admin
Site Admin
 
Posts: 9511
Joined: Fri May 18, 2001 3:50 pm
Location: Northern Virginia, US

Registered Newsbin User since: 10/24/97

Re: NZB Read Failed: Bad XML Line

Postby mjpierce » Sat Oct 05, 2013 8:03 am

mjpierce
Seasoned User
Seasoned User
 
Posts: 116
Joined: Tue Jun 05, 2007 5:29 pm

Registered Newsbin User since: 10/29/06

Re: NZB Read Failed: Bad XML Line

Postby dexter » Sat Oct 05, 2013 4:11 pm

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.php

Update: 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.
User avatar
dexter
Site Admin
Site Admin
 
Posts: 9511
Joined: Fri May 18, 2001 3:50 pm
Location: Northern Virginia, US

Registered Newsbin User since: 10/24/97

Re: NZB Read Failed: Bad XML Line

Postby mjpierce » Tue Oct 08, 2013 1:11 pm

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.php

Update: 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
mjpierce
Seasoned User
Seasoned User
 
Posts: 116
Joined: Tue Jun 05, 2007 5:29 pm

Registered Newsbin User since: 10/29/06

Re: NZB Read Failed: Bad XML Line

Postby dexter » Tue Oct 08, 2013 1:40 pm

I tested both 32 and 64 bit. How are you importing the NZB file?
User avatar
dexter
Site Admin
Site Admin
 
Posts: 9511
Joined: Fri May 18, 2001 3:50 pm
Location: Northern Virginia, US

Registered Newsbin User since: 10/24/97

Re: NZB Read Failed: Bad XML Line

Postby Quade » Tue Oct 08, 2013 2:11 pm

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?
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44879
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: NZB Read Failed: Bad XML Line

Postby mjpierce » Thu Oct 10, 2013 11:41 am

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.
mjpierce
Seasoned User
Seasoned User
 
Posts: 116
Joined: Tue Jun 05, 2007 5:29 pm

Registered Newsbin User since: 10/29/06

Re: NZB Read Failed: Bad XML Line

Postby Quade » Thu Oct 10, 2013 1:05 pm

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.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44879
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: NZB Read Failed: Bad XML Line

Postby mjpierce » Thu Oct 10, 2013 3:45 pm

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.
mjpierce
Seasoned User
Seasoned User
 
Posts: 116
Joined: Tue Jun 05, 2007 5:29 pm

Registered Newsbin User since: 10/29/06


Return to V6 Technical Support

Who is online

Users browsing this forum: No registered users and 4 guests