Page 1 of 2

Hangs at "Performing a Manual Database Update"

Posted: Tue Jun 25, 2019 11:11 pm
by dochockey
I am getting stuck at Step one. It hangs with the message "Performing a Manual Database Update". I've tried turning WMC on and off, manually deleting ehome, uninstalling and reinstalling EPG123 and it still hangs at Step One. Suggestions?

Re: Hangs at "Performing a Manual Database Update

Posted: Wed Jun 26, 2019 1:13 am
by garyan2
The initial part of Step 1 can take some time depending on the state of your current database and any other WMC processes running. What step 1 does is forces an update (mcupdate.exe -manual -uf)... I think this might be holding things up a bit because it is trying to update guide information so will have to timout on the guide server. It then deletes the ehome folder, opens WMC, waits for a certain process to start which indicates that the initial database has been created, forces another update which shouldn't have to wait for a timeout, increases your tuner type limits from 4 to 32, and creates a backup of your current configuration.

If you don't care about all that and just want to get to the good stuff, open task manager and close the mcupdate tasks as they appear. That should allow you to get to step 2.

EDIT: I guess I should also note that if there are any mcupdate.exe processes running before starting Step 1, you should close them and then try. Multiple mcupdate threads can really slow things down as well.

Re: Hangs at "Performing a Manual Database Update

Posted: Wed Jun 26, 2019 3:20 am
by garyan2
Interesting. Evidently the problems with MS servers is affecting the manual update (mcupdate.exe -u -manual -nogc). I'm going to work on this a bit to see what I can do. I'll probably put a timeout on it so the process can proceed naturally.

Re: Hangs at "Performing a Manual Database Update

Posted: Wed Jun 26, 2019 4:08 am
by garyan2
hmmm... working now. Maybe it was my virtual machine. It no longer hangs for me.

Re: Hangs at "Performing a Manual Database Update

Posted: Wed Jun 26, 2019 4:31 am
by dochockey
Interesting. I've looked several times while trying to get it running and there has not been an mcupdate.exe file running at any point in task manager. Also, I have looked at ehome and there does not appear to have been any files deleted. Are just some deleted or is it everything in the folder?

Re: Hangs at "Performing a Manual Database Update

Posted: Wed Jun 26, 2019 5:23 am
by garyan2
dochockey wrote: Wed Jun 26, 2019 4:31 am Interesting. I've looked several times while trying to get it running and there has not been an mcupdate.exe file running at any point in task manager. Also, I have looked at ehome and there does not appear to have been any files deleted. Are just some deleted or is it everything in the folder?
If WMC demanded an update, which it will of course do if the guide is out of date, the mcupdate process will be from a service so you would have to enable viewing processes from all users.

EPG123 will delete all contents of the C:\ProgramData\Microsoft\ehome folder but will also immediately open a new instance of WMC which will create a new database, so there will probably be a number of files and folders there. The mcepgX-Y.db file should be fairly small in size as it will be pretty much empty.

Re: Hangs at "Performing a Manual Database Update

Posted: Wed Jun 26, 2019 7:22 pm
by dochockey
So, I have tried it again with no luck. It has been running for three hours in a loop at Step One with the message "Performing a Manual Database Update". This is on a fresh install of Windows 7. I uninstalled WMC and reinstalled it. I uninstalled EPG123 and reinstalled it. When I tried to manually delete the windows/ehome folder it gave a message that I needed permission from "TrustedInstaller", which is listed as the owner of the ehome folder. I changed permissions and ownership to give me access, but still, no luck installing EPG123. I've successfully installed it on other machines. Suggestions?

Re: Hangs at "Performing a Manual Database Update

Posted: Wed Jun 26, 2019 7:27 pm
by dochockey
Here is the log......

I loaded version 1.2.9 after getting the same result with 1.2.13, hoping that maybe an older version would work, but I keep getting the same result.

Code: Select all

