MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Electronic Program Guide » WebEPG


WebEPG everything related to WebEPG in here

Reply
 
Thread Tools Display Modes
Old 2007-03-26, 18:50   #1 (permalink)
pbb
Docs Team
 
Join Date: Oct 2006
Location: Trondheim
Age: 36
Posts: 297
Thanks: 5
Thanked 20 Times in 9 Posts

Country:

My System

Send a message via ICQ to pbb Send a message via MSN to pbb Send a message via Yahoo to pbb
Default No more TV data available?

I noticed today, that the TV Guide in MediaPortal says "No data available" for all channels! Only a few programs that started yesterday before midnight and continued into today, are shown. (I cannot scroll further back than midnight.)

I've re-run WebEPG.exe manually, and the produced TVguide.xml (in the xmltv directory) looks ok, following is one program item:

Code:
  <programme start="20070326170000" stop="20070326180000" channel="animalplanet.com">
    <title>Dyrepolitiet i Houston (22)</title>
    <desc>Dokumentarserie. Vi følger dyrepolitiet i Houston, Texas som jobber med å bekjempe og forhindre dyremishandling.</desc>
    <episode-num>22</episode-num>
  </programme>
But the programs from the TVguide.xml don't show up in the TV Guide. The weird thing is even, the ones that do show up in TV Guide (the ones around last midnight) aren't in the xml file!

Does this mean TV Guide keeps yet another file for maintaining the program infos? And that this file might be corrupt?

I am using MP SVN 12802 (MP needs an "About" box, idiocy of having to re-start MP and check a transparent box that automatically disappears again to see the version number...), and the \WebEPG\Grabbers\NO\2-fredag_dagbladet_no.xml grabber.

I even tried one of the Swedish grabbers for the Swedish channels, but no change. The TVguide.xml updates nicely, but there is no change in the TV Guide inside MP.

Any ideas what can be wrong?

UPDATE:

This is really weird! Now I opened TV Guide while TVGuide.xml was just updated, and I slowly see the channel information being filled. (That is, while scrolling back and forth through the channel list, more and more channels show program info.) And all of a sudden, all channels show "No data available" again! This does support my suspicion of a corruption somewhere, but how can I find out? The xml file loads fine in Internet Explorer and Firefox, so you would think it is valid...

Last edited by pbb; 2007-03-26 at 20:09.
pbb is offline   Reply With Quote
Old 2007-03-28, 23:45   #2 (permalink)
pbb
Docs Team
 
Join Date: Oct 2006
Location: Trondheim
Age: 36
Posts: 297
Thanks: 5
Thanked 20 Times in 9 Posts

Country:

My System

Send a message via ICQ to pbb Send a message via MSN to pbb Send a message via Yahoo to pbb
Default

Any ideas anyone? MediaPortal now even seems to crash when I open the TV Guide.

