WMC Guide Doesn't Automatically Update

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: 7476
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#21

Post by garyan2 » Mon Jan 13, 2020 12:49 am

The trace.log file should say something then. Click the [View Log] button.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Eutychus

Posts: 24
Joined: Sun Nov 17, 2019 12:45 am
Location:

HTPC Specs: Show details

#22

Post by Eutychus » Wed Jan 15, 2020 1:22 am

I just ran the manual update and here's a snippet:
[1/14/2020 5:57:40 PM] [ INFO] Token request successful. serverID: 20141201.web.1
[1/14/2020 5:57:40 PM] [ INFO] Status request successful. account expires: 2020-10-19T00:56:50Z , lineups: 1/4 , lastDataUpdate: 2020-01-14T14:52:21Z
[1/14/2020 5:57:40 PM] [ INFO] system status: Online , message: No known issues.
[1/14/2020 5:57:40 PM] [ INFO] Successfully requested listing of client lineups from Schedules Direct.
[1/14/2020 5:57:41 PM] [ INFO] Successfully retrieved the station mapping for lineup USA-OTA-80915.
[1/14/2020 5:57:41 PM] [ INFO] Successfully queried the Task Scheduler for status. ERROR: Access is denied.

Then it begins epg123 update execution and there's no errors until:
[1/14/2020 5:59:31 PM] [ INFO] Downloaded and processed 16.121 MB of data from Schedules Direct.
[1/14/2020 5:59:31 PM] [ INFO] Generated .mxf file contains 35 services, 1669 series, 9291 programs, and 19088 people with 1865 image links.
[1/14/2020 5:59:31 PM] [ INFO] Completed EPG123 update execution. SUCCESS.
[1/14/2020 5:59:31 PM] [ INFO] epg123 update execution time was 00:01:22.1441518.
[1/14/2020 5:59:32 PM] [ERROR] Unhandled exception caught from epg123.exe. message: The requested operation requires elevation

Then it activates the epg123 configuration GUI and then ends with
[1/14/2020 5:59:56 PM] [ INFO] Successfully requested listing of client lineups from Schedules Direct.
[1/14/2020 5:59:56 PM] [ INFO] Successfully retrieved the station mapping for lineup USA-OTA-80915.
[1/14/2020 5:59:56 PM] [ INFO] Successfully queried the Task Scheduler for status. ERROR: Access is denied.

I can upload all of the manual update I did tonight.
Steve Reinke

User avatar
garyan2

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

HTPC Specs: Show details

#23

Post by garyan2 » Wed Jan 15, 2020 2:58 am

Could you send me your full trace.log file(s)? support@garyan2.net
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Eutychus

Posts: 24
Joined: Sun Nov 17, 2019 12:45 am
Location:

HTPC Specs: Show details

#24

Post by Eutychus » Wed Jan 15, 2020 3:57 am

I just sent you the email with the log file. Let me know if you want the entire one with all the scheduled tasks back to 12/14/19.

User avatar
garyan2

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

HTPC Specs: Show details

#25

Post by garyan2 » Wed Jan 15, 2020 4:33 am

So it looks like what you sent me was from a [Save & Execute]. The error is new for me, but it looks like you are throwing an exception either when trying to apply a threadstate or trying to start the client to import the mxf file.

So you have a permission problem in executing the task and I'm not sure why. Do you get the same permission error when a task runs?
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Eutychus

Posts: 24
Joined: Sun Nov 17, 2019 12:45 am
Location:

HTPC Specs: Show details

#26

Post by Eutychus » Thu Jan 16, 2020 2:00 am

I just sent you the complete trace log. I made both egp123 and epg123 Client run as administrator, but it didn't change. The answer to your question is it does give the same error and sometimes it throws up the 800702E4 error and the epg123 Configuration has a "Permission Denied" error and the bottom of the screen. It can say that even when the return code is 00000000.

User avatar
garyan2

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

HTPC Specs: Show details

#27

Post by garyan2 » Thu Jan 16, 2020 5:04 am

Okay, not sure how the error message "The requested operation requires elevation" applies, but you got those messages because you tried to import an mxf file WHILE there was a previous import that was PAUSED due to a recording in progress.

It does not look like your task is "Full Mode"... it updates the MXF file, but does not try to import into WMC. Your [Save & Execute] attempts, albeit while you are recording something, to import the file but it is paused. If you see the below in your notification area, that means the import has been paused until recording is complete.
EPG123_pause.png
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Space

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

HTPC Specs: Show details

#28

Post by Space » Thu Jan 16, 2020 5:08 am

Note that "when recording is complete" means when the recording was scheduled to complete at the time it checked or one hour from when it checked, whichever is sooner (I think). So even if you manually stop the recording, it will not notice and will still wait.

Eutychus

Posts: 24
Joined: Sun Nov 17, 2019 12:45 am
Location:

HTPC Specs: Show details

#29

Post by Eutychus » Fri Jan 17, 2020 1:13 am

The only time it may have been recording was when I did the manual update. It's set to run at 2:05AM and I never record at that time. Should both the client and configuration have the same time to run? It's not a problem on my test computer. I've never seen that logo when I've run the update. By the way, running both of the programs as administrator didn't do anything, which I'm you knew wouldn't work. Tonight, I did a rebuild of the database. It showed the correct date on the EPG logo, but didn't update the guide. I then cleared the cache and did a manual update and it updated the guide. I'm not sure what that did, nor do I know if it will update tonight. We'll see.

User avatar
garyan2

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

HTPC Specs: Show details

#30

