You are here

How to make it work. Constantly getting errors.

7 posts / 0 new
Last post
peterk
Offline
Joined: 2 years
Last seen: 2 years
How to make it work. Constantly getting errors.
peterk
Offline
Joined: 2 years
Last seen: 2 years

I first had problems with <star-rating> elements. Then I noticed that the sentance "The xmltv input file may not contain any <star-rating> elements" was misleading. It should be "The xmltv input file should not contain any <star-rating> elements" and removed this element from the config file.

After I successfully removed the star rating tag I've got another error which says:

BTW. The XML file is fine and it opens without a problem in Internet Explorer.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at EpgEdit.EpgEdit.getEPG(DataSet ds)
   at EpgEdit.EpgEdit.EPG_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 

 

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 4 years
Last seen: 1 day
Is the support helpful?
support us

Can you upload your xmltv file?
I will have a look
Jan

peterk
Offline
Joined: 2 years
Last seen: 2 years

Hi, thank you for your quick reply. I attached my test XMLTV file.

Attachments: 
WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 4 years
Last seen: 1 day
Is the support helpful?
support us

I made a new version that is somewhat more robust to variations in xmltv input content.
Try this : ​http://webgrabplus.com/sites/default/files/downloads/Misc/EPGEdit1.1.zip, that works with your guide.xml

(btw The xmltv you uploaded is rather messy , especially the actors. Which siteini are you using? It needs some update, mabe I can find some time to do that)

Jan​

peterk
Offline
Joined: 2 years
Last seen: 2 years

Hi, thank you very much. It really works now.

Yes​. I know the actors part of the XMLTV is not great. I actually got this config at your forum. I think it was the last one from this thread: http://webgrabplus.com/content/siolnetini

I checked it already and for my opinion it's properly formed. But there are some strangly positioned tags on the site where the info is pulled. But yes. I only found your app the previous week and I'm not an expert.

I'll rather make another config filre for this site http://tv.t-2.net/?funcName=TVSCHEDULES
​This page has data for a longer period of time.

 

sconly
Offline
Joined: 2 years
Last seen: 1 year
peterk wrote:

I first had problems with <star-rating> elements. Then I noticed that the sentance "The xmltv input file may not contain any <star-rating> elements" was misleading. It should be "The xmltv input file should not contain any <star-rating> elements" and removed this element from the config file.

After I successfully removed the star rating tag I've got another error which says:

BTW. The XML file is fine and it opens without a problem in Internet Explorer.

How did you remove the 'star-rating' tag(s)?  I have 22 in my guide.xml and can;t see/find anything in the WebGrab++.config.xml file that references it.

Thanks

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl