This may be similar to the other thread “failed to create .mxf file” but I’m getting “failed to import .mxf file”. I noticed the EPG123 icon was red a few days ago and just updated to the latest one, still happening. The entry in the event viewer is:
“Beginning ep123 client execution”
Error using loadmxf.exe to import new guide information. Exit code: -1
Failed to import .mxf file. Exiting.
Anyone have any ideas on this? Thanks
Getting error "failed to import .mxf file"
Forum rules
★ Download the latest EPG123 here: https://garyan2.github.io/ <> Setup guide here: https://garyan2.github.io/install.html ★
★ Download the latest EPG123 here: https://garyan2.github.io/ <> Setup guide here: https://garyan2.github.io/install.html ★
-
- Posts: 12
- Joined: Thu Apr 09, 2020 12:57 am
- Location: Rockaway, NJ
- HTPC Specs:
- garyan2
- Posts: 7438
- Joined: Fri Nov 27, 2015 7:23 pm
- Location:
- HTPC Specs:
Probably a corrupted database. What does the trace.log file say? You can view it using the [View Log] button.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io
Keeping WMC alive beyond January 2020. https://garyan2.github.io
-
- Posts: 12
- Joined: Thu Apr 09, 2020 12:57 am
- Location: Rockaway, NJ
- HTPC Specs:
Hi Gary, I'm seeing the following in the log. Any advice would be appreciated, thanks!
7/6/2020 3:04:02 AM] [ INFO] Unhandled Exception: System.InvalidOperationException: Error getting IDBCreateCommand - HR = 0x0
[7/6/2020 3:04:02 AM] [ INFO] at MediaCenter.Store.SqlLite.SqlLiteErr.LogAndThrowException(Int32 hr, String msg, Object[] args)
[7/6/2020 3:04:02 AM] [ INFO] at MediaCenter.Store.SqlLite.SqlLiteCommand.CreateCommand(IUnknown** ppunk)
[7/6/2020 3:04:02 AM] [ INFO] at MediaCenter.Store.SqlLite.SqlLiteCommand.InitNativeCommand()
[7/6/2020 3:04:02 AM] [ INFO] at MediaCenter.Store.SqlLite.SqlLiteSession.ExecuteSql(String sql)
[7/6/2020 3:04:02 AM] [ INFO] at MediaCenter.Store.SqlLite.SqlLiteSession.DeleteCollectionInfoTable()
[7/6/2020 3:04:02 AM] [ INFO] at MediaCenter.Store.OleDB.ObjectStore.DeleteCollectionInfoTable()
[7/6/2020 3:04:02 AM] [ INFO] at Microsoft.MediaCenter.Store.StoreObjectCollector.Collect(String fileName, Boolean disableThrottle, Boolean createDbBackups, TraceOp traceLevel)
[7/6/2020 3:04:02 AM] [ INFO] at Updater.Run()
[7/6/2020 3:04:02 AM] [ INFO] at wWinMain(HINSTANCE__* hInst, HINSTANCE__* hInstPrev, UInt16* pwzCmdLine, Int32 nCmdShow)
[7/6/2020 3:04:02 AM] [ INFO] at wWinMainCRTStartup()
[7/6/2020 3:04:02 AM] [ INFO] at wWinMainStub()
[7/6/2020 3:04:02 AM] [ERROR] Error using mcupdate.exe to perform database garbage cleanup. Exit code: -532459699
[7/6/2020 3:04:02 AM] Entering importMxfFile() for file "c:\programdata\garyan2\epg123\output\epg123.mxf"
[7/6/2020 3:04:02 AM] [ INFO] Error: The following error was encountered while processing the file. Aborting.
[7/6/2020 3:04:02 AM] [ INFO] GuideImage: InsertRow() failed (attempt 0 of 10)
7/6/2020 3:04:02 AM] [ INFO] Unhandled Exception: System.InvalidOperationException: Error getting IDBCreateCommand - HR = 0x0
[7/6/2020 3:04:02 AM] [ INFO] at MediaCenter.Store.SqlLite.SqlLiteErr.LogAndThrowException(Int32 hr, String msg, Object[] args)
[7/6/2020 3:04:02 AM] [ INFO] at MediaCenter.Store.SqlLite.SqlLiteCommand.CreateCommand(IUnknown** ppunk)
[7/6/2020 3:04:02 AM] [ INFO] at MediaCenter.Store.SqlLite.SqlLiteCommand.InitNativeCommand()
[7/6/2020 3:04:02 AM] [ INFO] at MediaCenter.Store.SqlLite.SqlLiteSession.ExecuteSql(String sql)
[7/6/2020 3:04:02 AM] [ INFO] at MediaCenter.Store.SqlLite.SqlLiteSession.DeleteCollectionInfoTable()
[7/6/2020 3:04:02 AM] [ INFO] at MediaCenter.Store.OleDB.ObjectStore.DeleteCollectionInfoTable()
[7/6/2020 3:04:02 AM] [ INFO] at Microsoft.MediaCenter.Store.StoreObjectCollector.Collect(String fileName, Boolean disableThrottle, Boolean createDbBackups, TraceOp traceLevel)
[7/6/2020 3:04:02 AM] [ INFO] at Updater.Run()
[7/6/2020 3:04:02 AM] [ INFO] at wWinMain(HINSTANCE__* hInst, HINSTANCE__* hInstPrev, UInt16* pwzCmdLine, Int32 nCmdShow)
[7/6/2020 3:04:02 AM] [ INFO] at wWinMainCRTStartup()
[7/6/2020 3:04:02 AM] [ INFO] at wWinMainStub()
[7/6/2020 3:04:02 AM] [ERROR] Error using mcupdate.exe to perform database garbage cleanup. Exit code: -532459699
[7/6/2020 3:04:02 AM] Entering importMxfFile() for file "c:\programdata\garyan2\epg123\output\epg123.mxf"
[7/6/2020 3:04:02 AM] [ INFO] Error: The following error was encountered while processing the file. Aborting.
[7/6/2020 3:04:02 AM] [ INFO] GuideImage: InsertRow() failed (attempt 0 of 10)
- garyan2
- Posts: 7438
- Joined: Fri Nov 27, 2015 7:23 pm
- Location:
- HTPC Specs:
Looks like your database is hosed. Open the client and click the [Rebuild WMC Database] button to build a new one.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io
Keeping WMC alive beyond January 2020. https://garyan2.github.io
-
- Posts: 12
- Joined: Thu Apr 09, 2020 12:57 am
- Location: Rockaway, NJ
- HTPC Specs:
That did it! Thanks very much Gary!
-
- Posts: 183
- Joined: Tue Aug 04, 2015 9:00 pm
- Location:
- HTPC Specs:
I'm in a similar boat, here's my log:
[11/1/2021 4:16:36 AM] [ INFO] Beginning epg123 client execution. 2021-11-01 08:16:36Z
[11/1/2021 4:16:36 AM] [ INFO] Import: True , Match: True , NoLogo: False , Force: False , ShowProgress: False
[11/1/2021 4:16:36 AM] [ INFO] epg123 client version: 1.1.19 for Win7
[11/1/2021 4:16:37 AM] Entering importMxfFile() for file "C:\Program Files (x86)\epg123-1.1.19\epg123.mxf"
[11/1/2021 4:33:11 AM] [ INFO] Unhandled Exception: System.InvalidOperationException: Releasing rows on a closed rowset ScheduleEntry ScheduleEntryI_StoredObjectIdKey
[11/1/2021 4:33:11 AM] [ INFO] at MediaCenter.Store.SqlLite.Rowset.ReleaseRow()
[11/1/2021 4:33:11 AM] [ INFO] at MediaCenter.Store.OleDB.Rowset.Release(StoredObjectsEnumerator enumerator)
[11/1/2021 4:33:11 AM] [ INFO] at MediaCenter.Store.OleDB.StoredObjectsEnumerator.ReleaseRowset()
[11/1/2021 4:33:11 AM] [ INFO] at MediaCenter.Store.OleDB.StoredObjectsRecord.StoreEnumeratorToCache(StoredObjectsEnumerator enumerator)
[11/1/2021 4:33:11 AM] [ INFO] at MediaCenter.Store.OleDB.StoredObjectsRecord.Fetch(Int64 id, StoredObjectKey key)
[11/1/2021 4:33:11 AM] [ INFO] at Microsoft.MediaCenter.Store.StoredObjects.Fetch(Int64 id)
[11/1/2021 4:33:11 AM] [ INFO] at Microsoft.MediaCenter.Store.StoredObjects.get_Item(Int64 id)
[11/1/2021 4:33:11 AM] [ INFO] at MediaCenter.Store.OleDB.StoredObjectFieldBinding.GetValueFromBuffer(Byte[] sourceBuffer)
[11/1/2021 4:33:11 AM] [ INFO] at MediaCenter.Store.OleDB.OleDbFieldBinding`1.LoadValue(Object destinationObject, Byte[] sourceBuffer)
[11/1/2021 4:33:11 AM] [ INFO] at Microsoft.MediaCenter.Store.FieldBindings.LoadValues(Object target, Byte[] rawDataBuffer)
[11/1/2021 4:33:11 AM] [ INFO] at MediaCenter.Store.OleDB.StoredObjectsEnumerator.LoadFromBuffer(Int64 id, LoadedObjectBuffer ubuff)
[11/1/2021 4:33:11 AM] [ INFO] at Microsoft.MediaCenter.Pvr.Request.UpdateAssignments(RequestedProgram requestedProgram)
[11/1/2021 4:33:11 AM] [ INFO] at Microsoft.MediaCenter.Pvr.Request.UpdateRequestedPrograms()
[11/1/2021 4:33:11 AM] [ INFO] at Microsoft.MediaCenter.Pvr.Requests.UpdateAllActive(ObjectStore objectStore)
[11/1/2021 4:33:11 AM] [ INFO] at Microsoft.MediaCenter.Pvr.FullRescheduleWorker.Work()
[11/1/2021 4:33:11 AM] [ INFO] at Microsoft.MediaCenter.Pvr.SignaledWorker.ThreadProcess()
[11/1/2021 4:33:11 AM] [ INFO] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
[11/1/2021 4:33:11 AM] [ INFO] at System.Threading.ThreadHelper.ThreadStart()
[11/1/2021 4:33:11 AM] [ERROR] Error using loadmxf.exe to import new guide information. Exit code: -532459699
[11/1/2021 4:33:11 AM] Exiting importMxfFile(). FAILURE.
[11/1/2021 4:33:11 AM] [ERROR] Failed to import .mxf file. Exiting.
[11/1/2021 4:16:36 AM] [ INFO] Beginning epg123 client execution. 2021-11-01 08:16:36Z
[11/1/2021 4:16:36 AM] [ INFO] Import: True , Match: True , NoLogo: False , Force: False , ShowProgress: False
[11/1/2021 4:16:36 AM] [ INFO] epg123 client version: 1.1.19 for Win7
[11/1/2021 4:16:37 AM] Entering importMxfFile() for file "C:\Program Files (x86)\epg123-1.1.19\epg123.mxf"
[11/1/2021 4:33:11 AM] [ INFO] Unhandled Exception: System.InvalidOperationException: Releasing rows on a closed rowset ScheduleEntry ScheduleEntryI_StoredObjectIdKey
[11/1/2021 4:33:11 AM] [ INFO] at MediaCenter.Store.SqlLite.Rowset.ReleaseRow()
[11/1/2021 4:33:11 AM] [ INFO] at MediaCenter.Store.OleDB.Rowset.Release(StoredObjectsEnumerator enumerator)
[11/1/2021 4:33:11 AM] [ INFO] at MediaCenter.Store.OleDB.StoredObjectsEnumerator.ReleaseRowset()
[11/1/2021 4:33:11 AM] [ INFO] at MediaCenter.Store.OleDB.StoredObjectsRecord.StoreEnumeratorToCache(StoredObjectsEnumerator enumerator)
[11/1/2021 4:33:11 AM] [ INFO] at MediaCenter.Store.OleDB.StoredObjectsRecord.Fetch(Int64 id, StoredObjectKey key)
[11/1/2021 4:33:11 AM] [ INFO] at Microsoft.MediaCenter.Store.StoredObjects.Fetch(Int64 id)
[11/1/2021 4:33:11 AM] [ INFO] at Microsoft.MediaCenter.Store.StoredObjects.get_Item(Int64 id)
[11/1/2021 4:33:11 AM] [ INFO] at MediaCenter.Store.OleDB.StoredObjectFieldBinding.GetValueFromBuffer(Byte[] sourceBuffer)
[11/1/2021 4:33:11 AM] [ INFO] at MediaCenter.Store.OleDB.OleDbFieldBinding`1.LoadValue(Object destinationObject, Byte[] sourceBuffer)
[11/1/2021 4:33:11 AM] [ INFO] at Microsoft.MediaCenter.Store.FieldBindings.LoadValues(Object target, Byte[] rawDataBuffer)
[11/1/2021 4:33:11 AM] [ INFO] at MediaCenter.Store.OleDB.StoredObjectsEnumerator.LoadFromBuffer(Int64 id, LoadedObjectBuffer ubuff)
[11/1/2021 4:33:11 AM] [ INFO] at Microsoft.MediaCenter.Pvr.Request.UpdateAssignments(RequestedProgram requestedProgram)
[11/1/2021 4:33:11 AM] [ INFO] at Microsoft.MediaCenter.Pvr.Request.UpdateRequestedPrograms()
[11/1/2021 4:33:11 AM] [ INFO] at Microsoft.MediaCenter.Pvr.Requests.UpdateAllActive(ObjectStore objectStore)
[11/1/2021 4:33:11 AM] [ INFO] at Microsoft.MediaCenter.Pvr.FullRescheduleWorker.Work()
[11/1/2021 4:33:11 AM] [ INFO] at Microsoft.MediaCenter.Pvr.SignaledWorker.ThreadProcess()
[11/1/2021 4:33:11 AM] [ INFO] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
[11/1/2021 4:33:11 AM] [ INFO] at System.Threading.ThreadHelper.ThreadStart()
[11/1/2021 4:33:11 AM] [ERROR] Error using loadmxf.exe to import new guide information. Exit code: -532459699
[11/1/2021 4:33:11 AM] Exiting importMxfFile(). FAILURE.
[11/1/2021 4:33:11 AM] [ERROR] Failed to import .mxf file. Exiting.