Post by garyan2 » Fri Jan 17, 2020 1:23 am

Eutychus wrote: Fri Jan 17, 2020 1:13 am The only time it may have been recording was when I did the manual update. It's set to run at 2:05AM and I never record at that time. Should both the client and configuration have the same time to run? It's not a problem on my test computer. I've never seen that logo when I've run the update. By the way, running both of the programs as administrator didn't do anything, which I'm you knew wouldn't work. Tonight, I did a rebuild of the database. It showed the correct date on the EPG logo, but didn't update the guide. I then cleared the cache and did a manual update and it updated the guide. I'm not sure what that did, nor do I know if it will update tonight. We'll see.
Right, it is set to run at 2:05AM, but it doesn't look like it is set to run the import. The server and client show the status of the same task. So in the server side, is the 'Automatically import...' option checked or in the client is the 'Automatch' option checked? Since you are Win10, you will need to run either to see the task status and configuration.

Speaking of, which version of Win10 are you running and what user account do you have assigned for the task?
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Eutychus

Posts: 24
Joined: Sun Nov 17, 2019 12:45 am
Location:

HTPC Specs: Show details

#31

Post by Eutychus » Fri Jan 17, 2020 8:47 pm

I'm running 1903. The "Automatically import guide data into WMC" is checked in the EPG123 Configuration program. In the client program "Automatch" is checked. I am using the only login for the computer. It's an standard account as administrator like my test computer. This morning it returned an error of 800710E0. One weird thing I noticed is the Last run in the configuration and client programs say, "Last Run 1/17/2020 4:05:03." I changed it run at 3:05 last night as a test, but it showed the same hour difference when running at 2:05am, when it showed that last run at 3:05am. Oh, and it didn't update on this morning's run. Are we getting to where I should delete everything and reinstall?

User avatar
garyan2

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

HTPC Specs: Show details

#32

Post by garyan2 » Fri Jan 17, 2020 10:11 pm

Does the client still show 'Automatch' is enabled if you run the GUI as Administrator?
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Eutychus

Posts: 24
Joined: Sun Nov 17, 2019 12:45 am
Location:

HTPC Specs: Show details

#33

Post by Eutychus » Fri Jan 17, 2020 10:18 pm

Yes.

User avatar
garyan2

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

HTPC Specs: Show details

#34

Post by garyan2 » Fri Jan 17, 2020 10:57 pm

No need to delete and reinstall anything... the problem appears to just be your scheduled task. The 1 hour difference is certainly weird. For the error code, did you set the executables to "Run this program as an administrator"? I don't think that will work for a scheduled task.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Eutychus

Posts: 24
Joined: Sun Nov 17, 2019 12:45 am
Location:

HTPC Specs: Show details

#35

Post by Eutychus » Fri Jan 17, 2020 11:20 pm

Let me change that. It didn't work before, but that was before I rebuilt the database and cleared the cache.

User avatar
garyan2

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

HTPC Specs: Show details

#36

Post by garyan2 » Fri Jan 17, 2020 11:30 pm

Sorry, reading my comment, it may not have been clear. I want to make sure you did NOT set it to run as administrator for both epg123.exe and epg123Client.exe. I know you've some things with the files, folders, and tasks... just don't know what.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Eutychus

Posts: 24
Joined: Sun Nov 17, 2019 12:45 am
Location:

HTPC Specs: Show details

#37

Post by Eutychus » Sat Jan 18, 2020 5:35 am

Only the client is in administrator mode like my test computer. Let's see what happens in the wee morning hours.

Eutychus

Posts: 24
Joined: Sun Nov 17, 2019 12:45 am
Location:

HTPC Specs: Show details

#38

Post by Eutychus » Sat Jan 18, 2020 2:27 pm

The EPG123 Configuration ran at it's scheduled time this morning (02:05A) and the guide updated. The server showed an update time of 21:44, it tried to run at 8:44P and returned an error of "Access denied" and the "Wake" wasn't checked, but I'm pretty sure I checked it. Should they have some run time? Do they both need to run?

User avatar
garyan2

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

HTPC Specs: Show details

#39

Post by garyan2 » Sat Jan 18, 2020 3:52 pm

There is only 1 task with only 1 start time. The scheduled task you see in the configuration GUI is of the same task you status for in the client GUI. Since you are Win10, the only way to see the real status of the task (to include the wake, import, automatch, time, and file location of MXF or EXE file) is to run the GUI with elevated privileges. This is why the status you see is red of "ERROR: Access denied" when not running elevated. EPG123 could not access the task to determine how it was configured or what the last run status was.

If you run Server Mode only, the server part will run at the designated time.
If you run Client Mode only, the client part will run at the designated time.
If you run Full Mode, the server part will run at the designated time and as soon as it is done, the client part will run.

Open the configuration GUI as administrator, and then open the client GUI as administrator. The task information shown will be the same.

Make sure you remove the "Run this program as an administrator" from epg123.exe and/or epg123Client.exe. The scheduled task, running in the background, will not be able to acknowledge the elevated execution and the task will fail.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Eutychus

Posts: 24
Joined: Sun Nov 17, 2019 12:45 am
Location:

HTPC Specs: Show details

#40

Post by Eutychus » Sat Jan 18, 2020 4:17 pm

Okay. I have the client running as administrator and the server (configuration) running normal. As long as the thing updates, I'm okay. It's just weird that my other computer both run and return 00000000 with no "Access Denied" message. I can deal with that as long it updates. It also has the client running as admin and the server normal. Thanks for your help.

Post Reply