XML file: Length cannot be less than zero - WebGrab++ (1 Viewer)


New Member
October 15, 2012
Denmark Denmark

My MP-setup was going crazy, so I had to reinstall my computer, now with everything up and running, one thing is missing. WebGrab++ is grabbing all the info, but I am not able to import the tvguide.xml to xmlTV, it says "tvguide.xml: Invalid XML file: Length cannot be less than zero" or .. that´s at least what I think it says, because I can only see "Length cannot be..." with the danish translation. I am able to import my old tvguide.xml from before my reinstallation.

I attached my WebGrab config file and the tvguide.xml I am trying to import (the info is in danish).

I hope someone can give me a hint about whats wrong and what I can do to correct it.

I will point out, that before my reinstallation, I was running MP 1.3.0 and now I am giving 1.9.0 a try.



New Member
October 15, 2012
Denmark Denmark
Sorry for posting this big tvguide.xml file, I didn't really think of the 185.000 lines of data... stupid me.

I narrowed the problem down quite a lot now and found one specific line.
  <programme start="20141219093500 +0100" stop="20141219102500 +0100" channel="DR1">
    <title lang="da">De sociale republikanere</title>
    <title lang="en">Builders of Large Communal Nests: Sociable Weaver</title>
    <sub-title lang="da">Japansk naturprogram fra 2013.</sub-title>
    <desc lang="da">I Nabimia i det sydlige... this doesn't matter... .</desc>
    <category lang="da">Natur</category>
    <category lang="da">Dokumentar</category>
    <episode-num system="xmltv_ns">.</episode-num>
The line which are giving me trouble is this:
<episode-num system="xmltv_ns">.</episode-num>
An example of a line,which gives no troubles is this:
<episode-num system="xmltv_ns">.170/237.</episode-num>
If I delete it, I can import without a problem.
I tried changing a bit in the code that is putting the info together (the dk.timefor.tv.ini file), but I couldn't get it working.

I hope that someone can give a hit, with a bit more information.


New Member
October 15, 2012
Denmark Denmark
Thank you for the reply, I thought it was a MP problem.
I found a new dk.timefor.tv.ini when I headed to webgrab's website and it works.
I don't really understand why it didn't work after I reinstalled my computer, but it may be because I installed a newer version of webgrab.

If anyone else experience this problem, try download a new .ini file from http://www.webgrabplus.com/epg-channels.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

OP Similar threads Forum Replies Date
D Downloading EPG XML file: Installation, configuration support 0
B xml file for perfect player Newcomers Forum 1
Frans Nijhuis Tv/Radio channel Import Export xml and multiple identical channel names Newcomers Forum 0
BrownGhost MP-TVSeries, Failed to save xml to cache, and not adding any info to tvseries from tvdb My TVSeries 4
bribbon [Pending] DVB-C Tuning Parameters: Switzerland.UPC Cablecom [NID 43020] v.7.xml Submit: EPG-Grabbers and tuningdetails 0
D Large xml database in My Movies Management. I remain unclear on use My Films as bridge to MP2.2 General 9
M [solved] WTV Files does not play on client, MPEG files works well General 1
bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
J Help with new grabber file. WebEPG 1
S [solved] No sound - MKV file MediaPortal 1 Talk 2
G WTV files General 11
Golf4 TV-Records werden als Audio-Files importiert ? Allgemeines Support- und Diskussionsforum 0
azzuro [fixed] [WIP MP2.3] - Audio files not imported to MP MediaPortal 2 18
HTPCSourcer Media Accessor is flooding logs with files from attached monitor MediaPortal 2 9
R [will not fix] [MP2-832] MP2.2.2 subtitles not shown for WTV files Submit: Bug Reports 7
R [solved] Files moved to new location - Easy way to update database? My TVSeries 7
R Files moved to different location - Easy way to update database? Moving Pictures 2
thepahakurki Trakt error: Invalid or missing file Trakt 8
M Keymapping Which File To Edit General Support 4
F No data in "File Details" Moving Pictures 2
R [solved] Moving pictures importer wont add files from a removable drive. Is there a work around ? Moving Pictures 8
R Directx 9.0 June 2010 does not install on Windows 10 x64, ends up with weird failure / no debug file Installation, configuration support 0
K How to enable autoplaying of the next video files in the folder MediaPortal 1 Talk 2
B Text files attached to videos Watch / Listen Media 10
Neoculture Bulk file name update My TVSeries 6
Similar threads

Top Bottom