Failed to import mxf file

An evolving, supported alternative to Rovi
Forum rules
★ Download the latest EPG123 here: https://garyan2.github.io/ <> Setup guide here: https://garyan2.github.io/install.html
Post Reply
radix33

Posts: 2
Joined: Sun Mar 05, 2023 3:47 pm
Location:

HTPC Specs: Show details

Failed to import mxf file

#1

Post by radix33 » Sun Mar 05, 2023 3:54 pm

Apologies if this has been covered before, but I'm getting "There was an error during update". I was able to get EPG123 to refresh after I cleared cache (pressed the 'Clear Cache' button) and Save & Execute the refresh of the guide. I have just installed the latest epg123 1.7.3 and renewed my Schedules Direct subscription.

This is the error:
[3/5/2023 7:45:03 AM] [ INFO] Import: True , Match: True , NoLogo: False , Force: False , ShowProgress: True , NoGC: True , NoVerify: True , Verbose: False
[3/5/2023 7:45:05 AM] Entering ImportMxfFile() for file "c:\programdata\garyan2\epg123\output\epg123.mxf".
[3/5/2023 7:48:04 AM] [ INFO] Error: The following error was encountered while processing the file. Aborting.
[3/5/2023 7:48:04 AM] [ INFO] ScheduleEntry: InsertRow() failed (attempt 0 of 10) for (1, 0668D300000015000100000001000000D71C0000000005000000000000000000C39E020000000E0000000000000000009AED030000001D0000686E1CDE1DDB08009C504DE21DDB080000000000000000000000000000000000FFFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFF00000000000000000000000000000000) - HR = 0x80004005, minor = 28574, 1406, 0, 0, "", "", ""
[3/5/2023 7:48:08 AM] [ERROR] Error using loadmxf.exe to import new guide information. Exit code: -1
[3/5/2023 7:48:08 AM] Exiting ImportMxfFile(). FAILURE.
[3/5/2023 7:48:08 AM] [ERROR] Failed to import .mxf file. Exiting.
[3/5/2023 7:48:08 AM] [ INFO] MXF file was created on 3/5/2023 7:41:46 AM
[3/5/2023 7:48:08 AM] [ INFO] Completed EPG123 client execution.
[3/5/2023 7:48:08 AM] [ INFO] EPG123 client execution time was 00:03:04.9116248.

User avatar
garyan2

Posts: 7480
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#2

Post by garyan2 » Sun Mar 05, 2023 4:16 pm

You WMC database is corrupted.

Open a command prompt and run "START /WAIT c:\windows\ehome\mcupdate.exe -dbgc -updateTrigger" without quotes. Wait for it to complete and return the c:\ prompt then try an import again. This can take a considerable amount of time depending on your database size... just let it go until it is done.

If there are errors from mcupdate, or the import still didn't work, then I would suggest you use the [Rebuild WMC Database] button in the client. Be aware that rebuilding the database will cause you to lose recording histories so if you have a series set to record new and reruns, WMC will forget what you recorded in the past and record them again if they show up in the guide. Also, you will lose any movie coverart that was viewable in the movie library that you recorded. Everything else will be restored to include your recording requests.

What version of EPG123 did you update from? If it was old, you were not running garbage collection periodically which reduces the risk of this occurring significantly.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

radix33

Posts: 2
Joined: Sun Mar 05, 2023 3:47 pm
Location:

HTPC Specs: Show details

#3

Post by radix33 » Sun Mar 19, 2023 12:10 am

The rebuild wmc database button seems to work, I think. There's no more error in the log.
[3/18/2023 4:58:42 PM] ===============================================================================
[3/18/2023 4:58:42 PM] Activating the epg123 client GUI. version 1.7.3.0
[3/18/2023 4:58:42 PM] ===============================================================================
[3/18/2023 4:58:42 PM] *** Windows 7 Ultimate, 64-bit [Version: 6.1.7601.0] ***
[3/18/2023 4:58:42 PM] *** Windows Media Center [Version: 6.1.7600.16385] is installed. ***
[3/18/2023 4:59:06 PM] [ INFO] Successfully queried the Task Scheduler for status. Ready. Last Run 3/17/2023 9:00:00 PM. Exit: 0x00000000
[3/18/2023 4:59:17 PM] [ INFO] Successfully forced a Media Center database configuration backup. Exit code: 0
[3/18/2023 4:59:32 PM] Entering ImportMxfFile() for file "C:\ProgramData\GaRyan2\epg123\output\epg123.mxf".
[3/18/2023 5:01:35 PM] [ INFO] Successfully imported .mxf file into Media Center database. Exit code: 0
[3/18/2023 5:01:35 PM] Exiting ImportMxfFile(). SUCCESS.
[3/18/2023 5:01:35 PM] [ INFO] Completed channel cleanup as needed after MXF file import.
[3/18/2023 5:01:35 PM] Entering RunWmcIndexTask(ReindexSearchRoot)
[3/18/2023 5:01:35 PM] [ INFO] SUCCESS: Attempted to run the scheduled task "Microsoft\Windows\Media Center\ReindexSearchRoot".
[3/18/2023 5:01:35 PM] [ INFO] Successfully started the ReindexSearchRoot task. Exit code: 0
[3/18/2023 5:01:35 PM] Exiting RunWmcIndexTask(ReindexSearchRoot). SUCCESS.
[3/18/2023 5:01:35 PM] [ INFO] MXF file was created on 3/17/2023 9:00:00 PM
[3/18/2023 5:03:49 PM] [ INFO] **** Intercepted "mcupdate.exe -u -nogc" call. Ignored. ****
I upgraded from epg123 version 1.6.7.

Thanks!

Post Reply