1.2.1 to 1.2.4 Portable questions

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
User avatar
StinkyImp

Posts: 675
Joined: Thu May 11, 2017 7:53 pm
Location:

HTPC Specs: Show details

1.2.1 to 1.2.4 Portable questions

#1

Post by StinkyImp » Thu Sep 06, 2018 5:23 pm

My oh my... It's been awhile since I've visited and it seems like a lot has changed! Great work!

I've been using "Portable" EPG123 since my day one. I've been using ver 1.2.1 since late June. Every day the status icon is green and has the + icon to let me know there's an update. Needless to say I've been lazy because EPG123 is just so super solid and reliable.

I've read the release notes for 1.2.2 thru 1.2.4 and believe this would be my upgrade path. Please correct or add any pointers.
  1. Drop the portable files in my current directory.
  2. Open the EPG123 Configuration GUI as administrator to update any needed permissions.
  3. Delete the existing scheduled task and create a new one. (generated files will be placed in the new "..\MyPathEPG123\output\" folder)
As far as I can tell, that's it?

Question - Will the portable version create and use the "ProgramData" folder (or any other folder) or stay completely self-contained?

User avatar
garyan2

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

HTPC Specs: Show details

#2

Post by garyan2 » Thu Sep 06, 2018 5:37 pm

You've got it right. One gotcha to look for is when you create a new task, ensure the 'Automatically import...' option is still checked or 'Full Mode' is still selected in the client GUI.

If the epg123.exe file is located in a "Program Files" or "Program Files (x86)" folder, it will then use the ProgramData folder for the generated files. Outside of the Program Files folders it will still behave as before... all files remaining within the epg123 folder (still completely self-contained).
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

User avatar
StinkyImp

Posts: 675
Joined: Thu May 11, 2017 7:53 pm
Location:

HTPC Specs: Show details

#3

Post by StinkyImp » Thu Sep 06, 2018 6:27 pm

Hi Gary! Thanks for the additional info.

I've tried creating the scheduled task (Run as Administrator) but it's not creating. It just resets the parameters. I've closed the GUI and reopened it with the same results.

Details below...

Imgur images -> Setting parameters and then clicking "Create"

Code: Select all

[9/6/2018 11:08:52 AM] ===============================================================================
[9/6/2018 11:08:52 AM]  Activating the epg123 configuration GUI. version 1.2.4.0
[9/6/2018 11:08:52 AM] ===============================================================================
[9/6/2018 11:08:52 AM] [ INFO] Successfully queried the Task Scheduler for status. No task is scheduled to run.
[9/6/2018 11:08:53 AM] [ INFO] Token request successful. serverID: 20141201.web.X
[9/6/2018 11:08:53 AM] [ INFO] Status request successful. account expires: 2019-02-12T14:47:08Z , lineups: 1/4 , lastDataUpdate: 2018-09-06T12:32:20Z
[9/6/2018 11:08:53 AM] [ INFO] system status: Online , message: No known issues.
[9/6/2018 11:08:53 AM] [ INFO] Successfully requested listing of client lineups from Schedules Direct.
[9/6/2018 11:08:53 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-OTA-XXXXX.
[9/6/2018 11:09:10 AM] [ERROR] Failed to create a daily update task in Task Scheduler. Exit: 80004005
[9/6/2018 11:09:10 AM] [ INFO] Successfully queried the Task Scheduler for status. No task is scheduled to run.
[9/6/2018 11:09:33 AM] [ERROR] Failed to create a daily update task in Task Scheduler. Exit: 80004005
[9/6/2018 11:09:33 AM] [ INFO] Successfully queried the Task Scheduler for status. No task is scheduled to run.
[9/6/2018 11:10:41 AM] [ERROR] Failed to create a daily update task in Task Scheduler. Exit: 80004005
[9/6/2018 11:10:41 AM] [ INFO] Successfully queried the Task Scheduler for status. No task is scheduled to run.
Thanks in advance for your "It's this simple..." guidance!

EDIT: Win 7 Pro x64

User avatar
garyan2

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

HTPC Specs: Show details

#4

Post by garyan2 » Fri Sep 07, 2018 3:58 am

You always have to have the fun stuff...

Never seen this before. In your folder with epg123.exe, is there a file "epg123Task.xml" and is the date and timestamp when you last tried to create the task? If it is, try running manually from an elevated command prompt:

Code: Select all

schtasks.exe /create /xml "path_to_the_epg123Task_xml_file" /tn epg123_update
See if that works.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

User avatar
StinkyImp

Posts: 675
Joined: Thu May 11, 2017 7:53 pm
Location:

HTPC Specs: Show details

#5

Post by StinkyImp » Fri Sep 07, 2018 2:12 pm

garyan2 wrote: Fri Sep 07, 2018 3:58 am You always have to have the fun stuff...
You're welcome!

All jokes aside. I went ahead and dropped in the 1.2.5 version, ran a "Save & Execute" and (once again) it ran flawlessly. :D

This time when I tried to "create" the task it did the same as before so I tried the "schtasks" command. It successfully added the task BUT...
  • The task time is 00:00
  • From my recollection it's supposed to have two "application run" entries? Right now it only has one.
  • It has the "epg123.exe -update" entry.
  • It does not have an *epg123client.exe" entry.
It's almost as if the "Create" task function resets the parameters and creates the "epg123Task.xml" file with the reset/default entries.

The only thing I can find for error code 80004005 is that it's an “Unspecified Error”. Pretty helpful, huh? This article seems consistent with the cause/solutions I can find. Even so, the only solutions that appear to be applicable in this situation (registry or corrupt dll) don't really apply to this situation.

In the meantime would you be so kind as to create an "epg123Task.xml" file that I can modify for the path entries and time, and then run the schtask command on?

User avatar
garyan2

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

HTPC Specs: Show details

#6

Post by garyan2 » Fri Sep 07, 2018 2:21 pm

Sure. Here you go.
epg123Task.zip
(1.1 KiB) Downloaded 50 times
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

User avatar
StinkyImp

Posts: 675
Joined: Thu May 11, 2017 7:53 pm
Location:

HTPC Specs: Show details

#7

Post by StinkyImp » Fri Sep 07, 2018 8:48 pm

Thanks Gary!

I just downloaded, modified paths, and ran schtasks. Everything appears to be correct in the Task Scheduler. I'll check in the morning to see if it executed as intended.

Have a great day!

User avatar
StinkyImp

Posts: 675
Joined: Thu May 11, 2017 7:53 pm
Location:

HTPC Specs: Show details

#8

Post by StinkyImp » Sat Sep 08, 2018 12:42 pm

StinkyImp wrote: Fri Sep 07, 2018 8:48 pm I'll check in the morning to see if it executed as intended.
And then like magic... all was right in the world! :D

Code: Select all

[9/8/2018 12:15:00 AM] ===============================================================================
[9/8/2018 12:15:00 AM]  Beginning epg123 update execution. version 1.2.5.0
[9/8/2018 12:15:00 AM] ===============================================================================
[9/8/2018 12:18:46 AM] [ INFO] Completed EPG123 update execution. SUCCESS.
[9/8/2018 12:18:46 AM] [ INFO] epg123 update execution time was 00:03:46.5575987.


[9/8/2018 12:18:46 AM] ===============================================================================
[9/8/2018 12:18:46 AM]  Beginning epg123 client execution. version 1.2.5.0
[9/8/2018 12:18:46 AM] ===============================================================================
[9/8/2018 12:19:19 AM] [ INFO] Completed EPG123 client execution.
[9/8/2018 12:19:19 AM] [ INFO] EPG123 client execution time was 00:00:33.0106580.
Thank you again and have a GREAT weekend!

joe1275

Posts: 7
Joined: Thu Dec 19, 2019 9:27 pm
Location:

HTPC Specs: Show details

#9

Post by joe1275 » Thu Dec 19, 2019 10:21 pm

I was having the same problem, so I tried the command above:

C:\WINDOWS\system32>schtasks.exe /create /xml "D:\Program Files (x86)\epg123\epg123Task.xml" /tn epg123_update
SUCCESS: The scheduled task "epg123_update" has successfully been created.

So that appeared to have worked, but now when I start up EPG123, I get "ERROR: Access is denied.":

[12/19/2019 4:19:45 PM] ===============================================================================
[12/19/2019 4:19:45 PM] Activating the epg123 configuration GUI. version 1.3.1.30
[12/19/2019 4:19:45 PM] ===============================================================================
[12/19/2019 4:19:46 PM] [ INFO] Successfully queried the Task Scheduler for status. ERROR: Access is denied.
[12/19/2019 4:19:46 PM] [ INFO] Token request successful. serverID: 20141201.web.1
[12/19/2019 4:19:46 PM] [ INFO] Status request successful. account expires: 2019-12-26T20:52:58Z , lineups: 1/4 , lastDataUpdate: 2019-12-19T20:55:35Z
[12/19/2019 4:19:46 PM] [ INFO] system status: Online , message: No known issues.
[12/19/2019 4:19:46 PM] [WARNG] Your Schedules Direct account expires in 06 days 22 hours 33 minutes.
[12/19/2019 4:19:47 PM] [ INFO] Successfully requested listing of client lineups from Schedules Direct.
[12/19/2019 4:19:47 PM] [ INFO] Successfully retrieved the station mapping for lineup USA-OTA-60045.

User avatar
garyan2

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

HTPC Specs: Show details

#10

Post by garyan2 » Thu Dec 19, 2019 10:34 pm

In Win10, you can't see the status of the task unless you are running with elevated privileges (as Administrator). The fact that it says "Access is denied" indicates a task is there (created), but you just can't read the status.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Post Reply