EPG123 Bug Reports

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
User avatar
garyan2

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

HTPC Specs: Show details

#1021

Post by garyan2 » Sat Oct 26, 2019 8:41 pm

The Mac wrote: Sat Oct 26, 2019 8:29 pm I am suddenly getting a reoccurring error. Been going on for a couple days now.

Beginning epg123 client execution. version 1.2.21.0
[10/26/2019 4:23:15 PM] ===============================================================================
[10/26/2019 4:23:15 PM] [ INFO] Beginning epg123 client execution. 2019-10-26 20:23:15Z
[10/26/2019 4:23:15 PM] [ INFO] Import: True , Match: True , NoLogo: False , Force: False , ShowProgress: True
[10/26/2019 4:23:17 PM] Entering importMxfFile() for file "c:\programdata\garyan2\epg123\output\epg123.mxf"
[10/26/2019 4:24:12 PM] [ INFO] Error: The following error was encountered while processing the file. Aborting.
[10/26/2019 4:24:12 PM] [ INFO] RowSet::DeleteRow(Program_keywords Program_keywordsI_ParentChildKey) - DeleteRows() failed for handle 1 - HR = 0x80040e21, minor = 25104, 2049, 0, 0, "", "", ""
[10/26/2019 4:24:13 PM] [ERROR] Error using loadmxf.exe to import new guide information. Exit code: -1
[10/26/2019 4:24:13 PM] Exiting importMxfFile(). FAILURE.
[10/26/2019 4:24:13 PM] [ERROR] Failed to import .mxf file. Exiting.

Ive tried rebuiding the database and clearing the cache.

I also updated to the latest version

no dice.

Id rather not do a full reset and have to renumber all my channels again.
This looks like a database corruption, but the database rebuild would have taken care of that. Are you sure you did a rebuild?

My first suggestion would be to try and fix the database by running a garbage collector. Run the following in a CMD window and wait for it to complete, then try an update again.

Code: Select all

start /wait c:\windows\ehome\mcupdate.exe -uf -dbgc
If this doesn't work, the the database rebuild would solve it. The client will have to be elevated, so run it As administrator, then click the [Rebuild WMC Database] button. Note that running the database rebuild, you will lose your recording history so any series you record New & Repeat, the repeat shows will be recorded again if they come up.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

matthew7899

Posts: 3
Joined: Sat Oct 26, 2019 9:54 pm
Location:

HTPC Specs: Show details

#1022

Post by matthew7899 » Sat Oct 26, 2019 10:01 pm

FYI...The new version 1.2.21.0 doesn't create an xmltv file.

User avatar
garyan2

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

HTPC Specs: Show details

#1023

Post by garyan2 » Sat Oct 26, 2019 10:28 pm

Fixed in v1.2.22.0

Thanks!
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

The Mac

Posts: 116
Joined: Wed Jun 05, 2013 6:09 pm
Location:

HTPC Specs: Show details

#1024

Post by The Mac » Tue Oct 29, 2019 2:39 am

Thanks Gary,

The garbage collection seems to have done the trick.

smithre4

Posts: 3
Joined: Mon Nov 04, 2019 2:48 am
Location:

HTPC Specs: Show details

#1025

Post by smithre4 » Mon Nov 04, 2019 2:57 am

I'm not sure what caused this, but in the last few weeks the client started crashing during imports. I see the following events:


9:41:35 PM - Beginning EPG123 update execution. 2019-11-04 02:41:35Z
9:41:39 PM - Failed to parse the schedule Md5 return for stationId 23901 (PEG025) on 2019-11-03 and after.
9:41:39 PM - Failed to parse the schedule Md5 return for stationId 23907 (PEG031) on 2019-11-03 and after.
9:41:39 PM - Failed to parse the schedule Md5 return for stationId 23909 (PEG033) on 2019-11-03 and after.
9:41:39 PM - Failed to parse the schedule Md5 return for stationId 23910 (PEG034) on 2019-11-03 and after.
9:44:51 PM - Time discontinuity detected. Service 82696 (QVC2HD) SH012857740000 (entry 171) ends at 2019-11-13 02:00:00Z, SH028748640000 (entry 172) starts at 2019-11-13 00:00:00Z. No further discontinuities on QVC2HD will be reported for the date 2019-11-13.
9:46:42 PM - Processed 12456 daily schedules for 696 stations.

Application: epg123.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
at epg123.sdJson2mxf.determineTitlesAndDescriptions(epg123.MxfXml.MxfProgram ByRef, epg123.sdProgram)
at epg123.sdJson2mxf.buildMxfProgram(epg123.MxfXml.MxfProgram, epg123.sdProgram)
at epg123.sdJson2mxf.buildAllProgramEntries()
at epg123.sdJson2mxf.Build(epg123.epgConfig)
at epg123.Program.Main(System.String[])

Faulting application name: epg123.exe, version: 1.2.22.0, time stamp: 0x5db4c59c
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x000007fe9289f202
Faulting process id: 0x1784
Faulting application start time: 0x01d592baf40dea33
Faulting application path: C:\epg123\epg123.exe
Faulting module path: unknown
Report Id: 63883edf-feae-11e9-9383-00222cffffff

I have no guide data as a result.

Hmmm....apparently I don't have the mxf file in the output directory. I have no idea how it disappeared or why I seem to not be able to create a new one. Everyone has full control on the directory.

Thoughts?

==UPDATE==
I ended up uninstalling EPG123, deleting the directory and reinstalling. I now have guide data.
Last edited by smithre4 on Mon Nov 04, 2019 4:24 am, edited 1 time in total.

User avatar
garyan2

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

HTPC Specs: Show details

#1026

Post by garyan2 » Mon Nov 04, 2019 3:15 am

Could you post the contents of your trace.log file for that update run? Remember to use the code brackets in the full editor which is the [< / >] button. I'll try to recreate here.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

User avatar
garyan2

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

HTPC Specs: Show details

#1027

Post by garyan2 » Mon Nov 04, 2019 3:27 am

One thing you can try is to delete your cache and run a [Save & Execute] again. It is failing when trying to create a program but is finding a null entry where it shouldn't be null.

You can clear the cache in the EPG123 GUI... [Clear Cache] button.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

smithre4

Posts: 3
Joined: Mon Nov 04, 2019 2:48 am
Location:

HTPC Specs: Show details

#1028

Post by smithre4 » Mon Nov 04, 2019 4:26 am

I ended up uninstalling, deleting the directory and reinstalling. that seemed to have corrected the issue. I did save the trace file.

Code: Select all

[11/3/2019 9:52:53 PM] ===============================================================================
[11/3/2019 9:52:53 PM]  Beginning epg123 update execution. version 1.2.22.0
[11/3/2019 9:52:53 PM] ===============================================================================
[11/3/2019 9:52:53 PM] [ INFO] Beginning EPG123 update execution. 2019-11-04 02:52:53Z
[11/3/2019 9:52:53 PM] [ INFO] DaysToDownload: 21 , TheTVDBNumbers : False , PrefixEpisodeTitle: True , PrefixEpisodeDescription : False , AppendEpisodeDesc: True , OADOverride : True , TMDbCoverArt: True , IncludeSDLogos : True , AutoAddNew: True , CreateXmltv: False , ModernMediaUiPlusSupport: False
[11/3/2019 9:52:54 PM] [ INFO] Token request successful. serverID: 20141201.web.1
[11/3/2019 9:52:54 PM] [ INFO] Status request successful. account expires: 2020-07-14T01:11:44Z , lineups: 1/4 , lastDataUpdate: 2019-11-03T15:06:59Z
[11/3/2019 9:52:54 PM] [ INFO] system status: Online , message: No known issues.
[11/3/2019 9:52:54 PM] [ INFO] Successfully retrieved TMDb configurations.
[11/3/2019 9:52:54 PM] [ INFO] Successfully requested listing of client lineups from Schedules Direct.
[11/3/2019 9:52:54 PM] Entering buildLineupServices() for 1 lineups.
[11/3/2019 9:52:54 PM] [ INFO] Successfully retrieved the station mapping for lineup USA-MD66349-X.
[11/3/2019 9:52:55 PM] Exiting buildLineupServices(). SUCCESS.
[11/3/2019 9:52:55 PM] Entering getAllScheduleEntryMd5s() for 21 days on 696 stations.
[11/3/2019 9:52:58 PM] [ INFO] Successfully retrieved Md5s for 227 station's daily schedules. (0:00:00:02.0492602 /   426.859 KB)
[11/3/2019 9:52:58 PM] [ INFO] Failed to parse the schedule Md5 return for stationId 23901 (PEG025) on 2019-11-03 and after.
[11/3/2019 9:52:58 PM] [ INFO] Failed to parse the schedule Md5 return for stationId 23907 (PEG031) on 2019-11-03 and after.
[11/3/2019 9:52:58 PM] [ INFO] Failed to parse the schedule Md5 return for stationId 23909 (PEG033) on 2019-11-03 and after.
[11/3/2019 9:52:58 PM] [ INFO] Failed to parse the schedule Md5 return for stationId 23910 (PEG034) on 2019-11-03 and after.
[11/3/2019 9:53:00 PM] [ INFO] Successfully retrieved Md5s for 227 station's daily schedules. (0:00:00:02.0347584 /   434.437 KB)
[11/3/2019 9:53:02 PM] [ INFO] Successfully retrieved Md5s for 227 station's daily schedules. (0:00:00:02.0692628 /   434.496 KB)
[11/3/2019 9:53:03 PM] [ INFO] Successfully retrieved Md5s for  15 station's daily schedules. (0:00:00:00.2660338 /    28.698 KB)
[11/3/2019 9:53:03 PM] [ INFO] Found 12456 cached daily schedules.
[11/3/2019 9:53:03 PM] [ INFO] Downloaded 0 daily schedules.
[11/3/2019 9:53:32 PM] [ INFO] Time discontinuity detected. Service 82696 (QVC2HD) SH012857740000 (entry 171) ends at 2019-11-13 02:00:00Z, SH028748640000 (entry 172) starts at 2019-11-13 00:00:00Z. No further discontinuities on QVC2HD will be reported for the date 2019-11-13.
[11/3/2019 9:53:47 PM] [ INFO] Processed 12456 daily schedules for 696 stations.
[11/3/2019 9:53:47 PM] Exiting getAllScheduleEntryMd5s(). SUCCESS.
[11/3/2019 9:53:47 PM] Entering buildAllProgramEntries() for 58622 programs.
[11/3/2019 9:54:13 PM] [ERROR] Unhandled exception caught from epg123.exe. message: Object reference not set to an instance of an object.
[11/3/2019 9:54:45 PM] [ERROR] File "C:\epg123\output\epg123.mxf" does not exist.

User avatar
garyan2

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

HTPC Specs: Show details

#1029

Post by garyan2 » Mon Nov 04, 2019 4:49 am

Definitely cleared the cache that way. Did you happen to have upgraded from ~1.2.7 around the time you started having problems?
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

TVTechTB

Posts: 8
Joined: Sat Feb 04, 2017 10:27 pm
Location:

HTPC Specs: Show details

#1030

Post by TVTechTB » Thu Nov 07, 2019 2:23 pm

Thank you Gary for a very easy setup of EGP. I do plan on contributing since I can continue to keep WMC running for a few more years with Windows 8.1. It was working great the first few days now I'm getting a red X at the WMC main menu. This looks like the only error in the log:

[ERROR] The imported MXF file contained an ERROR in its status field.

I still have a few days for my trial on my trial for Schedules Direct, not sure if that might be an issue.
Thank you!

Here is a little more of the log, if you need more, please let me know.
==============================================================================
[11/7/2019 12:03:13 AM] Beginning epg123 client execution. version 1.2.22.0
[11/7/2019 12:03:13 AM] ===============================================================================
[11/7/2019 12:03:13 AM] [ INFO] Beginning epg123 client execution. 2019-11-07 08:03:13Z
[11/7/2019 12:03:13 AM] [ INFO] Import: True , Match: False , NoLogo: False , Force: False , ShowProgress: False
[11/7/2019 12:03:13 AM] Entering importMxfFile() for file "c:\programdata\garyan2\epg123\output\epg123.mxf"
[11/7/2019 12:03:47 AM] [ INFO] Successfully imported .mxf file into Media Center database. Exit code: 0
[11/7/2019 12:03:47 AM] Exiting importMxfFile(). SUCCESS.
[11/7/2019 12:03:47 AM] [ INFO] Completed lineup refresh.
[11/7/2019 12:03:47 AM] Entering runWmcTask(ReindexSearchRoot)
[11/7/2019 12:03:47 AM] [ INFO] SUCCESS: Attempted to run the scheduled task "Microsoft\Windows\Media Center\ReindexSearchRoot".
[11/7/2019 12:03:47 AM] [ INFO] Successfully started the ReindexSearchRoot task. Exit code: 0
[11/7/2019 12:03:47 AM] Exiting runWmcTask(ReindexSearchRoot). SUCCESS.
[11/7/2019 12:03:47 AM] Entering runWmcTask(PvrScheduleTask)
[11/7/2019 12:03:47 AM] [ INFO] SUCCESS: Attempted to run the scheduled task "Microsoft\Windows\Media Center\PvrScheduleTask".
[11/7/2019 12:03:47 AM] [ INFO] Successfully started the PvrScheduleTask task. Exit code: 0
[11/7/2019 12:03:47 AM] Exiting runWmcTask(PvrScheduleTask). SUCCESS.
[11/7/2019 12:03:47 AM] [ERROR] The imported MXF file contained an ERROR in its status field.
[11/7/2019 12:03:47 AM] [ INFO] Completed EPG123 client execution.
[11/7/2019 12:03:47 AM] [ INFO] EPG123 client execution time was 00:00:34.5273050.

User avatar
garyan2

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

HTPC Specs: Show details

#1031

Post by garyan2 » Thu Nov 07, 2019 2:34 pm

TVTechTB wrote: Thu Nov 07, 2019 2:23 pm Thank you Gary for a very easy setup of EGP. I do plan on contributing since I can continue to keep WMC running for a few more years with Windows 8.1. It was working great the first few days now I'm getting a red X at the WMC main menu. This looks like the only error in the log:

[ERROR] The imported MXF file contained an ERROR in its status field.

I still have a few days for my trial on my trial for Schedules Direct, not sure if that might be an issue.
Thank you!

Here is a little more of the log, if you need more, please let me know.
==============================================================================
[11/7/2019 12:03:13 AM] Beginning epg123 client execution. version 1.2.22.0
[11/7/2019 12:03:13 AM] ===============================================================================
[11/7/2019 12:03:13 AM] [ INFO] Beginning epg123 client execution. 2019-11-07 08:03:13Z
[11/7/2019 12:03:13 AM] [ INFO] Import: True , Match: False , NoLogo: False , Force: False , ShowProgress: False
[11/7/2019 12:03:13 AM] Entering importMxfFile() for file "c:\programdata\garyan2\epg123\output\epg123.mxf"
[11/7/2019 12:03:47 AM] [ INFO] Successfully imported .mxf file into Media Center database. Exit code: 0
[11/7/2019 12:03:47 AM] Exiting importMxfFile(). SUCCESS.
[11/7/2019 12:03:47 AM] [ INFO] Completed lineup refresh.
[11/7/2019 12:03:47 AM] Entering runWmcTask(ReindexSearchRoot)
[11/7/2019 12:03:47 AM] [ INFO] SUCCESS: Attempted to run the scheduled task "Microsoft\Windows\Media Center\ReindexSearchRoot".
[11/7/2019 12:03:47 AM] [ INFO] Successfully started the ReindexSearchRoot task. Exit code: 0
[11/7/2019 12:03:47 AM] Exiting runWmcTask(ReindexSearchRoot). SUCCESS.
[11/7/2019 12:03:47 AM] Entering runWmcTask(PvrScheduleTask)
[11/7/2019 12:03:47 AM] [ INFO] SUCCESS: Attempted to run the scheduled task "Microsoft\Windows\Media Center\PvrScheduleTask".
[11/7/2019 12:03:47 AM] [ INFO] Successfully started the PvrScheduleTask task. Exit code: 0
[11/7/2019 12:03:47 AM] Exiting runWmcTask(PvrScheduleTask). SUCCESS.
[11/7/2019 12:03:47 AM] [ERROR] The imported MXF file contained an ERROR in its status field.
[11/7/2019 12:03:47 AM] [ INFO] Completed EPG123 client execution.
[11/7/2019 12:03:47 AM] [ INFO] EPG123 client execution time was 00:00:34.5273050.
Actually, it does. If you scroll up in your trace.log file, it will have the ERROR entry stating your membership expires in less than 3 days... I currently make that an ERROR. I do plan on taking that back out though and just leave it as a warning for a membership expiring in less than 14 days, or maybe change it to 7 days.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

TVTechTB

Posts: 8
Joined: Sat Feb 04, 2017 10:27 pm
Location:

HTPC Specs: Show details

#1032

Post by TVTechTB » Thu Nov 07, 2019 3:28 pm

Thanks for the quick reply. Just paid for a year so I'll check it tomorrow. Great job! I was amazed that it transferred all my previously scheduled programs. Thanks again!

smithre4

Posts: 3
Joined: Mon Nov 04, 2019 2:48 am
Location:

HTPC Specs: Show details

#1033

Post by smithre4 » Wed Nov 13, 2019 1:36 am

garyan2 wrote: Mon Nov 04, 2019 4:49 am Definitely cleared the cache that way. Did you happen to have upgraded from ~1.2.7 around the time you started having problems?
Sorry, was traveling. No, I actually upgraded to the latest build that night when I saw the error. Prior build was running for a few years.

sptrainman

Posts: 52
Joined: Thu Jul 06, 2017 9:27 pm
Location:

HTPC Specs: Show details

#1034

Post by sptrainman » Thu Dec 12, 2019 9:10 pm

:D
Hi. I'm back. I never did the update, so I guess I have been using ROVI data since my last post in October. I was getting about 11 or 12 days of guide data. EPG123 was running, but I guess ROVI overwrites it. I have no idea when that happens, but I guess almost immediately.

Anyway, I am now showing guide data until Wednesday at 4 pm. I have seen notices on WMC that MS guide data would be stopped in January. Looks like maybe it happened already.

I need to try to get EPG123 back in control. It has been running the scheduled task nightly with no errors. But I'm ready to try a clean start again with the latest version. I had no luck with it last time. If I can't get it to work today, I will have to likely wait until next week, but that will be cutting it close.

My question right now is this: When I do a clean start, do I need to have WMC running or not running. The instructions do not say.

Thanks,
Jerry

User avatar
garyan2

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

HTPC Specs: Show details

#1035

Post by garyan2 » Thu Dec 12, 2019 9:23 pm

If WMC is running when you do a Clean Start, EPG123 will close it when it goes to delete the database file. So opened or closed, it will still work.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

sptrainman

Posts: 52
Joined: Thu Jul 06, 2017 9:27 pm
Location:

HTPC Specs: Show details

#1036

Post by sptrainman » Thu Dec 12, 2019 11:18 pm

Hi Gary,
I went thru the entire process again. I installed the latest software or so I think. I disabled the WMC guide download in WMC. Then I did a build and import of the 123 guide. There was no data in WMC. The trace log shows that the mxf file built and loaded successfully. If this is true, WMC is not finding it. There was zero guide data.

So I went back into WMC and re-enabled the WMC guide and did a load. I have my 7 days of guide data back. Obviously, I have to get EPG123 working or my guide will disappear soon.

I'd appreciate any help you can give me.
Thanks,
Jerry

User avatar
garyan2

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

HTPC Specs: Show details

#1037

Post by garyan2 » Thu Dec 12, 2019 11:35 pm

Could you send me your trace.log file? I'll PM you an email address.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

sptrainman

Posts: 52
Joined: Thu Jul 06, 2017 9:27 pm
Location:

HTPC Specs: Show details

#1038

Post by sptrainman » Fri Dec 13, 2019 12:32 am

OK. How do I locate the PM?
Jerry

sptrainman

Posts: 52
Joined: Thu Jul 06, 2017 9:27 pm
Location:

HTPC Specs: Show details

#1039

Post by sptrainman » Fri Dec 13, 2019 12:35 am

Also, I have looked at the mxf file using Notepad++ and it looks reasonable to me.
Seems like the problem is getting WMC to use it. The file was being generated daily for weeks with no errors, but WMC was not using it.
Jerry

User avatar
garyan2

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

HTPC Specs: Show details

#1040

Post by garyan2 » Fri Dec 13, 2019 1:06 am

Yah, you are creating the MXF file no problem. You are running version 1.2.18.10, so you didn't upgrade to v1.3.0 and I see no evidence that you performed a client setup going back to 25 October which is the beginning of your trace.log file.

Go ahead and upgrade EPG123 to v1.3.0, and then perform a setup again starting with the [Client Setup] button in the client. Follow the video on my website from http://epg123.garyan2.net/install/
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Post Reply