Sudden issue with WMC - "Failed to create 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
soccerace21

Posts: 2
Joined: Thu Dec 15, 2022 3:29 pm
Location:

HTPC Specs: Show details

Sudden issue with WMC - "Failed to create MXF file"

#1

Post by soccerace21 » Thu Dec 15, 2022 3:52 pm

This issue started just last week and nothing on my computer has changed. WMC would remind me the guide needed to be updated, then fail to update. Here's the latest from the log file.

[12/15/2022 10:18:44 AM] ===============================================================================
[12/15/2022 10:18:44 AM] Activating the epg123 configuration GUI. version 1.7.3.0
[12/15/2022 10:18:44 AM] ===============================================================================
[12/15/2022 10:18:44 AM] *** Windows 7 Home Premium, 64-bit [Version: 6.1.7601.23964] ***
[12/15/2022 10:18:44 AM] *** Windows Media Center [Version: 6.1.7600.16385] is installed. ***
[12/15/2022 10:18:44 AM] [ INFO] Status request successful. account expires: 2023-06-02T13:22:31Z , lineups: 1/4 , lastDataUpdate: 2022-12-15T02:03:36Z
[12/15/2022 10:18:44 AM] [ INFO] System status: Online , message: No known issues.
[12/15/2022 10:18:44 AM] [ INFO] Successfully requested listing of subscribed lineups from Schedules Direct.
[12/15/2022 10:18:45 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-PA71515-X.
[12/15/2022 10:18:45 AM] [ INFO] Successfully queried the Task Scheduler for status. Ready. Last Run 12/14/2022 2:10:00 PM. Exit: 0x00000000
[12/15/2022 10:18:47 AM] [ INFO] Successfully requested listing of subscribed lineups from Schedules Direct.
[12/15/2022 10:18:53 AM] [ INFO] Successfully requested listing of subscribed lineups from Schedules Direct.
[12/15/2022 10:18:53 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-PA71515-X.
[12/15/2022 10:18:57 AM] [ INFO] Beginning EPG123 update execution. 2022-12-15 15:18:57Z
[12/15/2022 10:18:57 AM] [ INFO] DaysToDownload: 14 , TheTVDBNumbers : False , PrefixEpisodeTitle: False , PrefixEpisodeDescription : False , AppendEpisodeDesc: False , OADOverride : True , SeasonEventImages : True , TMDbCoverArt: False , IncludeSDLogos : False , AutoAddNew: True , CreateXmltv: False , ModernMediaUiPlusSupport: False
[12/15/2022 10:18:57 AM] [ INFO] Status request successful. account expires: 2023-06-02T13:22:31Z , lineups: 1/4 , lastDataUpdate: 2022-12-15T02:03:36Z
[12/15/2022 10:18:57 AM] [ INFO] System status: Online , message: No known issues.
[12/15/2022 10:18:57 AM] [ INFO] Successfully requested listing of subscribed lineups from Schedules Direct.
[12/15/2022 10:18:58 AM] Entering BuildLineupServices() for 1 lineups.
[12/15/2022 10:18:58 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-PA71515-X.
[12/15/2022 10:18:58 AM] Exiting BuildLineupServices(). SUCCESS.
[12/15/2022 10:18:58 AM] Entering GetAllScheduleEntryMd5s() for 14 days on 714 stations.
[12/15/2022 10:19:19 AM] [ INFO] HTTP POST request exception thrown. Messages: One or more errors occurred. Error while copying content to a stream. Unable to read data from the transport connection: The connection was closed.
[12/15/2022 10:19:19 AM] [ERROR] Did not receive a response from Schedules Direct for Md5s of 89 stations' daily schedules. (0:00:00:21.4344376)
[12/15/2022 10:19:19 AM] [ERROR] Problem occurred during GetMd5ScheduleEntries(). Exiting.
[12/15/2022 10:19:19 AM] [ERROR] Failed to create MXF file. Exiting.
[12/15/2022 10:19:20 AM] [ INFO] epg123 update execution time was 00:00:22.2924391.

User avatar
garyan2

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

HTPC Specs: Show details

#2

Post by garyan2 » Thu Dec 15, 2022 11:34 pm

Download v1.7.3.4. This is related to IPv6 issues that appear limited to the northeast of the U.S.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

soccerace21

Posts: 2
Joined: Thu Dec 15, 2022 3:29 pm
Location:

HTPC Specs: Show details

#3

Post by soccerace21 » Fri Dec 16, 2022 4:24 am

Thanks, that worked. I'm in PA, so part of the affected area.

bdipert

Posts: 17
Joined: Fri Feb 03, 2017 6:25 pm
Location:

HTPC Specs: Show details

#4

Post by bdipert » Fri Dec 16, 2022 5:03 pm

Gary,
I'm also having the same issue; FYI I'm in Golden, CO (i.e., not the northeast). Will try the latest beta update now (currently still running v1.7.0.10)

User avatar
garyan2

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

HTPC Specs: Show details

#5

Post by garyan2 » Fri Dec 16, 2022 5:22 pm

Not sure you are having the same issue. There are other errors you will receive by running an older version due to changes in security protocols with SD. I would have to see your log file to be sure.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

bdipert

Posts: 17
Joined: Fri Feb 03, 2017 6:25 pm
Location:

HTPC Specs: Show details

#6

Post by bdipert » Fri Dec 16, 2022 7:59 pm

Yeah, Gary, I'm still getting errors. Here's the log excerpt from the most recent guide update attempt (post-upgrade to the latest EPG123 beta...between this attempt and the prior one, which had also failed, I also did a Windows 7 reboot in case there was still cruft left over from the prior EPG123 version). I also can send you the full log file if you guide me on how to get it to you. Thanks in advance!

[12/16/2022 12:09:08 PM] ===============================================================================
[12/16/2022 12:09:08 PM] Beginning epg123 update execution. version 1.7.3.4
[12/16/2022 12:09:08 PM] ===============================================================================
[12/16/2022 12:09:09 PM] *** Windows 7 Home Premium, 64-bit [Version: 6.1.7601.24546] ***
[12/16/2022 12:09:09 PM] *** .NET Framework 4.8.03761 is intalled. ***
[12/16/2022 12:09:09 PM] *** Windows Media Center [Version: 6.1.7600.16385] is installed. ***
[12/16/2022 12:09:09 PM] [ INFO] Beginning EPG123 update execution. 2022-12-16 19:09:09Z
[12/16/2022 12:09:09 PM] [ INFO] DaysToDownload: 14 , TheTVDBNumbers : True , PrefixEpisodeTitle: False , PrefixEpisodeDescription : False , AppendEpisodeDesc: False , OADOverride : True , SeasonEventImages : True , TMDbCoverArt: True , IncludeSDLogos : True , AutoAddNew: True , CreateXmltv: False , ModernMediaUiPlusSupport: False
[12/16/2022 12:09:12 PM] [ INFO] Status request successful. account expires: 2023-02-14T00:15:06Z , lineups: 1/4 , lastDataUpdate: 2022-12-16T15:48:48Z
[12/16/2022 12:09:12 PM] [ INFO] System status: Online , message: No known issues.
[12/16/2022 12:09:35 PM] [ INFO] Successfully retrieved TMDb configurations.
[12/16/2022 12:09:35 PM] [ INFO] Successfully requested listing of subscribed lineups from Schedules Direct.
[12/16/2022 12:09:35 PM] Entering BuildLineupServices() for 1 lineups.
[12/16/2022 12:09:36 PM] [ INFO] Successfully retrieved the station mapping for lineup USA-CO58527-X.
[12/16/2022 12:10:09 PM] [ INFO] Stations no longer available since last configuration save are: NBCSN, BDOGSD, NEWSYSD, FOXLUS, OLYHD, NBCSNHD, OLY
[12/16/2022 12:10:09 PM] [ INFO] Stations added for download since last configuration save are: POSTV, LFN, ACC, FMC, FETV, KRMADT4, KPXCDT2, KREGDT6, FUSEHD, LOGOHD, GFAMHD, FMHD, FLIXHD, SCRNPIX, SCRNACT, SCRNVOI, NHLSKR, DFAMHD, DSCESD, HISTEHD, CARAIHD, MEXCANH, SOCINS, VMOVHD
[12/16/2022 12:10:09 PM] Exiting BuildLineupServices(). SUCCESS.
[12/16/2022 12:10:09 PM] Entering GetAllScheduleEntryMd5s() for 14 days on 644 stations.
[12/16/2022 12:10:10 PM] [ INFO] Successfully retrieved Md5s for 89 stations' daily schedules. (0:00:00:01.5132026)
[12/16/2022 12:10:12 PM] [ INFO] Successfully retrieved Md5s for 89 stations' daily schedules. (0:00:00:01.0140017)
[12/16/2022 12:10:13 PM] [ INFO] Successfully retrieved Md5s for 89 stations' daily schedules. (0:00:00:00.9984018)
[12/16/2022 12:10:14 PM] [ INFO] Successfully retrieved Md5s for 89 stations' daily schedules. (0:00:00:00.9984017)
[12/16/2022 12:10:15 PM] [ INFO] Successfully retrieved Md5s for 89 stations' daily schedules. (0:00:00:01.0296019)
[12/16/2022 12:10:16 PM] [ INFO] Successfully retrieved Md5s for 89 stations' daily schedules. (0:00:00:00.9984018)
[12/16/2022 12:10:17 PM] [ INFO] Successfully retrieved Md5s for 89 stations' daily schedules. (0:00:00:00.9828017)
[12/16/2022 12:10:18 PM] [ INFO] Successfully retrieved Md5s for 21 stations' daily schedules. (0:00:00:00.3744007)
[12/16/2022 12:10:18 PM] [ INFO] Found 9016 cached daily schedules.
[12/16/2022 12:10:18 PM] [ INFO] Downloaded 0 daily schedules.
[12/16/2022 12:10:35 PM] [ INFO] Processed 9016 daily schedules for 644 stations for average of 14.0 days per station.
[12/16/2022 12:10:35 PM] Exiting GetAllScheduleEntryMd5s(). SUCCESS.
[12/16/2022 12:10:36 PM] Entering BuildAllProgramEntries() for 45805 programs.
[12/16/2022 12:11:09 PM] [ INFO] Found 45805 cached program descriptions.
[12/16/2022 12:11:09 PM] Exiting BuildAllProgramEntries(). SUCCESS.
[12/16/2022 12:11:09 PM] Entering BuildAllGenericSeriesInfoDescriptions() for 9002 series.
[12/16/2022 12:11:10 PM] [ INFO] Found 9002 cached/unavailable series descriptions.
[12/16/2022 12:11:10 PM] Exiting BuildAllGenericSeriesInfoDescriptions(). SUCCESS.
[12/16/2022 12:11:10 PM] Entering GetAllMoviePosters() for 4660 movies.
[12/16/2022 12:11:11 PM] [ INFO] Found 4660 cached/unavailable movie poster links.
[12/16/2022 12:11:11 PM] Exiting GetAllMoviePosters(). SUCCESS.
[12/16/2022 12:11:11 PM] Entering GetAllSeriesImages() for 9002 series.
[12/16/2022 12:11:13 PM] [ INFO] Found 8746 cached/unavailable series image links.
[12/16/2022 12:11:13 PM] [ INFO] Refreshing 190 series image links.
[12/16/2022 12:11:15 PM] [ INFO] Successfully retrieved artwork info for 6 programs. (0:00:00:01.9656034)
[12/16/2022 12:11:15 PM] [ INFO] Successfully retrieved artwork info for 125 programs. (0:00:00:02.1528037)
[12/16/2022 12:11:16 PM] [ INFO] Successfully retrieved artwork info for 125 programs. (0:00:00:02.5740045)
[12/16/2022 12:11:16 PM] Exiting GetAllSeriesImages(). SUCCESS.
[12/16/2022 12:11:16 PM] Entering GetAllSeasonImages() for 5015 seasons.
[12/16/2022 12:11:17 PM] [ INFO] Found 4787 cached/unavailable season image links.
[12/16/2022 12:11:17 PM] [ INFO] Successfully retrieved artwork info for 103 programs. (0:00:00:00.4836008)
[12/16/2022 12:11:17 PM] Exiting GetAllSeasonImages(). SUCCESS.
[12/16/2022 12:11:17 PM] Entering GetAllSportsImages() for 574 sports events.
[12/16/2022 12:11:17 PM] [ INFO] Found 553 cached/unavailable sport event image links.
[12/16/2022 12:11:18 PM] [ INFO] Successfully retrieved artwork info for 21 programs. (0:00:00:00.3276006)
[12/16/2022 12:11:18 PM] Exiting GetAllSportsImages(). SUCCESS.
[12/16/2022 12:11:18 PM] [ INFO] Completed compiling keywords and keyword groups.
[12/16/2022 12:11:36 PM] [ INFO] Completed save of the MXF file to "C:\ProgramData\GaRyan2\epg123\output\epg123.mxf". (84.753 MB)
[12/16/2022 12:11:36 PM] [ INFO] Generated .mxf file contains 644 services, 9002 series, 5015 seasons, 45805 programs, 193380 schedule entries, and 73725 people with 17345 image links.
[12/16/2022 12:11:37 PM] [ INFO] 510 entries deleted from the cache file during cleanup.
[12/16/2022 12:11:44 PM] [ INFO] Completed EPG123 update execution. SUCCESS.
[12/16/2022 12:11:44 PM] [ INFO] epg123 update execution time was 00:02:35.4698731.
[12/16/2022 12:11:50 PM] ===============================================================================
[12/16/2022 12:11:50 PM] Beginning epg123 client execution. version 1.7.3.4
[12/16/2022 12:11:50 PM] ===============================================================================
[12/16/2022 12:11:50 PM] *** Windows 7 Home Premium, 64-bit [Version: 6.1.7601.24546] ***
[12/16/2022 12:11:50 PM] *** .NET Framework 4.8.03761 is intalled. ***
[12/16/2022 12:11:50 PM] *** Windows Media Center [Version: 6.1.7600.16385] is installed. ***
[12/16/2022 12:11:50 PM] [ INFO] Import: True , Match: True , NoLogo: False , Force: False , ShowProgress: False , NoGC: True , NoVerify: False , Verbose: False
[12/16/2022 12:11:55 PM] Entering ImportMxfFile() for file "c:\programdata\garyan2\epg123\output\epg123.mxf".
[12/16/2022 12:21:55 PM] [ INFO] Successfully imported .mxf file into Media Center database. Exit code: 0
[12/16/2022 12:21:55 PM] Exiting ImportMxfFile(). SUCCESS.
[12/16/2022 12:21:55 PM] Entering VerifyLoad()
[12/16/2022 12:22:24 PM] [ INFO] Service !Service!EPG123_17665: CSPAN3 has a time discontinuity at 12/19/2022 5:32:00 PM. Skipping verification of this station's schedule entries.
[12/16/2022 12:23:36 PM] [ INFO] Checked 193224 entries and corrected 0 of them.
[12/16/2022 12:23:36 PM] Exiting VerifyLoad()
[12/16/2022 12:23:57 PM] [ INFO] Completed channel cleanup as needed after MXF file import.
[12/16/2022 12:24:10 PM] [ERROR] Object reference not set to an instance of an object.
[12/16/2022 12:24:10 PM] [ERROR] Failed to complete the automatic mapping of lineup stations to tuner channels.
[12/16/2022 12:24:10 PM] [ INFO] Completed lineup refresh.
[12/16/2022 12:24:10 PM] Entering RunWmcIndexTask(PvrScheduleTask)
[12/16/2022 12:24:10 PM] [ INFO] SUCCESS: Attempted to run the scheduled task "Microsoft\Windows\Media Center\PvrScheduleTask".
[12/16/2022 12:24:10 PM] [ INFO] Successfully started the PvrScheduleTask task. Exit code: 0
[12/16/2022 12:24:10 PM] Exiting RunWmcIndexTask(PvrScheduleTask). SUCCESS.
[12/16/2022 12:24:10 PM] Entering RunWmcIndexTask(ReindexSearchRoot)
[12/16/2022 12:24:10 PM] [ INFO] SUCCESS: Attempted to run the scheduled task "Microsoft\Windows\Media Center\ReindexSearchRoot".
[12/16/2022 12:24:10 PM] [ INFO] Successfully started the ReindexSearchRoot task. Exit code: 0
[12/16/2022 12:24:10 PM] Exiting RunWmcIndexTask(ReindexSearchRoot). SUCCESS.
[12/16/2022 12:24:11 PM] [ INFO] MXF file was created on 12/16/2022 12:09:09 PM
[12/16/2022 12:24:14 PM] [ INFO] Completed EPG123 client execution.
[12/16/2022 12:24:14 PM] [ INFO] EPG123 client execution time was 00:12:23.4037057.

User avatar
garyan2

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

HTPC Specs: Show details

#7

Post by garyan2 » Fri Dec 16, 2022 8:35 pm

Your updates are happening just fine, it is just the automatch routine is throwing an exception on one of the merged channels. Probably one of the channels from the below.

Code: Select all

[12/16/2022 12:10:09 PM] [ INFO] Stations no longer available since last configuration save are: NBCSN, BDOGSD, NEWSYSD, FOXLUS, OLYHD, NBCSNHD, OLY
Open the client GUI and it will try to repair the merged channel and if unsuccessful delete it. It will be noted in the log file.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

bdipert

Posts: 17
Joined: Fri Feb 03, 2017 6:25 pm
Location:

HTPC Specs: Show details

#8

Post by bdipert » Fri Dec 16, 2022 8:44 pm

Yeah, I was about to write back and say "...but I see valid Program Guide data through Wednesday, 12/28, so...???..." ;-) I just launched the client app and after it as-usual churned away for a bit, it opened. I didn't see any messages pop up so I assume all's well. I'll let you know if the error recurs in conjunction with tomorrow morning's regular data update. Thanks again as always for all that you do!

bdipert

Posts: 17
Joined: Fri Feb 03, 2017 6:25 pm
Location:

HTPC Specs: Show details

#9

Post by bdipert » Fri Dec 16, 2022 9:03 pm

In the log I see a VERY large number of entries of this form:

[12/16/2022 1:37:05 PM] [ INFO] Attempting to repair MergedChannel "2 : KWGN - 1877 = { (2 : KWGN - 114A) + [ 2 : KWGN - 4B, 2 : - 10DA] }" by unsubscribing all non-Scanned Lineup channels.
[12/16/2022 1:37:06 PM] [ INFO] Failed to repair MergedChannel "2 : KWGN - 1877 = { (2 : KWGN - 114A) + [ 2 : KWGN - 4B] }". Deleting.

Expected behavior? Again, I'm happy to send you the full log file if you're interested and can provide delivery-to-you guidance.

User avatar
garyan2

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

HTPC Specs: Show details

#10

Post by garyan2 » Fri Dec 16, 2022 9:18 pm

Probably not worth sending me the log file. If you open the client again, there should be no more entries like that. In the client, click the undelete button to rebuild all the channels that have been deleted.

Your example though is not what I expected. There is a primary channel and secondary channel assigned so not sure why that one needed a repair.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

bdipert

Posts: 17
Joined: Fri Feb 03, 2017 6:25 pm
Location:

HTPC Specs: Show details

#11

Post by bdipert » Sat Dec 17, 2022 1:13 am

After much gnashing of teeth, some settings fiddling and a few program guide update iterations, I think I'm back to where I was before. My Windows Media Center Favorites got blown away for some unknown reason, but recreating them was no biggie. Thanks again for everything, Gary!

User avatar
garyan2

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

HTPC Specs: Show details

#12

Post by garyan2 » Sat Dec 17, 2022 1:43 am

I'm guessing you did a [Client Setup] and wiped out your database? In that case, yes, your favorites get blown away. A simple rebuild database would have worked and taken only a seconds while keeping your favorites as well.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Post Reply