From MediaPortal.log:
Code:
2007-03-28 23:40:09.593750 [Info.][MPMain]: window:MediaPortal.GUI.TV.GUITVGuide init
2007-03-28 23:40:09.843750 [Info.][MPMain]: SQL:TVDatabaseV21.db3 cmd:sqlite3_step err:ERROR detailed:SQL logic error or missing database query:select * from channel,tblPrograms,genre where genre.idGenre=tblPrograms.idGenre and tblPrograms.idChannel=channel.idChannel and channel.strChannel like 'TV2 Zebra'  and ( (tblPrograms.iEndTime>='20070328233000' and tblPrograms.iEndTime <='20070329012900')  or (tblPrograms.iStartTime>='20070328233000' and tblPrograms.iStartTime <= '20070329012900' )  or (tblPrograms.iStartTime<='20070328233000' and tblPrograms.iEndTime >= '20070329012900') ) order by iStartTime
2007-03-28 23:40:09.843750 [Info.][MPMain]: TVDatabase exception err:SQL:TVDatabaseV21.db3 cmd:sqlite3_step err:ERROR detailed:SQL logic error or missing database query:select * from channel,tblPrograms,genre where genre.idGenre=tblPrograms.idGenre and tblPrograms.idChannel=channel.idChannel and channel.strChannel like 'TV2 Zebra'  and ( (tblPrograms.iEndTime>='20070328233000' and tblPrograms.iEndTime <='20070329012900')  or (tblPrograms.iStartTime>='20070328233000' and tblPrograms.iStartTime <= '20070329012900' )  or (tblPrograms.iStartTime<='20070328233000' and tblPrograms.iEndTime >= '20070329012900') ) order by iStartTime stack:   at SQLite.NET.SQLiteClient.ThrowError(String statement, String sqlQuery, SqliteError err)
   at SQLite.NET.SQLiteClient.ReadpVm(String query, SQLiteResultSet set1, IntPtr pVm)
   at SQLite.NET.SQLiteClient.Execute(String query)
   at MediaPortal.TV.Database.TVDatabase.GetProgramsPerChannel(String strChannel1, Int64 iStartTime, Int64 iEndTime, List`1& progs) select * from channel,tblPrograms,genre where genre.idGenre=tblPrograms.idGenre and tblPrograms.idChannel=channel.idChannel and channel.strChannel like 'TV2 Zebra'  and ( (tblPrograms.iEndTime>='20070328233000' and tblPrograms.iEndTime <='20070329012900')  or (tblPrograms.iStartTime>='20070328233000' and tblPrograms.iStartTime <= '20070329012900' )  or (tblPrograms.iStartTime<='20070328233000' and tblPrograms.iEndTime >= '20070329012900') ) order by iStartTime
2007-03-28 23:40:09.843750 [Info.][MPMain]: opening tvdatabase
2007-03-28 23:40:14.781250 [Info.][2]: dbs:close:TVDatabaseV21.db3
pbb is offline   Reply With Quote
Old 2007-03-29, 11:44   #3 (permalink)
Portal Member
 
NickName's Avatar
 
Join Date: Jun 2006
Location: Gold Coast
Posts: 283
Thanks: 13
Thanked 5 Times in 3 Posts

Country:


Default

Hi pbb,

Try opening the configuration program and going to the TV guide section. Click the button labeled something like "Remove all programs from database".
When you reopen the TV guide in Mediaportal it will automatically load the new data and that should be all fixed.

Hope that helps,

Nick Name.
__________________
Before, I could never finish anything I started but now I

Last edited by NickName; 2007-03-29 at 11:44. Reason: typo
NickName is offline   Reply With Quote
Old 2007-03-31, 16:56   #4 (permalink)
pbb
Docs Team
 
Join Date: Oct 2006
Location: Trondheim
Age: 36
Posts: 297
Thanks: 5
Thanked 20 Times in 9 Posts

Country:

My System

Send a message via ICQ to pbb Send a message via MSN to pbb Send a message via Yahoo to pbb
Default

Thanks for the suggestion, I hadn't thought about that option!
However, it didn't help, the config program freezes when I try that. Over the course of 10 minutes, alternating the processor is being maxed out, the programs starts consuming up to 800 MB of memory, and the harddisk is maxed outcausing all other programs to also freeze...

Here's a snippet from Configuration.log:
Code:
2007-03-31 16:21:21.875000 [Info.][Config Main]: SQL:TVDatabaseV21.db3 cmd:sqlite3_step err:ERROR detailed:SQL logic error or missing database query:delete frm tblPrograms
2007-03-31 16:21:21.875000 [ERROR][Config Main]: SQL:TVDatabaseV21.db3 cmd:sqlite3_step err:ERROR detailed:SQL logic error or missing database query:delete frm tblPrograms
2007-03-31 16:21:21.984375 [Info.][Config Main]: TVDatabase exception err:SQL:TVDatabaseV21.db3 cmd:sqlite3_step err:ERROR detailed:SQL logic error or missing database query:delete frm tblPrograms stack:   at SQLite.NET.SQLiteClient.ThrowError(String statement, String sqlQuery, SqliteError err)
   at SQLite.NET.SQLiteClient.ReadpVm(String query, SQLiteResultSet set1, IntPtr pVm)
   at SQLite.NET.SQLiteClient.Execute(String query)
   at MediaPortal.TV.Database.TVDatabase.RemovePrograms()
2007-03-31 16:21:21.984375 [ERROR][Config Main]: TVDatabase exception err:SQL:TVDatabaseV21.db3 cmd:sqlite3_step err:ERROR detailed:SQL logic error or missing database query:delete frm tblPrograms stack:   at SQLite.NET.SQLiteClient.ThrowError(String statement, String sqlQuery, SqliteError err)
   at SQLite.NET.SQLiteClient.ReadpVm(String query, SQLiteResultSet set1, IntPtr pVm)
   at SQLite.NET.SQLiteClient.Execute(String query)
   at MediaPortal.TV.Database.TVDatabase.RemovePrograms()
2007-03-31 16:21:21.984375 [Info.][Config Main]: opening tvdatabase
2007-03-31 16:21:22.640625 [Info.][2]: dbs:close:TVDatabaseV21.db3
Clearly something wrong with the database....

Ah, and my program database is not only thing wrong I see -- this forum here gets an error 500 (Internal Server Error) whenever I write the words "delete" and "from" after eachother! Can you image that? That is why my log mentions the weird "delete frm"... That should be "from"...
pbb is offline   Reply With Quote
Reply

Bookmarks

Tags
data

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Data from the Web James General Development (no feature request here!) 11 2007-01-07 17:38
TV Data - No Data Available Technifide Installation, configuration support 6 2006-09-27 22:34
how to fill a listview with data? wertzui Plugins 3 2006-05-08 01:17
tv guide data not available MJJ WebEPG 8 2006-04-28 22:04
No EPG Data at all jamlam WebEPG 9 2005-08-02 01:07


All times are GMT +1. The time now is 04:25.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden