Cannot Create Scheduled Task

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

Cannot Create Scheduled Task

Post#1 » Fri Mar 16, 2018 11:20 pm

When I try to create a scheduled task, it does not save. I have tried through both the Configuration GUI and the Client configuration set to full mode. In either case, I get a line in the trace file that says:
[ERROR] Failed to create a daily update task in Task Scheduler. Exit: 00000001

Also, if I try to Save or Save+Execute my settings in the Configuration GUI, I get an Unhandled Exception popup, and it does not save my settings.
epg123help
 
Posts: 6
Joined: 16 March 2018

Post#2 » Fri Mar 16, 2018 11:22 pm

Where did you install EPG123? Sounds like a permission problem writing to the folder.
User avatar
garyan2
 
Posts: 2762
Joined: 27 November 2015
HTPC Specs: Show details
- Gary
Stomping out the Rovi disease, one media center at a time. http://epg123.garyan2.net

Post#3 » Fri Mar 16, 2018 11:47 pm

Installed in default folder and worked through setup according to the guide. Have also tried running programs as Admin with same result.
epg123help
 
Posts: 6
Joined: 16 March 2018

Post#4 » Sat Mar 17, 2018 12:05 am

Confusing, but I still think it's a permission problem... or maybe an antivirus program preventing epg123 from writing to the folder?
User avatar
garyan2
 
Posts: 2762
Joined: 27 November 2015
HTPC Specs: Show details
- Gary
Stomping out the Rovi disease, one media center at a time. http://epg123.garyan2.net

Post#5 » Sat Mar 17, 2018 2:34 pm

Still the same when I turned all firewalls and antivirus off. This was on a VM with fully patched Win7. Not a whole lot else on the box. I was just trying to test this install before migrating my real PVR setup from NextPVR (Always preferred WMC prior to the whole guide update issue). I'll try on my physical machine and see how it goes.
epg123help
 
Posts: 6
Joined: 16 March 2018

Post#6 » Sat Mar 17, 2018 9:05 pm

I am having a similar issue. I can delete the task from within the epg123 folder and when I create a new one it is created again in the epg23 folder. I have checked and both user and admin have write permissions. Below is the log from the trace file. When I open the gui or client in full mode it does not save.

[3/17/2018 1:58:50 PM] [ INFO] Successfully queried the Task Scheduler for status. No task is scheduled to run.
Attachments
Capture.PNG
Screen shot
lurch66
 
Posts: 229
Joined: 10 June 2011
Location: Queen Creek AZ
HTPC Specs: Show details
5+ YrsTGB Veteran

Post#7 » Sat Mar 17, 2018 9:29 pm

lurch66 wrote:I am having a similar issue. I can delete the task from within the epg123 folder and when I create a new one it is created again in the epg23 folder. I have checked and both user and admin have write permissions. Below is the log from the trace file. When I open the gui or client in full mode it does not save.

[3/17/2018 1:58:50 PM] [ INFO] Successfully queried the Task Scheduler for status. No task is scheduled to run.

Interesting ... I just verified this on a Win10 machine. I guess there's going to be a v1.1.23 out today as well. :oops:
User avatar
garyan2
 
Posts: 2762
Joined: 27 November 2015
HTPC Specs: Show details
- Gary
Stomping out the Rovi disease, one media center at a time. http://epg123.garyan2.net

Post#8 » Sat Mar 17, 2018 9:35 pm

Okay, this was a demonstration of the adage... If it ain't broke, don't fix it. I had changed the encoding of the task xml file from Unicode to UTF8. Turns out that importing/creating a task in task manager doesn't work with UTF8.

v1.1.23 coming soon.
User avatar
garyan2
 
Posts: 2762
Joined: 27 November 2015
HTPC Specs: Show details
- Gary
Stomping out the Rovi disease, one media center at a time. http://epg123.garyan2.net

Post#9 » Sat Mar 17, 2018 9:48 pm

LOL, glad to help. I must have been one of the first to download the new version as an initial install... Please let us know when the fix is up.
epg123help
 
Posts: 6
Joined: 16 March 2018

Post#10 » Sat Mar 17, 2018 9:52 pm

epg123help wrote:LOL, glad to help. I must have been one of the first to download the new version as an initial install... Please let us know when the fix is up.

Fix is up. Many thanks to you and lurch66 for letting me know.
User avatar
garyan2
 
Posts: 2762
Joined: 27 November 2015
HTPC Specs: Show details
- Gary
Stomping out the Rovi disease, one media center at a time. http://epg123.garyan2.net

Post#11 » Sat Mar 17, 2018 10:14 pm

ok, scheduled task thing is fixed, but still getting the Unhandled exception when trying to save from the Config GUI. I'll open another thread.
epg123help
 
Posts: 6
Joined: 16 March 2018

Post#12 » Sat Mar 17, 2018 10:23 pm

epg123help wrote:ok, scheduled task thing is fixed, but still getting the Unhandled exception when trying to save from the Config GUI. I'll open another thread.

After today, I'm just going to crawl under a rock. I recreated your problem and will release, guess what, v1.1.24 later?
User avatar
garyan2
 
