| |||||||
| WebEPG everything related to WebEPG in here |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal User Join Date: Jan 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | When I try to run WebEPG with 25 channels (see WebEPG.xml below) it fails. The log file shows the following error: 2008-01-03 23:15:07.890625 [Info.][1]: WebEPG: SubLink Request http://www.tvgids.nl/programmadetail/?ID=6806707 POST: 2008-01-03 23:15:08.218750 [ERROR][1]: WebEPG: Fatal Error 2008-01-03 23:15:08.218750 [ERROR][1]: WebEPG: Index was outside the bounds of the array. 2008-01-03 23:15:08.218750 [Info.][1]: WebEPG: Finished Any ideas? <?xml version="1.0" encoding="utf-8"?> <WebEPG xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Info maxGrabDays="7" /> <ChannelMap> <Channel id="ned3@omroep.nl" displayName="Nederland 3" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="rtl4.nl" displayName="RTL 4" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="bbc2@bbc.co.uk" displayName="BBC 2" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="cnni-emea@cnn.com" displayName="CNN International" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="zdf.de" displayName="ZDF" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="raiuno.rai.it" displayName="Rai Uno" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="ned1@omroep.nl" displayName="Nederland 1" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="ned2@omroep.nl" displayName="Nederland 2" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="rtl5.nl" displayName="RTL 5" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="sbs6.sbs.nl" displayName="SBS 6" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="rtl7.nl" displayName="RTL 7" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="veronica.sbs.nl" displayName="Veronica / Jetix" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="net5.sbs.nl" displayName="Net 5" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="ketnet.be" displayName="Ketnet / Canvas" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="rtvutrecht.nl" displayName="Regio TV Utrecht" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="discoverychannel.nl" displayName="Discovery Channel" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="nationalgeographic.nl" displayName="National Geographic" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="animalplanet.nl" displayName="Animal Planet" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="mtv.nl" displayName="MTV" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="nickelodeon.nl" displayName="Nickelodeon" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="tmf.nl" displayName="TMF" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="eurosport@eurosport.com" displayName="EUROSPORT" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="bbc1@bbc.co.uk" displayName="BBC 1" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="f@tv5.fr" displayName="TV 5 Monde" grabber="NL\1-www_tvgids_nl.xml" /> <Channel id="bbcworld.com" displayName="BBC World" grabber="NL\1-www_tvgids_nl.xml" /> </ChannelMap> <Authentication /> </WebEPG> TV-Server Version: MediaPortal Version: 0.2.3.0 MediaPortal Skin: Windows Version: XP SP2 CPU Type: Intel Pentium 4 HDD: 320GB Western Digital Memory: 2GB Corsair Motherboard: ASUS P4C Motherboard Chipset: Motherboard Bios: Video Card: Raedeon Video Card Driver: Sound Card: Sound Card AC3: Sound Card Driver: 1. TV Card: Hauppauge PVR 150 1. TV Card Type: 1. TV Card Driver: 2. TV Card: 2. TV Card Type: 2. TV Card Driver: 3. TV Card: 3. TV Card Type: 3. TV Card Driver: 4. TV Card: 4. TV Card Type: 4. TV Card Driver: MPEG2 Video Codec: MPEG2 Audio Codec: Satelite/CableTV Provider: HTPC Case: Cooling: Power Supply: Remote: TV: TV - HTPC Connection: |
| | |
| | #3 (permalink) |
| MP Donator ![]() Join Date: Apr 2005 Location: Brussels Age: 35
Posts: 321
Thanks: 16
Thanked 15 Times in 13 Posts
Country: | I used to have this issue as well, a few SVNs ago, after the big change you made for the apostrophe. Before yelling "Confirmed", I upgraded to tonight's SVN and the issue disappeared. As I posted in another thread, it seemed to be an issue with the Start and End tag in the Details Template. So, Darren, try to update to latest SVN... The other issue I had is still there nonetheless. Something goes wrong with the details section, I guess when using the *match and *value tags. I ran the grabber with these settings: Code: <?xml version="1.0" encoding="utf-8"?>
<WebEPG xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Info maxGrabDays="1" />
<ChannelMap>
<Channel id="vitaya.be" displayName="Vitaya" grabber="BE\www_humo_be.xml" />
</ChannelMap>
<Authentication />
</WebEPG>
Code: <programme start="20080105234500" stop="20080106001000" channel="Vitaya-vitaya.be">
<title>Missing Persons Unit</title>
<desc>Amerikaanse realityreeks waarin telkens een verdwijning wordt onderzocht.
Vandaag: Agent Darren Conabeer krijgt de zaak van een moeder die haar gezin in de steek liet toegewezen - agent Gary Melchiore is nog steeds op zoek naar Michael Veron, de man die acht dagen geleden uit een boot viel - agente Jane Sutcliffe krijgt de zaak toegewezen van Ronald Baars die sinds twee dagen vermist is. Zijn vrouw Kathy gaf haar man als vermist op nadat hij niet meer thuiskwam met zijn motor.</desc>
<episode-num>5</episode-num>
</programme>
Code: <programme start="20080105234500" stop="20080106001000" channel="Vitaya-vitaya.be">
<title>Missing Persons Unit</title>
</programme>
Last edited by Furetto; 2008-01-05 at 13:49. Reason: PS: Sorry to hijack a thread again ;-) |
| | |
| | #4 (permalink) |
| Portal User Join Date: Jan 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | I managed to get it working for 3 channels and 1 day. I thought it had something to do with an overrun whilst reading the schedule because regardless of how many days you request the URL always obtains 7 days. This didn't work again when I scaled up. What I find strange is that from the logs I see that it fetches a number of programme details before stopping with this error. If I try it with the SBS website (I found this in the same grabber directory as TV GIDS - /NL) then it fetches the schedule without an issue. I will try to update to the latest SVN and see if that works too. I am currently using the normal release version. |
| | |
| | #6 (permalink) |
| Portal Member Join Date: Oct 2007 Location: Siena Age: 31
Posts: 78
Thanks: 1
Thanked 2 Times in 1 Post
Country: | Similar error there using latest SVN... This is the log: Code: 2008-01-10 22.57.10.093750 [Info.][1]: WebEPG: Starting 2008-01-10 22.57.10.109375 [Info.][1]: WebEPG: Using directories 2008-01-10 22.57.10.109375 [Info.][1]: WebEPG - C:\Programmi\Team MediaPortal\MediaPortal 2008-01-10 22.57.10.109375 [Info.][1]: xmltv - C:\Programmi\Team MediaPortal\MediaPortal\xmltv\ 2008-01-10 22.57.10.109375 [Info.][1]: Assembly versions: 2008-01-10 22.57.10.109375 [Info.][1]: WebEPG 3.0.2.0 2008-01-10 22.57.10.109375 [Info.][1]: Utils 2.2.4.0 2008-01-10 22.57.10.140625 [Info.][1]: Loading Config File: C:\Programmi\Team MediaPortal\MediaPortal\WebEPG\WebEPG.xml 2008-01-10 22.57.10.500000 [Info.][1]: WebEPG: Loading Channel Config 2008-01-10 22.57.10.500000 [Debug][1]: Loading Channel RAIUNO ID: Rai 1 2008-01-10 22.57.10.500000 [Debug][1]: Loading Channel RAIDUE ID: Rai 2 2008-01-10 22.57.10.500000 [Debug][1]: Loading Channel RAITRE ID: Rai 3 2008-01-10 22.57.10.500000 [Debug][1]: Loading Channel Rete 4 ID: Rete 4 2008-01-10 22.57.10.500000 [Debug][1]: Loading Channel Canale 5 ID: Canale 5 2008-01-10 22.57.10.500000 [Debug][1]: Loading Channel Italia 1 ID: Italia 1 2008-01-10 22.57.10.500000 [Debug][1]: Loading Channel La 7 ID: La7 2008-01-10 22.57.10.500000 [Debug][1]: Loading Channel MTV Italia ID: MTV Italia 2008-01-10 22.57.10.500000 [Info.][1]: WebEPG: Getting Channel ID: Rai 1 2008-01-10 22.57.10.500000 [Info.][1]: [1 of 8] 2008-01-10 22.57.10.515625 [Info.][1]: WebEPG: Opening IT\alice_it.xml 2008-01-10 22.57.11.062500 [Info.][1]: WebEPG: Version: 2.1.0 2008-01-10 22.57.11.062500 [Info.][1]: WebEPG: TimeZone, Local: ora solare Europa occidentale 2008-01-10 22.57.11.062500 [Info.][1]: WebEPG: TimeZone, Site : W. Europe Standard Time 2008-01-10 22.57.11.140625 [Info.][1]: WebEPG: ChannelId: Rai 1 2008-01-10 22.57.11.140625 [Debug][1]: WebEPG: Grab Start 22.57 10/01/2008 2008-01-10 22.57.11.218750 [Info.][1]: WebEPG: Reading http://spettacolo.alice.it/guidatv/cgi/index.cgi?tipo=3&channel=1&day=10/01/2008 POST: 2008-01-10 22.57.11.859375 [Info.][1]: WebEPG: Listing Count 42 2008-01-10 22.57.11.953125 [Info.][1]: WebEPG: Guide, Program Info: 20080110011500 - Tg1 - Tg1 Le idee - Che tempo fa 2008-01-10 22.57.11.968750 [Info.][1]: WebEPG: Program starts in the past, ignoring it. .... .... 2008-01-10 22.57.12.046875 [Info.][1]: WebEPG: Guide, Program Info: 20080110203000 - Soliti ignoti - Identità nascoste 2008-01-10 22.57.12.046875 [Info.][1]: WebEPG: Program starts in the past, ignoring it. 2008-01-10 22.57.12.046875 [Info.][1]: WebEPG: Guide, Program Info: 20080110213000 - Affari tuoi - Speciale per due 2008-01-10 22.57.12.046875 [Info.][1]: WebEPG: SubLink Request http://spettacolo.alice.it/guidatv/cgi/index.cgi?tipo=1&qs=10424442 POST: 2008-01-10 22.57.12.312500 [Debug][1]: WebEPG: Getting sublinked data sucessful 2008-01-10 22.57.12.328125 [Info.][1]: WebEPG: Guide, Program Info: 20080110225500 - Tg1 2008-01-10 22.57.12.328125 [Info.][1]: WebEPG: SubLink Request http://spettacolo.alice.it/guidatv/cgi/index.cgi?tipo=1&qs=10415328 POST: 2008-01-10 22.57.12.593750 [ERROR][1]: WebEPG: Fatal Error 2008-01-10 22.57.12.593750 [ERROR][1]: WebEPG: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 2008-01-10 22.57.12.593750 [Info.][1]: WebEPG: Finished Any idea ? ![]() |
| | |
| | #10 (permalink) |
| Portal User Join Date: Jan 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Still see the problem using my NL grabber. Here is the error message from Jame's WebEPG test program: ************** Exception Text ************** System.IndexOutOfRangeException: Index was outside the bounds of the array. at MediaPortal.Utils.Web.HtmlString.GetTagLength(Stri ng strSource, Int32 StartPos) at MediaPortal.Utils.Web.HtmlString.TagList(String source) at MediaPortal.Utils.Web.HtmlProfiler.BuildProfile(St ring source) at MediaPortal.Utils.Web.HtmlProfiler.MatchCount(Stri ng source) at MediaPortal.Utils.Web.HtmlParser.ParseUrl(HTTPRequ est site) at MediaPortal.WebEPG.Parser.WebParser.GetLinkedData( ProgramData& data) at MediaPortal.WebEPG.WebListingGrabber.GetProgram(In t32 index) at MediaPortal.WebEPG.WebListingGrabber.GetListing(Bo olean& error) at MediaPortal.WebEPG.WebListingGrabber.GetGuide(Stri ng strChannelID, Boolean Linked, Int32 linkStart, Int32 linkEnd, DateTime startDateTime) at MediaPortal.EPG.WebEPGTester.fTester.bRun_Click(Ob ject sender, EventArgs e) in D:\Dev\MediaPortal\WebEPG\WebEPG-Tester\Tester.cs:line 423 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.832 (QFE.050727-8300) CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- WebEPG-Tester Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Temp/webepg/WebEPG-Tester.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.832 (QFE.050727-8300) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.832 (QFE.050727-8300) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.832 (QFE.050727-8300) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- Utils Assembly Version: 2.2.0.0 Win32 Version: 0.2.2.9991 CodeBase: file:///C:/Temp/webepg/Utils.DLL ---------------------------------------- WebEPG Assembly Version: 2.4.8.0 Win32 Version: 2.4.8.0 CodeBase: file:///C:/Temp/webepg/WebEPG.DLL ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.832 (QFE.050727-8300) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.832 (QFE.050727-8300) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- 312ljv_m Assembly Version: 2.4.8.0 Win32 Version: 2.0.50727.832 (QFE.050727-8300) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- Databases Assembly Version: 0.2.2.9991 Win32 Version: 0.2.2.9991 CodeBase: file:///C:/Temp/webepg/Databases.DLL ---------------------------------------- System.Web Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.832 (QFE.050727-8300) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll ---------------------------------------- Core Assembly Version: 0.2.2.9991 Win32 Version: 0.2.2.9991 CodeBase: file:///C:/Temp/webepg/Core.DLL ---------------------------------------- System.ServiceProcess Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. |
| | |
![]() |
| Bookmarks |
| Tags |
| array, bounds, index, webepg |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Index was out of range | AllenConquest | pre 1.0 RC1 | 0 | 2007-11-01 23:52 |
| 1.2.9.34660: Config crashes with Array Index out of range | gad | My TVSeries | 0 | 2007-11-01 10:28 |
| How to chose which folder to index. | BiG-TyMa | General Support | 3 | 2006-07-08 20:21 |
| Forum index changes? | rosco99 | MediaPortal 1 Talk | 1 | 2006-02-18 02:11 |
| Index File | luth | Improvement Suggestions | 0 | 2005-03-05 17:11 |