[6/25/2019 2:35:29 PM] ===============================================================================
[6/25/2019 2:35:29 PM]  Activating the epg123 client GUI. version 1.2.9.0
[6/25/2019 2:35:29 PM] ===============================================================================
[6/25/2019 2:35:29 PM] [ INFO] Successfully queried the Task Scheduler for status. Ready.The task has not yet run. Exit: 0x00000001
[6/25/2019 2:35:44 PM] [ INFO] Stopping process "ehrecvr"
[6/25/2019 2:36:00 PM] [ERROR] Unhandled thread exception caught from epg123Client.exe. message: The system cannot find the file specified
[6/25/2019 2:48:04 PM] [ INFO] Stopping process "ehrecvr"
[6/25/2019 2:48:20 PM] [ERROR] Unhandled thread exception caught from epg123Client.exe. message: The system cannot find the file specified
[6/25/2019 9:34:46 PM] ===============================================================================
[6/25/2019 9:34:46 PM]  Activating the epg123 client GUI. version 1.2.9.0
[6/25/2019 9:34:46 PM] ===============================================================================
[6/25/2019 9:34:46 PM] [ INFO] Successfully queried the Task Scheduler for status. ERROR: Access is denied.  
[6/25/2019 9:34:53 PM] ===============================================================================
[6/25/2019 9:34:53 PM]  Activating the epg123 client GUI. version 1.2.9.0
[6/25/2019 9:34:53 PM] ===============================================================================
[6/25/2019 9:34:54 PM] [ INFO] Successfully queried the Task Scheduler for status. Ready.The task has not yet run. Exit: 0x00000001
[6/25/2019 9:35:04 PM] [ INFO] Stopping process "ehrecvr"
[6/25/2019 9:35:20 PM] [ERROR] Unhandled thread exception caught from epg123Client.exe. message: The system cannot find the file specified
[6/26/2019 12:00:00 AM] ===============================================================================
[6/26/2019 12:00:00 AM]  Activating the epg123 configuration GUI. version 1.2.9.0
[6/26/2019 12:00:00 AM] ===============================================================================
[6/26/2019 12:00:00 AM] [ERROR] Unhandled exception caught from epg123.exe. message: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
[6/26/2019 12:00:05 AM] [ERROR] Unhandled exception caught from epg123Client.exe. message: Access to the path 'Global\{CD7E6857-7D92-4A2F-B3AB-ED8CB42C6F65}' is denied.
[6/26/2019 6:45:20 AM] ===============================================================================
[6/26/2019 6:45:20 AM]  Activating the epg123 client GUI. version 1.2.9.0
[6/26/2019 6:45:20 AM] ===============================================================================
[6/26/2019 6:45:20 AM] [ INFO] Successfully queried the Task Scheduler for status. ERROR: Access is denied.  
[6/26/2019 6:45:31 AM] [ERROR] The operation was canceled by the user
[6/26/2019 6:45:41 AM] ===============================================================================
[6/26/2019 6:45:41 AM]  Activating the epg123 client GUI. version 1.2.9.0
[6/26/2019 6:45:41 AM] ===============================================================================
[6/26/2019 6:45:42 AM] [ INFO] Successfully queried the Task Scheduler for status. Could not start. Last Run 6/26/2019 12:00:00 AM; Exit: 0xE0434352
[6/26/2019 6:45:55 AM] [ INFO] Stopping process "ehrecvr"
[6/26/2019 6:46:12 AM] [ERROR] Unhandled thread exception caught from epg123Client.exe. message: The system cannot find the file specified
[6/26/2019 6:47:46 AM] ===============================================================================
[6/26/2019 6:47:46 AM]  Activating the epg123 configuration GUI. version 1.2.9.0
[6/26/2019 6:47:46 AM] ===============================================================================
[6/26/2019 6:47:47 AM] [ INFO] epg123 is not up to date. Latest version is 1.2.13 and can be downloaded from http://epg123.garyan2.net.
[6/26/2019 6:47:47 AM] [ INFO] Successfully queried the Task Scheduler for status. ERROR: Access is denied.  
[6/26/2019 6:48:09 AM] [ INFO] Token request successful. serverID: 20141201.web.1
[6/26/2019 6:48:09 AM] [ INFO] Status request successful. account expires: 2019-11-23T00:07:00Z , lineups: 3/4 , lastDataUpdate: 2019-06-26T01:35:10Z
[6/26/2019 6:48:09 AM] [ INFO] system status: Online , message: No known issues.
[6/26/2019 6:48:09 AM] [ INFO] Successfully requested listing of client lineups from Schedules Direct.
[6/26/2019 6:48:09 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-HDHRTVP-DEFAULT.
[6/26/2019 6:48:09 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-OTA-96740.
[6/26/2019 6:48:10 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-OTA-96790.
[6/26/2019 6:49:08 AM] ===============================================================================
[6/26/2019 6:49:08 AM]  Activating the epg123 configuration GUI. version 1.2.9.0
[6/26/2019 6:49:08 AM] ===============================================================================
[6/26/2019 6:49:09 AM] [ INFO] epg123 is not up to date. Latest version is 1.2.13 and can be downloaded from http://epg123.garyan2.net.
[6/26/2019 6:49:09 AM] [ INFO] Successfully queried the Task Scheduler for status. Could not start. Last Run 6/26/2019 12:00:00 AM; Exit: 0xE0434352
[6/26/2019 6:49:10 AM] [ INFO] Token request successful. serverID: 20141201.web.1
[6/26/2019 6:49:10 AM] [ INFO] Status request successful. account expires: 2019-11-23T00:07:00Z , lineups: 3/4 , lastDataUpdate: 2019-06-26T01:35:10Z
[6/26/2019 6:49:10 AM] [ INFO] system status: Online , message: No known issues.
[6/26/2019 6:49:10 AM] [ INFO] Successfully requested listing of client lineups from Schedules Direct.
[6/26/2019 6:49:10 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-HDHRTVP-DEFAULT.
[6/26/2019 6:49:11 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-OTA-96740.
[6/26/2019 6:49:11 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-OTA-96790.
[6/26/2019 6:50:12 AM] ===============================================================================
[6/26/2019 6:50:12 AM]  Activating the epg123 client GUI. version 1.2.9.0
[6/26/2019 6:50:12 AM] ===============================================================================
[6/26/2019 6:50:12 AM] [ INFO] Successfully queried the Task Scheduler for status. ERROR: Access is denied.  
[6/26/2019 6:50:21 AM] ===============================================================================
[6/26/2019 6:50:21 AM]  Activating the epg123 client GUI. version 1.2.9.0
[6/26/2019 6:50:21 AM] ===============================================================================
[6/26/2019 6:50:21 AM] [ INFO] Successfully queried the Task Scheduler for status. Could not start. Last Run 6/26/2019 12:00:00 AM; Exit: 0xE0434352
[6/26/2019 6:50:55 AM] [ INFO] Stopping process "SearchProtocolHost"
[6/26/2019 6:50:55 AM] [ INFO] Stopping process "ehrecvr"
[6/26/2019 6:51:12 AM] [ERROR] Unhandled thread exception caught from epg123Client.exe. message: The system cannot find the file specified
[6/26/2019 7:00:57 AM] ===============================================================================
[6/26/2019 7:00:57 AM]  Activating the epg123 client GUI. version 1.2.9.0
[6/26/2019 7:00:57 AM] ===============================================================================
[6/26/2019 7:00:57 AM] [ INFO] Successfully queried the Task Scheduler for status. ERROR: Access is denied.  
[6/26/2019 7:01:09 AM] [ERROR] The operation was canceled by the user
[6/26/2019 7:01:36 AM] ===============================================================================
[6/26/2019 7:01:36 AM]  Activating the epg123 client GUI. version 1.2.9.0
[6/26/2019 7:01:36 AM] ===============================================================================
[6/26/2019 7:01:36 AM] [ INFO] Successfully queried the Task Scheduler for status. Could not start. Last Run 6/26/2019 12:00:00 AM; Exit: 0xE0434352
[6/26/2019 7:02:01 AM] [ERROR] Unhandled thread exception caught from epg123Client.exe. message: The system cannot find the file specified

Re: Hangs at "Performing a Manual Database Update

Posted: Wed Jun 26, 2019 7:28 pm
by garyan2
What OS are you running? and just to verify you are looking at the ProgramData\Microsoft\ehome folder, right?

Re: Hangs at "Performing a Manual Database Update

Posted: Wed Jun 26, 2019 7:39 pm
by dochockey
Windows 7 Home Premium 64 bit
I've tried deleting both ehome folders.

Re: Hangs at "Performing a Manual Database Update

Posted: Wed Jun 26, 2019 8:10 pm
by garyan2
Deleting the windows\ehome folder removes WMC, without uninstalling. Don't do that.

Uninstall WMC, reboot, install WMC, you may have to reinstall your tuners to get the registry settings for WMC created. Open WMC momentarily just to be sure the programdata folder have been created. After all that is done, run epg123client.exe as administrator and start with step 1.

Re: Hangs at "Performing a Manual Database Update

Posted: Wed Jun 26, 2019 9:04 pm
by Scallica
dochockey wrote: Wed Jun 26, 2019 7:27 pm Here is the log......
Please use code tags when including a log.

Re: Hangs at "Performing a Manual Database Update

Posted: Wed Jun 26, 2019 9:16 pm
by dochockey
I followed all the above instructions and it is again in an endless loop. What is the longest that you have seen step one take to complete?

Re: Hangs at "Performing a Manual Database Update

Posted: Wed Jun 26, 2019 9:17 pm
by dochockey
What are code tags? I just copied the log file and pasted it.

Re: Hangs at "Performing a Manual Database Update

Posted: Wed Jun 26, 2019 9:30 pm
by garyan2
dochockey wrote:I followed all the above instructions and it is again in an endless loop. What is the longest that you have seen step one take to complete?
Since you're basically starting with nothing in your database, it should be at most a minute.

Re: Hangs at "Performing a Manual Database Update

Posted: Wed Jun 26, 2019 9:31 pm
by garyan2
dochockey wrote:What are code tags? I just copied the log file and pasted it.
Click the [</>] button when editing you post.

Re: Hangs at "Performing a Manual Database Update

Posted: Wed Jun 26, 2019 10:46 pm
by garyan2
Sorry, been doing all these posts on the phone and just now have time to sit and read through everything you have done. I don't know what file the trace.log is talking about that epg123 can't find. The only thing going on there is it will open WMC and then hide it, use mcupdate.exe to update the database, and then restore WMC to view.

I would suggest at this point to just do things manually. Start at Step 2 and setup WMC. For Step 3, you will have to open the configuration GUI yourself to set it up. If you have any recordings to transfer over, click the [Transfer Tool] button to open it up and then open the backup ZIP file created the first time you start a Step 1.

Re: Hangs at "Performing a Manual Database Update"

Posted: Thu Jun 27, 2019 12:33 pm
by peterd
Hi,

I am a recent convert to epg123, having been forced over the cliff by the latest Rovi issues with WMC. So far I am a very happy camper, as I am getting correct guide listings (and artwork!), and it appears to be stable one week in.

I was pleasantly surprised to see that epg123 not only updates the guide listing, but also allows you to change some WMC settings. However, I have a similar issues to this thread where epg123 Client hangs when trying to tweak/update WMC settings. The log shows

"[ERROR] Unhandled thread exception caught from epg123Client.exe. message: Access is denied"

I'm guessing this is a missing security setting somewhere. I looked at WMC which has all users with full permission. However c:\program data\microsoft\ehome and c:\program data\GaRyan2 have limited access for some users. Any suggestions as to what is the cause of the error?

Thx.

Running Win 7 Premium 64 Bit

Re: Hangs at "Performing a Manual Database Update"

Posted: Thu Jun 27, 2019 1:41 pm
by garyan2
peterd wrote:Hi,

I am a recent convert to epg123, having been forced over the cliff by the latest Rovi issues with WMC. So far I am a very happy camper, as I am getting correct guide listings (and artwork!), and it appears to be stable one week in.

I was pleasantly surprised to see that epg123 not only updates the guide listing, but also allows you to change some WMC settings. However, I have a similar issues to this thread where epg123 Client hangs when trying to tweak/update WMC settings. The log shows

"[ERROR] Unhandled thread exception caught from epg123Client.exe. message: Access is denied"

I'm guessing this is a missing security setting somewhere. I looked at WMC which has all users with full permission. However c:\program data\microsoft\ehome and c:\program data\GaRyan2 have limited access for some users. Any suggestions as to what is the cause of the error?

Thx.

Running Win 7 Premium 64 Bit
Is this occurring when you trying to Tweak the grid view rows/time/font size/etc?

Re: Hangs at "Performing a Manual Database Update"

Posted: Thu Jun 27, 2019 2:04 pm
by garyan2
This reminds me of something. Do you now, or have you in the past, used MCE Reset Toolbox? They do a terrible thing with the GAC that breaks the ability for EPG123 to make those tweaks safely and properly. The only way to get things working again is to uninstall WMC, reboot, and reinstall WMC. Open WMC to make sure everything is still okay, and then try the Tweak again.