EPG123 Bug Reports

An evolving, supported alternative to Rovi
Forum rules
★ Download the latest EPG123 here: http://epg123.garyan2.net <> Setup guide here: http://epg123.garyan2.net/downloads/epg123_Guide.pdf
User avatar
garyan2

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

HTPC Specs: Show details

Re: EPG123 Bug Reports

#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
Stomping out the Rovi disease, one media center at a time. http://epg123.garyan2.net

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: 3712
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
Stomping out the Rovi disease, one media center at a time. http://epg123.garyan2.net

The Mac

Posts: 55
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: 2
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: 3712
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
Stomping out the Rovi disease, one media center at a time. http://epg123.garyan2.net

User avatar
garyan2

Posts: 3712
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
Stomping out the Rovi disease, one media center at a time. http://epg123.garyan2.net

smithre4

Posts: 2
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: 3712
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
Stomping out the Rovi disease, one media center at a time. http://epg123.garyan2.net

TVTechTB

Posts: 2
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: 3712
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
Stomping out the Rovi disease, one media center at a time. http://epg123.garyan2.net

TVTechTB

Posts: 2
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!

Post Reply