Could not start error, but runs manually

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
xsdaver

Posts: 3
Joined: Wed Jul 19, 2017 2:16 pm
Location:

HTPC Specs: Show details

Could not start error, but runs manually

#1

Post by xsdaver » Wed Mar 10, 2021 2:21 pm

I have a PC that is always on set up to download the guide every day and various other PC's set up to import the mxf file from it in client mode. On some of the client PC's the scheduled task works fine every time, on some I get a could not start error every time. On those PC's that could not start if I click on the Manual Import button the guide is imported correctly every time. It appears that the issue causing the could not start error is that the mxf file could not be found. However, it is there which is why the manual import works as it should. Any thoughts? I ran the import manually right before copying this portion of the log:

Code: Select all

[3/4/2021 1:58:17 PM] ===============================================================================
[3/4/2021 1:58:17 PM]  Activating the epg123 client GUI. version 1.6.1.3
[3/4/2021 1:58:17 PM] ===============================================================================
[3/4/2021 1:58:18 PM] [ INFO] Successfully queried the Task Scheduler for status. Could not start. Last Run 3/4/2021 12:54:59 PM; Exit: 0xFFFFFFFF
[3/4/2021 1:59:12 PM] Entering ImportMxfFile() for file "\\server1\EPG123\output\epg123.mxf".
[3/4/2021 2:04:21 PM] [ INFO] Successfully imported .mxf file into Media Center database. Exit code: 0
[3/4/2021 2:04:21 PM] Exiting ImportMxfFile(). SUCCESS.
[3/4/2021 2:04:22 PM] Entering RunWmcIndexTask(ReindexSearchRoot)
[3/4/2021 2:04:22 PM] [ INFO] SUCCESS: Attempted to run the scheduled task "Microsoft\Windows\Media Center\ReindexSearchRoot".
[3/4/2021 2:04:22 PM] [ INFO] Successfully started the ReindexSearchRoot task. Exit code: 0
[3/4/2021 2:04:22 PM] Exiting RunWmcIndexTask(ReindexSearchRoot). SUCCESS.
[3/4/2021 2:04:22 PM] [ INFO] MXF file was created on 3/4/2021 12:00:00 PM
[3/4/2021 2:20:19 PM] [ INFO] **** Intercepted "mcupdate.exe -u -nogc" call. Ignored. ****
[3/5/2021 12:55:00 PM] [ERROR] File "\\server1\EPG123\output\epg123.mxf" does not exist.
[3/6/2021 12:55:00 PM] [ERROR] File "\\server1\EPG123\output\epg123.mxf" does not exist.
[3/7/2021 12:55:00 PM] [ERROR] File "\\server1\EPG123\output\epg123.mxf" does not exist.
[3/8/2021 12:55:00 PM] [ERROR] File "\\server1\EPG123\output\epg123.mxf" does not exist.
[3/9/2021 12:55:00 PM] [ERROR] File "\\server1\EPG123\output\epg123.mxf" does not exist.
[3/10/2021 7:54:36 AM] ===============================================================================
[3/10/2021 7:54:36 AM]  Activating the epg123 client GUI. version 1.6.1.3
[3/10/2021 7:54:36 AM] ===============================================================================
[3/10/2021 7:54:36 AM] [ INFO] Successfully queried the Task Scheduler for status. Could not start. Last Run 3/9/2021 12:55:00 PM; Exit: 0xFFFFFFFF
[3/10/2021 9:11:48 AM] Entering ImportMxfFile() for file "\\server1\EPG123\output\epg123.mxf".
[3/10/2021 9:19:12 AM] [ INFO] Successfully imported .mxf file into Media Center database. Exit code: 0
[3/10/2021 9:19:12 AM] Exiting ImportMxfFile(). SUCCESS.
[3/10/2021 9:19:18 AM] Entering RunWmcIndexTask(ReindexSearchRoot)
[3/10/2021 9:19:19 AM] [ INFO] SUCCESS: Attempted to run the scheduled task "Microsoft\Windows\Media Center\ReindexSearchRoot".
[3/10/2021 9:19:19 AM] [ INFO] Successfully started the ReindexSearchRoot task. Exit code: 0
[3/10/2021 9:19:19 AM] Exiting RunWmcIndexTask(ReindexSearchRoot). SUCCESS.
[3/10/2021 9:19:19 AM] [ INFO] MXF file was created on 3/9/2021 12:00:00 PM
I did search the forum for "could not start", with the quotes, but got a list of every thread with any of the words could or not or start. Not very useful since a large percentage of the threads have one of those three words.

User avatar
garyan2

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

HTPC Specs: Show details

#2

Post by garyan2 » Wed Mar 10, 2021 3:45 pm

Your task user probably does not the proper user setup to have access to the network or shared drive. You will have to edit your scheduled task manually in Task Scheduler.

Sent from my SM-G965U using Tapatalk

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

xsdaver

Posts: 3
Joined: Wed Jul 19, 2017 2:16 pm
Location:

HTPC Specs: Show details

#3

Post by xsdaver » Tue Mar 23, 2021 5:21 pm

I've tried it with the task set to run as me, but it still doesn't work. At least on one machine.

User avatar
garyan2

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

HTPC Specs: Show details

#4

Post by garyan2 » Wed Mar 24, 2021 4:11 am

Is the machine coming out of sleep when it runs the task? Maybe the network isn't up yet when the client tries to get the file... kind of long shot.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

xsdaver

Posts: 3
Joined: Wed Jul 19, 2017 2:16 pm
Location:

HTPC Specs: Show details

#5

Post by xsdaver » Wed Mar 24, 2021 11:41 am

Actually this machine was on all the time. The mxf file is on a three disk RAID on an always on server, I wonder if it takes too long for the drives to spin up and the EPG123 client times out waiting.

Post Reply