EPG123 Unable to read/update registry

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
Space

Posts: 2841
Joined: Sun Jun 02, 2013 9:44 pm
Location:

HTPC Specs: Show details

EPG123 Unable to read/update registry

#1

Post by Space » Thu Apr 20, 2023 12:21 am

Gary,

I was running/updating a browser on my Win7 system at the same time that the daily guide update was running in the background (I rarely do anything on this system other than WMC/EPG123), and the guide update failed (for the first time in a while).

Code: Select all

[4/19/2023 7:30:01 PM] [ INFO] DaysToDownload: 21 , TheTVDBNumbers : True , PrefixEpisodeTitle: True , PrefixEpisodeDescription : False , AppendEpisodeDesc: False , OADOverride : False , SeasonEventImages : True , TMDbCoverArt: True , IncludeSDLogos : True , AutoAddNew: True , CreateXmltv: False , ModernMediaUiPlusSupport: False
[4/19/2023 7:30:13 PM] [ INFO] Token request successful. serverID: 20141201.web , datetime: 0001-01-01T00:00:00Z
[4/19/2023 7:30:13 PM] [ERROR] Failed to update token information in registry. Image downloads may be unsuccessful until registry is created. Open the configuration GUI as administrator to fix.
[4/19/2023 7:30:13 PM] [ERROR] Unhandled exception caught from epg123.exe. message: Object reference not set to an instance of an object.
I then ran the config GUI and nothing populated, everything was empty, here is the log:

Code: Select all

[4/19/2023 7:51:33 PM] ===============================================================================
[4/19/2023 7:51:33 PM]  Activating the epg123 configuration GUI. version 1.7.3.0
[4/19/2023 7:51:33 PM] ===============================================================================
[4/19/2023 7:51:33 PM] *** Windows 7 Ultimate, 64-bit [Version: 6.1.7601.24544] ***
[4/19/2023 7:51:33 PM] *** Windows Media Center [Version: 6.1.7600.16385] is installed. ***
[4/19/2023 7:51:34 PM] [ INFO] Token request successful. serverID: 20141201.web , datetime: 0001-01-01T00:00:00Z
[4/19/2023 7:51:34 PM] [ERROR] Failed to update token information in registry. Image downloads may be unsuccessful until registry is created. Open the configuration GUI as administrator to fix.
[4/19/2023 7:51:34 PM] [ERROR] Object reference not set to an instance of an object.
[4/19/2023 7:52:48 PM] [ INFO] Token request successful. serverID: 20141201.web , datetime: 0001-01-01T00:00:00Z
[4/19/2023 7:52:48 PM] [ERROR] Failed to update token information in registry. Image downloads may be unsuccessful until registry is created. Open the configuration GUI as administrator to fix.
[4/19/2023 7:52:49 PM] [ERROR] Unhandled thread exception caught from epg123.exe. message: Object reference not set to an instance of an object.
I also ran the config GUI with Administrator privileges and same issue.

I also noticed the datetime for the token request seems wrong, so I'm not sure if the real problem is the registry or something to do with that request.

Any idea what could be causing this issue all of a sudden?

I am currently recording prime-time shows (WMC seems to be working fine), but afterwards I plan to reboot the system to see if that helps, but if you have any other ideas I'd appreciate it!

User avatar
garyan2

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

HTPC Specs: Show details

#2

Post by garyan2 » Thu Apr 20, 2023 12:35 am

I'm not sure yet why epg123 did not continue, but I just tried to login and got a SERVICE_OFFLINE, Server offline for maintenance message as a reply. The datetime in the token response is definitely in error, so definitely something on their end. I'll have to figure out why epg123 throws an exception, though.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Space

Posts: 2841
Joined: Sun Jun 02, 2013 9:44 pm
Location:

HTPC Specs: Show details

#3

Post by Space » Thu Apr 20, 2023 12:43 am

Well, at least that is a relief that the problem is probably not due to corruption on my system. After I saw that datetime I figured it might be a server issue.

It was a bit scary seeing nothing on the config GUI though... I immediately checked the configuration file to make sure that was still valid (it was) and made a backup just in case.

But yeah, it looks like there could be some fixes in order to handle whatever insanity is coming from the server better so EPG123 at least presents a proper error instead of scaring the user in to thinking everything is gone. 😱

User avatar
garyan2

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

HTPC Specs: Show details

#4

Post by garyan2 » Thu Apr 20, 2023 12:51 am

Ahh, it's throwing an exception when it is checking the user account status and determining if the account expires within 7 days. Due to the date being provided in the response from SD, a resulting negative date throws an error.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

User avatar
garyan2

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

HTPC Specs: Show details

#5

Post by garyan2 » Thu Apr 20, 2023 1:00 am

Interestingly enough, the ipv4 server isn't having a problem. So 1.7.3.0 will give this error (due to null date), but 1.7.3.5 will work contacting the ipv4 server.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Space

Posts: 2841
Joined: Sun Jun 02, 2013 9:44 pm
Location:

HTPC Specs: Show details

#6

Post by Space » Thu Apr 20, 2023 1:12 am

What is the ipv4 server? When I hear that term I think of Internet Protocol version 4.

User avatar
garyan2

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

HTPC Specs: Show details

#7

Post by garyan2 » Thu Apr 20, 2023 1:29 am

That's exactly what it is. A while back, folks on Verizon in the northeast were having problems getting data from the SD servers. This was due to some issues with forcing ipv6 somewhere in the connection between Verizon and Amazon. That is what instigated v1.7.3.1 thru 1.7.3.5. SD stood up a dedicated ipv4 DNS entry to avoid the problem, though I don't know if it has ever been fixed.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Space

Posts: 2841
Joined: Sun Jun 02, 2013 9:44 pm
Location:

HTPC Specs: Show details

#8

Post by Space » Thu Apr 20, 2023 11:46 pm

Just as a followup, everything worked fine after the server issues were resolved.

It looks like the server was sending unexpected things and EPG123 didn't like it, printed misleading error messages, and then either exited or just displayed the config GUI window with empty panes as a late April fools joke. I am sure this will be fixed in the next release! 😁

artm

Posts: 183
Joined: Tue Aug 04, 2015 9:00 pm
Location:

HTPC Specs: Show details

#9

Post by artm » Sun Sep 03, 2023 1:59 pm

I'm confused if this was ever resolved by user action. I'm having the same issue. When I start epg123.exe, even as admin, I can clear the cache but everything else is dimmed, unable to select as in attached screenshot. WMC works fine otherwise. Reboot has no effect.

Code: Select all

[9/3/2023 3:11:00 AM] ===============================================================================
[9/3/2023 3:11:00 AM]  Beginning epg123 update execution. version 1.7.1.12
[9/3/2023 3:11:00 AM] ===============================================================================
[9/3/2023 3:11:00 AM] *** Windows 7 Ultimate, 64-bit [Version: 6.1.7601.0] ***
[9/3/2023 3:11:00 AM] *** Windows Media Center [Version: 6.1.7600.16385] is installed. ***
[9/3/2023 3:11:00 AM] [ INFO] Beginning EPG123 update execution. 2023-09-03 07:11:00Z
[9/3/2023 3:11:00 AM] [ INFO] DaysToDownload: 21 , TheTVDBNumbers : False , PrefixEpisodeTitle: True , PrefixEpisodeDescription : False , AppendEpisodeDesc: False , OADOverride : False , SeasonEventImages : True , TMDbCoverArt: True , IncludeSDLogos : True , AutoAddNew: True , CreateXmltv: False , ModernMediaUiPlusSupport: False
[9/3/2023 3:11:03 AM] [ INFO] Validation of cached token failed. Requesting new token.
[9/3/2023 3:11:03 AM] [ INFO] Token request successful. serverID: 20141201.web , datetime: 0001-01-01T00:00:00Z
[9/3/2023 3:11:03 AM] [ERROR] Failed to update token information in registry. Image downloads may be unsuccessful until registry is created. Open the configuration GUI as administrator to fix.
[9/3/2023 3:11:03 AM] [ERROR] Unhandled exception caught from epg123.exe. message: Object reference not set to an instance of an object.
[9/3/2023 3:11:12 AM] ===============================================================================
[9/3/2023 3:11:12 AM]  Beginning epg123 client execution. version 1.7.1.12
[9/3/2023 3:11:12 AM] ===============================================================================
[9/3/2023 3:11:12 AM] *** Windows 7 Ultimate, 64-bit [Version: 6.1.7601.0] ***
[9/3/2023 3:11:12 AM] *** Windows Media Center [Version: 6.1.7600.16385] is installed. ***
[9/3/2023 3:11:12 AM] [ INFO] Import: True , Match: True , NoLogo: False , Force: False , ShowProgress: False , NoGC: False , NoVerify: False , Verbose: False
[9/3/2023 3:11:13 AM] Entering ImportMxfFile() for file "c:\prog\epg123\output\epg123.mxf".
[9/3/2023 3:16:35 AM] [ INFO] Successfully imported .mxf file into Media Center database. Exit code: 0
[9/3/2023 3:16:35 AM] Exiting ImportMxfFile(). SUCCESS.
[9/3/2023 3:16:35 AM] Entering VerifyLoad()
[9/3/2023 3:17:14 AM] [ INFO] Checked 126274 entries and corrected 0 of them.
[9/3/2023 3:17:14 AM] Exiting VerifyLoad()
[9/3/2023 3:17:21 AM] [ INFO] Completed the automatch of lineup stations to tuner channels.
[9/3/2023 3:17:21 AM] [ INFO] Completed lineup refresh.
[9/3/2023 3:17:21 AM] Entering RunWmcIndexTask(PvrScheduleTask)
[9/3/2023 3:17:21 AM] [ INFO] SUCCESS: Attempted to run the scheduled task "Microsoft\Windows\Media Center\PvrScheduleTask".
[9/3/2023 3:17:21 AM] [ INFO] Successfully started the PvrScheduleTask task. Exit code: 0
[9/3/2023 3:17:21 AM] Exiting RunWmcIndexTask(PvrScheduleTask). SUCCESS.
[9/3/2023 3:17:21 AM] Entering RunWmcIndexTask(ReindexSearchRoot)
[9/3/2023 3:17:21 AM] [ INFO] SUCCESS: Attempted to run the scheduled task "Microsoft\Windows\Media Center\ReindexSearchRoot".
[9/3/2023 3:17:21 AM] [ INFO] Successfully started the ReindexSearchRoot task. Exit code: 0
[9/3/2023 3:17:21 AM] Exiting RunWmcIndexTask(ReindexSearchRoot). SUCCESS.
[9/3/2023 3:17:21 AM] [ INFO] MXF file was created on 9/2/2023 3:11:00 AM
[9/3/2023 3:17:21 AM] [ERROR] The MXF file imported is 24.11 hours old.
[9/3/2023 3:17:22 AM] [ INFO] Completed EPG123 client execution.
[9/3/2023 3:17:22 AM] [ INFO] EPG123 client execution time was 00:06:09.8911566.
2102.jpg

artm

Posts: 183
Joined: Tue Aug 04, 2015 9:00 pm
Location:

HTPC Specs: Show details

#10

Post by artm » Sun Sep 03, 2023 4:10 pm

So, I just did a manual update and it succeeded. EPG123 started and the lineups were there, as was the ability to click on any other function.

It is still disconcerting that epg123 was essentially non-functional as a result of this.

So, to be clear, is the error from SD? If so, it should not cripple epg123 as it does.

User avatar
garyan2

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

HTPC Specs: Show details

#11

Post by garyan2 » Sun Sep 03, 2023 4:19 pm

What exactly would you expect epg123 to do if the SD servers are down for maintenance like this? If it can't get a token, can't get a user's status, can't download, add/remove lineups... then there is nothing epg123 can do for anything.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

artm

Posts: 183
Joined: Tue Aug 04, 2015 9:00 pm
Location:

HTPC Specs: Show details

#12

Post by artm » Sun Sep 03, 2023 5:23 pm

There's no clear indication that the error is on SD's side and I should just wait until it's fixed. The error states that the user open the GUI to fix the registry. How can I do that if everything is greyed out?

Even with such an error, I should still be able to perform other functions in the GU.

I'm just relieved it's been resolved.

User avatar
garyan2

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

HTPC Specs: Show details

#13

Post by garyan2 » Sun Sep 03, 2023 5:29 pm

In order to be able to do anything with the GUI, you must be logged in to SD. The SD servers were down for maintenance so you couldn't login, therefore there is nothing you would be able to do in the configuration GUI. The client of course will still work since it just interacts with WMC.

There should have been a message box after you opened the configuration GUI letting you know the servers were down for maintenance.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

artm

Posts: 183
Joined: Tue Aug 04, 2015 9:00 pm
Location:

HTPC Specs: Show details

#14

Post by artm » Sun Sep 03, 2023 5:45 pm

I see. I assumed some GUI functions were still good even if SD is down. No, there was no message box as you note, hence my fear that something was corrupt on my side.

User avatar
garyan2

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

HTPC Specs: Show details

#15

Post by garyan2 » Sun Sep 03, 2023 10:47 pm

A suggestion of course, but update your epg123 to the latest version.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Post Reply