WebEPG appears to generate invalid file (1 Viewer)

PhilMcCavity

Portal Pro
May 23, 2008
51
0
Sydney
Home Country
I've been using WebEPG in the past with no problems.

On my new MP machine (the first time I've used 1.0.0.0) however, it's problematic. As in the past I've found it generates tvguide.xml file, but the xmltv plugin has trouble with this file.

I found that XMLTV takes between 90 and 130 minutes to import 14 days x 12 channels of data, that the "tvguide.xml already importing" message remains on the xmltv plugin page forever, that it never shows any programs or channels imported, and that I have a lot of messages like the following in my error log :

2009-04-03 10:36:54.843750 [SetupTv]: plugin:xmltv import failed
2009-04-03 10:36:55.000000 [SetupTv]: Exception ystem.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at TvEngine.XMLTVImport.Import(String fileName, Boolean showProgress)
at TvEngine.XmlTvImporter.ThreadFunctionImportTVGuide (Object aparam)
Exception :Input string was not in a correct format.
site :Void StringToNumber(System.String, System.Globalization.NumberStyles, NumberBuffer ByRef, System.Globalization.NumberFormatInfo, Boolean)
source :mscorlib
stacktrace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at TvEngine.XMLTVImport.Import(String fileName, Boolean showProgress)
at TvEngine.XmlTvImporter.ThreadFunctionImportTVGuide (Object aparam)

2009-04-03 10:37:34.812500 [XmlTvImporter]: plugin:xmltv import failed
2009-04-03 10:37:34.812500 [XmlTvImporter]: Exception ystem.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at TvEngine.XMLTVImport.Import(String fileName, Boolean showProgress)
at TvEngine.XmlTvImporter.ThreadFunctionImportTVGuide (Object aparam)
Exception :Input string was not in a correct format.
site :Void StringToNumber(System.String, System.Globalization.NumberStyles, NumberBuffer ByRef, System.Globalization.NumberFormatInfo, Boolean)
source :mscorlib
stacktrace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at TvEngine.XMLTVImport.Import(String fileName, Boolean showProgress)
at TvEngine.XmlTvImporter.ThreadFunctionImportTVGuide (Object aparam)

When xmltv starts importing, my EPG shows "no data available" for all channels. Eventually (after about 2 hours) I see EPG about data 7 times out of 10.

Conversely, I got hold of angusman's GuideDigger program. XMLTV imports the same amount of data from that program's output in about 1 second, there are no error messages, and the info on the xmltv config page are sensible.

I therefore jump to the conclusion that since XMLTV is importing a known-good tvguide.xml file quickly and happily, that something must be broken in either WebEPG or in my setup for it and that it's generating invalid data somehow. Any thoughts on where I should look for this?

Thanks
 

petillan

Portal Member
February 6, 2009
15
0
Home Country
Belgium Belgium
same problem
2009-04-08 14:52:10.140625 [XmlTvImporter]: plugin:xmltv import failed
2009-04-08 14:52:10.156250 [XmlTvImporter]: Exception :confused:ystem.FormatException: De indeling van de invoertekenreeks is onjuist.
bij System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
bij System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
bij TvEngine.XMLTVImport.Import(String fileName, Boolean showProgress)
bij TvEngine.XmlTvImporter.ThreadFunctionImportTVGuide(Object aparam)
Exception :De indeling van de invoertekenreeks is onjuist.
site :Void StringToNumber(System.String, System.Globalization.NumberStyles, NumberBuffer ByRef, System.Globalization.NumberFormatInfo, Boolean)
source :mscorlib
stacktrace: bij System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
bij System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
bij TvEngine.XMLTVImport.Import(String fileName, Boolean showProgress)
bij TvEngine.XmlTvImporter.ThreadFunctionImportTVGuide(Object aparam)
 

Ropsu80

Portal Pro
September 19, 2006
57
1
44
Finland
Home Country
Finland Finland
Same problem

I´ve got the same problem here. I managed to fix it at one point put know its back. Tried everything from deleting the tvguide.xml and dtd file as well as dropping the entire t database from MSSQL and rebuilding it, but the sam problem continues
 

SweMart

MP Donator
  • Premium Supporter
  • March 25, 2006
    359
    11
    47
    Stockholm, Sweden
    Home Country
    Sweden Sweden
    I have the same problem with 1.0.1.0. The tvguide.xml is downloaded using "vanilla" xmltv using the "swedb" grabber.

    Edit:
    A sample guide can be found here:
    http://sara.homeunix.net/htpc/tvguide.xml

    Error.log says the following:
    Code:
    2009-04-19 20:07:49.506510 [SetupTv]: plugin:xmltv import failed
    2009-04-19 20:07:49.569010 [SetupTv]: Exception   :System.FormatException: Input string was not in a correct format.
       at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
       at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
       at TvEngine.XMLTVImport.Import(String fileName, Boolean showProgress)
       at TvEngine.XmlTvImporter.ThreadFunctionImportTVGuide(Object aparam)
     

    Users who are viewing this thread

    Top Bottom