Incorrect URI identifier (1 Viewer)

amilewski

Portal Pro
January 14, 2007
127
50
Jelenia Góra
Home Country
Poland Poland
Hi,
I'm working on a new grabber for MP 0.2.3 and encountered problem never seen in MP 0.2.2.
My ulr is:

http://tv.wp.pl/index.html?T[date]=[YYYY]-[MM]-[DD]&T%5Bstation%5D=ID&T%5Bcategory%5D=ALL&T%5Btime%5D=0

The WebEPG.exe runs just for a while and stops with records in error.log:

2007-11-18 15:12:47.414000 [ERROR][1]: WebEPG: Fatal Error
2007-11-18 15:12:47.415000 [ERROR][1]: WebEPG: Incorrect URI identifier: format for URI identifier can not be set.

Any help!?

thanks in advance
 

Ruhar Insane

Portal Member
August 27, 2007
9
0
Home Country
United States of America United States of America
Invalid URI

I am having a similar problem, here is the end of my WebEPG.log

2007-12-05 09:36:14.153882 [Info.][1]: WebEPG: No site TimeZone, using Local: Central Standard Time
2007-12-05 09:36:14.216383 [Info.][1]: WebEPG: ChannelId: Central@fox.com
2007-12-05 09:36:14.216383 [Debug][1]: WebEPG: Grab Start 9:36 AM 12/5/2007
2007-12-05 09:36:14.263259 [Info.][1]: WebEPG: Reading http://www.charter.net/tv/channel_page.php?station=10750&listings_day=2007-12-05 POST:
2007-12-05 09:36:14.560138 [ERROR][1]: WebEPG: Fatal Error
2007-12-05 09:36:14.560138 [ERROR][1]: WebEPG: Invalid URI: The format of the URI could not be determined.
2007-12-05 09:36:14.560138 [Info.][1]: WebEPG: Finished

and Here is the Grabber file

<?xml version="1.0" encoding="utf-8"?>
<Grabber>
<Info language="en" availableDays="14" timezone="" version="2.0" />

<Channels>
<Channel id="Central@fox.com" siteId="10750" />
</Channels>


<Listing type="Html">
<Site url="http://www.charter.net/tv/channel_page.php?station=[ID]&amp;listings_day=[YYYY]-[MM]-[DD]" post="" external="false" encoding="" />
<Html>
<Template name="default" start="">
<SectionTemplate tags="T">
<TemplateText>
&lt;tr&gt;
&lt;td&gt;#START&lt;/td&gt;
&lt;td&gt;#START &lt;/td&gt;
&lt;/tr&gt;
</TemplateText>
</SectionTemplate>
</Template>
</Html>
</Listing>
</Grabber>

Any help is greatly appreciated.

Thanks
 

amilewski

Portal Pro
January 14, 2007
127
50
Jelenia Góra
Home Country
Poland Poland
Same errors when you try this in WebEPG-Designer, additionaly you get messages from debuger:

in System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
in System.Uri..ctor(String uriString)
in MediaPortal.Utils.Web.HTTPTransaction.Transaction(HTTPRequest pageRequest)
in MediaPortal.Utils.Web.HTMLPage.GetInternal(HTTPRequest page)
in MediaPortal.Utils.Web.HTMLPage.LoadPage(HTTPRequest page)
in MediaPortal.Utils.Web.HTMLPage..ctor(HTTPRequest page)
in WebEPG_Designer.Main.bLoad_Click(Object sender, EventArgs e)
in System.Windows.Forms.Control.OnClick(EventArgs e)
in System.Windows.Forms.Button.OnClick(EventArgs e)
in System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.ButtonBase.WndProc(Message& m)
in System.Windows.Forms.Button.WndProc(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 

Ruhar Insane

Portal Member
August 27, 2007
9
0
Home Country
United States of America United States of America
amilewski,

I think the problem with my link is that the website requires a login before it will display any TV Listings.

I started looking at your url:

http://tv.wp.pl/index.html?T[date]=[YYYY]-[MM]-[DD]&amp;T%5Bstation%5D=ID&amp;T%5Bcategory%5D=ALL&amp ;T%5Btime%5D=0

and noticed that there are no brackets around ID, you may want to try this out:

http://tv.wp.pl/index.html?T[date]=[YYYY]-[MM]-[DD]&amp;T%5Bstation%5D=[ID]&amp;T%5Bcategory%5D=ALL&amp ;T%5Btime%5D=0

Hope this helps out.
 

Users who are viewing this thread

Top Bottom