XML file: Length cannot be less than zero - WebGrab++

Discussion in 'xmlTV' started by HEL, December 8, 2014.

  1. HEL

    HEL New Member

    Joined:
    October 15, 2012
    Messages:
    3
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Denmark Denmark
    Show System Specs
    Hello

    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.
     

    Attached Files:

  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. HEL

    HEL New Member

    Joined:
    October 15, 2012
    Messages:
    3
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Denmark Denmark
    Show System Specs
    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.
    Code (XML):
    1.   <programme start="20141219093500 +0100" stop="20141219102500 +0100" channel="DR1">
    2.     <title lang="da">De sociale republikanere</title>
    3.     <title lang="en">Builders of Large Communal Nests: Sociable Weaver</title>
    4.     <sub-title lang="da">Japansk naturprogram fra 2013.</sub-title>
    5.     <desc lang="da">I Nabimia i det sydlige... this doesn't matter... .</desc>
    6.     <category lang="da">Natur</category>
    7.     <category lang="da">Dokumentar</category>
    8.     <date>2013</date>
    9.     <episode-num system="xmltv_ns">.</episode-num>
    10.   </programme>
    The line which are giving me trouble is this:
    Code (XML):
    1. <episode-num system="xmltv_ns">.</episode-num>
    An example of a line,which gives no troubles is this:
    Code (XML):
    1. <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.
    http://pastebin.com/H3eTmcjY

    I hope that someone can give a hit, with a bit more information.
     
  4. RonD
    • Team MediaPortal

    RonD Test Group

    Joined:
    December 20, 2011
    Messages:
    904
    Likes Received:
    119
    Occupation:
    semi-pro slacker
    Location:
    SillyValley CA
    Ratings:
    +275 / 0
    Home Country:
    United States of America United States of America
    you might ask for help on the wegbgrabplus forums and see if they can help. looks like your problem is with an "empty" episode.

    http://webgrabplus.com/forum
     
  5. HEL

    HEL New Member

    Joined:
    October 15, 2012
    Messages:
    3
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Denmark Denmark
    Show System Specs
    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.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!