Posts: 2762
Joined: 27 November 2015
HTPC Specs: Show details
- Gary
Stomping out the Rovi disease, one media center at a time. http://epg123.garyan2.net

Post#13 » Sat Mar 17, 2018 11:45 pm

Just back from a few days away and we’ve had four releases! :o
User avatar
IT Troll
 
Posts: 588
Joined: 27 November 2011
Location: Edinburgh, UK
HTPC Specs: Show details
5+ YrsTGB Veteran

Post#14 » Sat Mar 17, 2018 11:50 pm

IT Troll wrote:Just back from a few days away and we’ve had four releases! :o

And 3 of those were today ... which isn't even over yet (for US anyway).

We seriously need a facepalm emoticon for this board ... I have owned and earned that today.
User avatar
garyan2
 
Posts: 2762
Joined: 27 November 2015
HTPC Specs: Show details
- Gary
Stomping out the Rovi disease, one media center at a time. http://epg123.garyan2.net

Post#15 » Sun Mar 18, 2018 3:43 am

Thanks for all your hard work today Gary. Today's issues are not even close to the fun I have had in the past with guide data before this great addition. Again thanks for all you do!!!
lurch66
 
Posts: 229
Joined: 10 June 2011
Location: Queen Creek AZ
HTPC Specs: Show details
5+ YrsTGB Veteran

Post#16 » Sun Mar 18, 2018 5:58 pm

garyan2 wrote:We seriously need a facepalm emoticon for this board ... I have owned and earned that today.

Don't worry about it. I'd rather have you actively developing for Media Center and making the odd slip, than the approach Microsoft takes. :thumbup:
User avatar
IT Troll
 
Posts: 588
Joined: 27 November 2011
Location: Edinburgh, UK
HTPC Specs: Show details
5+ YrsTGB Veteran

Post#17 » Fri Mar 30, 2018 6:08 pm

I am going back to using EPG 123 after using it successfully in the past, then switching and using the internal WMC Rovi guide data for a while, then back to EPG 123. I have done a "Clean Setup" through the Client program and reinstalled the latest v1.1.25 of EPG 123. After opening the EPG 123 "non client" program I have edited my channel lineup by checking and unchecking the various channel boxes that I want. I click "Save & Execute" and all of the progress bars go through their normal process concluding with 100% "Import Guide Data". But WMC has no data showing channel numbers, which will tune to programs, but no names, logos and showing not available for program names in the guide.

As I look things over to try to see what may be wrong I notice that the "Scheduled Task" area is grayed out. It is grayed out on the "client" program as well and on the non client program The "Delete button" shows and is not grayed out. I have clicked on it but it doesn't clear out the old grayed out task so that I can reset it, the Delete button remains and I do not get the Create button. I have an active subscription to Schedules Direct with a date in the future indicating its expiration date.

So my first question is how do I get the new data into WMC? Secondly, Does the scheduled task function have something to do with my problem?

Any help is appreciated.
Lfox
 
Posts: 5
Joined: 30 August 2017

Post#18 » Fri Mar 30, 2018 6:32 pm

Lfox wrote:I am going back to using EPG 123 after using it successfully in the past, then switching and using the internal WMC Rovi guide data for a while, then back to EPG 123. I have done a "Clean Setup" through the Client program and reinstalled the latest v1.1.25 of EPG 123. After opening the EPG 123 "non client" program I have edited my channel lineup by checking and unchecking the various channel boxes that I want. I click "Save & Execute" and all of the progress bars go through their normal process concluding with 100% "Import Guide Data". But WMC has no data showing channel numbers, which will tune to programs, but no names, logos and showing not available for program names in the guide.

As I look things over to try to see what may be wrong I notice that the "Scheduled Task" area is grayed out. It is grayed out on the "client" program as well and on the non client program The "Delete button" shows and is not grayed out. I have clicked on it but it doesn't clear out the old grayed out task so that I can reset it, the Delete button remains and I do not get the Create button. I have an active subscription to Schedules Direct with a date in the future indicating its expiration date.

So my first question is how do I get the new data into WMC? Secondly, Does the scheduled task function have something to do with my problem?

Any help is appreciated.

No particular order ...

If you see a Delete button, that means the task is already created (probably left over from previous usage). In order to Create/Delete tasks you need to be running as administrator which is why you see the shield on the button. Clicking a button with a shield will close the program and open back up as administrator and the button(s) will no longer have the shield. At that point, you can click the button again to actually execute the Create/Delete.

For guide listings, it sounds to me you don't have the listings associated with the guide channels. Open the client GUI and click the Match by: [# Number] button to automatically link the listings and channels together. If you have any custom numbers then before you do the match, click the [Custom Labels] button to read [Original Labels].
User avatar
garyan2
 
Posts: 2762
Joined: 27 November 2015
HTPC Specs: Show details
- Gary
Stomping out the Rovi disease, one media center at a time. http://epg123.garyan2.net

Post#19 » Sat Mar 31, 2018 5:34 pm

Thank you for the guidance. I will try your suggestions later today.
Lfox
 
Posts: 5
Joined: 30 August 2017


Return to EPG123



Who is online

Users browsing this forum: No registered users and 1 guest

cron