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-04-16, 22:31   #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
Exclamation MediaPortal & Setup freeze on corrupted programs database

Hi all,

For some reason, my TV Programs database (TVDatabaseV21.db3) got corrupted. The corruption is noticed, there are error messages in the MediaPortal.log and Configuration.log, but still the program freezes. (Alternatingly maxing out the processor, consuming lots of memory, and trashing the harddisk.)

MediaPortal.log (opening TV Guide):
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
Configuration.log (trying to clean the database):
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 from 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 from 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 from 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 from 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
I have already built a new tv database, but I find it weird that the database corruption is noted in the logfiles and still MP crashes.

I still have the corrupted database, if any developer is interested in testing it to make MP more stable.

Peter
pbb is offline   Reply With Quote
Reply

Bookmarks

Tags
corrupted, database, freeze, programs, setup

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
MP freeze after standby & playing music biba Support 15 2007-03-08 08:15
My Programs : mame, project64 & returning to mediaportal jw General Support 3 2007-01-17 23:49
RC3 "Mediaportal setup" crash in TV database..... pshdo The old Bugreport Forum 2 2006-03-19 18:13
All Game Database & Update Database button "quirk&q gpeters Plugins 5 2006-01-02 22:30
Critical Error: MP crashes & corrupted when using VMR9 idioteque The old Bugreport Forum 1 2005-10-28 22:06


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


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