Problem with "automceupdate" under MCE 2005

Hi Igor,

First I would like to thank you for you great program, I'm using it for 2 years already and it's working great !!! Laughing

Second, I've just recently reinstalled my MCE 2005 and have issues with the new installation of the MegaEPG:

1) I want to use the "automceupdate" feature (I didn't use it in the previous install). The problem is that when the feature is turned ON the downloading is working ok but the SW fails on the EPG update into MCE. I'm getting an exception with a title of "updepgmce.exe - Common Languate Runtime Debugger Services", and inside the dialog box it shows "Application has generated an exception that could not be handled".

What is this error and How can I fix it ?

EDIT: I've just notice that in MegaEPG 1.3.1 you explain an issue related to MCE 2005 and .NET. Is the error I'm getting related to this problem or something else? (I can't try it now since I'm not at home currently). I'm asking since as far as I remember I installed the latest .NET (version 3.5 I think) as a part of the SP3 updates.

2) Lately there are so many issues with the downloading scripts (ynet, walla, yes guide, etc.) which some are not supported and not working ok. It would be great if you publish (in the home page maybe) kind of a recommended list of which scripts to use and in which order (maybe different list for vista due to the vista_he script issue) and which scripts are not working any more.

3) I also suggest that since the "automceupdate" feature is disabled by default, you can add a line of "automceupdate = 0" in the ini file so help user to enable it, or even add "enable/disble" option in the configuration wizard.

Thanks,

Yossi & Isar

1. Did you install the rollup

1. Did you install the rollup update and all the SPs for the MCE2005?

2. There will always be problems with the EPG from the internet sources. They are very unreliable in Israel. My preferred order is DVB (but you need a dvb-s card in that case), vista_he and finally, ynet.

3. Okay, added to TODO list.

Thank you for your quick &

Thank you for your quick & responsive reply.

Regarding the installation - Yes,  I did installed everything until few days ago including SP3 & MCE rollup (Until 2 days ago I had no more required/optional installations).

I've checked yesterday and disabled the .NET security and it didn't help. The current installed .NET framework is v3.5, but it doesn't have the "caspol.exe" file. According to some forums on the web v3.5 is still using v2.0 GUI so some people wrote that I need to use "caspol.exe" of v2.0, so I did and as mentioned - it didn't help.

This is a link to the error message I got: http://img190.imageshack.us/img190/1051/epgerror.jpg

or use this one: http://yfrog.com/5aepgerrorj

 

Regarding the EPG - I know that DVB is the best but I currently don't have it (but I'm thinking of it...)

 

 

Can you please run the

Can you please run the command line version of the MegaEPG in order to see the exact exception info? Start-Run-cmd, "cd \program files\megaepg"   and "megaepg"

I run it from DOS window as you requested,

and the results are similar. It seems like the updepgmce.exe has some exception (When I'm updating through MCE everything is ok, but it's less usefull of course...).

Also note that since is this MCE is with the latest updates (SP3) then I also have IE8 (I don't know if it's relevant)

I uploaded the screenshot: http://img27.imageshack.us/img27/6840/epgerror2.jpg (or http://yfrog.com/0repgerror2j)

Also, I turned ON the debug but the log doesn's seems to have much info about the updepgmce.exe, Here is a capture from the log (start & end):

2009-09-17 00:03:12,717 DEBUG ******************************
2009-09-17 00:03:12,717 DEBUG Debug Starting
2009-09-17 00:03:12,717 DEBUG Configuration: Unit-test mode: 0
2009-09-17 00:03:12,717 DEBUG Configuration: Days to grab: 6
2009-09-17 00:03:12,717 DEBUG Configuration: country: IL
2009-09-17 00:03:12,717 DEBUG Configuration: channels file: channels.xml
2009-09-17 00:03:12,717 DEBUG Configuration: available languages: he_IL,ru,en
2009-09-17 00:03:12,717 DEBUG Configuration: available providers: Satellite (YES),Cable (HOT)
2009-09-17 00:03:12,717 DEBUG Configuration: Providers codes: sat,cab
2009-09-17 00:03:12,717 DEBUG Configuration: Language: he_IL
2009-09-17 00:03:12,717 DEBUG Configuration: TV provider: sat
2009-09-17 00:03:12,842 DEBUG Configuration: EPG format: mce
2009-09-17 00:03:12,858 DEBUG Configuration: Output encoding: utf-8
2009-09-17 00:03:12,858 DEBUG Configuration: Cache path: C:\WINDOWS\ehome\MegaEPG\cache\
2009-09-17 00:03:12,858 DEBUG Configuration: Html path: C:\WINDOWS\ehome\MegaEPG\html\
2009-09-17 00:03:12,858 DEBUG Configuration: XML path: C:\WINDOWS\ehome\MegaEPG\xml\
2009-09-17 00:03:12,858 DEBUG Configuration: XML file: epgdata.xml
2009-09-17 00:03:12,858 DEBUG Configuration: Delay between downloads: 1
2009-09-17 00:03:12,858 DEBUG Configuration: Sockerr delay: 30
2009-09-17 00:03:12,858 DEBUG Configuration: Sockerr retries: 1
2009-09-17 00:03:12,858 DEBUG Configuration: Force flip: 0
2009-09-17 00:03:12,858 DEBUG Configuration: Debug search: 0
2009-09-17 00:03:12,858 DEBUG Configuration: Use cache: 2
2009-09-17 00:03:12,858 DEBUG Configuration: Clean older days: 3
2009-09-17 00:03:12,858 DEBUG Configuration: Produce channel icons: 0
2009-09-17 00:03:12,858 DEBUG Configuration: URL agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
2009-09-17 00:03:12,858 DEBUG Configuration: Evening prime-time starts at: 19:00-26:00
2009-09-17 00:03:12,858 DEBUG Configuration: Evening prime-time range: 1140:1560
2009-09-17 00:03:12,858 DEBUG Configuration: Weekends are:
2009-09-17 00:03:12,858 DEBUG Configuration: Holidays list file: C:\WINDOWS\ehome\MegaEPG\holidays.dat
2009-09-17 00:03:12,858 DEBUG Configuration: Channel icons path:
2009-09-17 00:03:12,858 DEBUG Configuration: Timezone obtained from the system: +0300
2009-09-17 00:03:12,858 DEBUG Configuration: keepHTML: 0
2009-09-17 00:03:12,858 DEBUG Configuration: keepMCE: 0
2009-09-17 00:03:12,858 DEBUG Configuration: chan id type: name
2009-09-17 00:03:12,858 DEBUG Configuration: Original name: subtitle
2009-09-17 00:03:12,858 DEBUG Configuration: Episode name: episode
2009-09-17 00:03:12,858 DEBUG Configuration: automceupdate: 1
2009-09-17 00:03:12,858 DEBUG Configuration: aggressiveseries: 0
2009-09-17 00:03:12,858 DEBUG Configuration: mepgvista port: 19679
2009-09-17 00:03:12,858 INFO megaepg version 1.3.3
2009-09-17 00:03:12,858 DEBUG Cleanup procedure for C:\WINDOWS\ehome\MegaEPG\cache\
2009-09-17 00:03:12,858 DEBUG Cleanup procedure for C:\WINDOWS\ehome\MegaEPG\html\
2009-09-17 00:03:12,858 DEBUG Cleanup procedure for C:\WINDOWS\ehome\MegaEPG\logs\
2009-09-17 00:03:12,858 DEBUG Cleaning up older file: C:\WINDOWS\ehome\MegaEPG\logs\070909190000-log.log
2009-09-17 00:03:12,858 DEBUG Start grabbing 32 channels

2009-09-17 00:03:12,858 INFO Script vista_he is processing day 2009-09-17 channel bbcprime
2009-09-17 00:03:12,858 DEBUG http connection to host: data.tvdownload.microsoft.com, port: 443
2009-09-17 00:03:12,858 DEBUG Script debug: Connecting to data.tvdownload.microsoft.com
2009-09-17 00:03:12,875 DEBUG Script debug: Requesting: /discovery/discoveryservice.asmx/GetTVServicesMetaInfo
2009-09-17 00:03:12,875 DEBUG host data.tvdownload.microsoft.com, http request 'GET' with address '/discovery/discoveryservice.asmx/GetTVServicesMetaInfo' and params 'protocolVersion=1.0&clientAuthToken=36D17C65FDC35E3FF5E82132739F73EEE08CCF622AA6F13A0354EA6AAB5548B42372FD36FC91C42C7B07F42616EED5048394E146D185A1FD3C71ACEBB3D8977DEF47428EF6A02747FDC597D4938A9F197F19E1B91AB0DD595DAAA53F93E0A095460625843364B7C70513B18D7AF49090F9A50FE354633E1699339EE4A7F2C873&clientId=453c44d320f94214a3dc83689bb0fd91&countryCode=il&languageId=HE&clientType=ehome&version=6.0'
2009-09-17 00:03:14,000 DEBUG http connection to host: data.tvdownload.microsoft.com, port: 80
2009-09-17 00:03:14,000 DEBUG Script debug: Connecting to data.tvdownload.microsoft.com
2009-09-17 00:03:14,000 DEBUG Script debug: Requesting: /epg/EPGService.asmx/GetHeadendList
2009-09-17 00:03:14,000 DEBUG host data.tvdownload.microsoft.com, http request 'GET' with address '/epg/EPGService.asmx/GetHeadendList' and params 'clientId=453c44d320f94214a3dc83689bb0fd91&countryCode=il&languageId=HE&geographicId=00000&sessionToken=BA1AF3E2D6CB214093DFDFA33BE67B4D4BC298DE807382AD1E1FAE5E6B9BB3C1A144E5DBDC178ABA2A88C6117E962128202E7E7B83BBBEC1&clientType=ehome&version=6.0'
2009-09-17 00:03:14,375 DEBUG http connection to host: data.tvdownload.microsoft.com, port: 443
2009-09-17 00:03:14,375 DEBUG Script debug: Connecting to data.tvdownload.microsoft.com
2009-09-17 00:03:14,375 DEBUG Script debug: Requesting: /epg/SEPGService.asmx/GetEPGDataMetaInfo
2009-09-17 00:03:14,375 DEBUG host data.tvdownload.microsoft.com, http request 'GET' with address '/epg/SEPGService.asmx/GetEPGDataMetaInfo' and params 'clientId=453c44d320f94214a3dc83689bb0fd91&countryCode=il&languageId=HE&epgSupplierId=29&headendId=1&currentVersion=0&sessionToken=BA1AF3E2D6CB214093DFDFA33BE67B4D4BC298DE807382AD1E1FAE5E6B9BB3C1A144E5DBDC178ABA2A88C6117E962128202E7E7B83BBBEC1&epgDataSchemaVersion=1.1&clientType=ehome&version=6.0'
2009-09-17 00:03:15,217 DEBUG Script debug: New EPG version found in metadata: 2721851940
2009-09-17 00:03:15,217 DEBUG Script debug: Requesting: /epg/SEPGService.asmx/GetEPGDataMetaInfo
2009-09-17 00:03:15,217 DEBUG host data.tvdownload.microsoft.com, http request 'GET' with address '/epg/SEPGService.asmx/GetEPGDataMetaInfo' and params 'clientId=453c44d320f94214a3dc83689bb0fd91&countryCode=il&languageId=HE&epgSupplierId=29&headendId=1&currentVersion=2721851940&sessionToken=BA1AF3E2D6CB214093DFDFA33BE67B4D4BC298DE807382AD1E1FAE5E6B9BB3C1A144E5DBDC178ABA2A88C6117E962128202E7E7B83BBBEC1&epgDataSchemaVersion=1.1&clientType=ehome&version=6.0'
2009-09-17 00:03:16,078 DEBUG Script debug: No New Data returned
2009-09-17 00:03:16,078 DEBUG http connection to host: pes.tvdownload.microsoft.com, port: 80
2009-09-17 00:03:16,078 DEBUG Script debug: Connecting to pes.tvdownload.microsoft.com
2009-09-17 00:03:16,078 DEBUG Script debug: Requesting: /epgdata/il/29/2721851940/00/00/00/1/1_ListingData.txt
2009-09-17 00:03:16,078 DEBUG host pes.tvdownload.microsoft.com, http request 'GET' with address '/epgdata/il/29/2721851940/00/00/00/1/1_ListingData.txt' and params 'clientId=453c44d320f94214a3dc83689bb0fd91&sessionToken=BA1AF3E2D6CB214093DFDFA33BE67B4D4BC298DE807382AD1E1FAE5E6B9BB3C1A144E5DBDC178ABA2A88C6117E962128202E7E7B83BBBEC1'
2009-09-17 00:03:26,125 DEBUG run_application() executes command line: ['C:\\WINDOWS\\system32\\expand.exe', 'C:\\WINDOWS\\ehome\\MegaEPG\\html\\epgdata.cab', 'C:\\WINDOWS\\ehome\\MegaEPG\\html\\epgdata.xml']
2009-09-17 00:03:29,608 INFO 2009-09-17: 622 shows have been processed for bbcprime
2009-09-17 00:03:29,765 INFO Script vista_he is processing day 2009-09-17 channel discovery
2009-09-17 00:03:29,858 INFO 2009-09-17: 497 shows have been processed for discovery

****************...SKIPPING SOME CHANNELS DOWNLOAD....**************

2009-09-17 00:03:48,983 INFO 2009-09-17: 839 shows have been processed for nickelodeon
2009-09-17 00:03:49,233 INFO Script vista_he is processing day 2009-09-17 channel sport5+
2009-09-17 00:03:49,233 INFO 2009-09-17: 30 shows have been processed for sport5+
2009-09-17 00:03:49,233 INFO Script vista_he is processing day 2009-09-17 channel sport5
2009-09-17 00:03:49,233 INFO 2009-09-17: 25 shows have been processed for sport5
2009-09-17 00:03:49,250 INFO Script vista_he is processing day 2009-09-17 channel isr1
2009-09-17 00:03:49,250 INFO 2009-09-17: 66 shows have been processed for isr1
2009-09-17 00:03:49,250 INFO Script vista_he is processing day 2009-09-17 channel isr10
2009-09-17 00:03:49,280 INFO 2009-09-17: 216 shows have been processed for isr10
2009-09-17 00:03:49,296 INFO Script vista_he is processing day 2009-09-17 channel isr2
2009-09-17 00:03:49,328 INFO 2009-09-17: 231 shows have been processed for isr2
2009-09-17 00:03:49,358 DEBUG Windows MCE ident key:4.0
2009-09-17 00:03:52,171 INFO Updating the system EPG database
2009-09-17 00:03:52,171 DEBUG Windows MCE ident key:4.0
2009-09-17 00:03:52,171 INFO Updating MCE EPG database
2009-09-17 00:03:52,171 DEBUG run_application() executes command line: C:\WINDOWS\ehome\MegaEPG\updepgmce.exe

 

Huh.. How'd we get the type

Huh.. How'd we get the type of the exception? Does the system Event Viewer shows you what kinda exception has happened?

I will check in the

I will check in the evening... If you have any more ideas what to check, please let me know.

Also, if you have some kind of a debug version upepgmce.exe which include some debug prints then let me know, I can use it and see if there is more info.

Hi, I did look at the Event

Hi,

I did look at the Event Viewer as you suggested (I cleared it before I execute Megaepg.exe to make sure I see only relevant events). After the program finished (failed) there was only one new event line added under "System", I clicked on Event details and also enter into Microsoft pages.

Here are 3 pictures whichs shows system details of the error:

http://img182.imageshack.us/img182/9489/eventerr1l.jpg

http://img67.imageshack.us/img67/6121/eventerr2.jpg

http://img441.imageshack.us/img441/8729/eventerr3.jpg

It says Event ID=26, from Microsoft web pages, there might be some problem with privilages or similar. But, I'm the only user in the system so I'm the administrator so I don't see a reason for that.

Any updates regarding this?

Hi Igor,

Any updates regarding this issue? Do you need any more info?

Thanks

I'm really sorry for the long

I'm really sorry for the long delay, I was abroad.

Did you try C:\Windows\Microsoft.NET\Framework\v2.....\caspol -s off

I know that .NET 3.x doesn't have caspol but you still should have it in the .NET v2.x framework.

Yes, I did try it, and

Yes, I did try it, and unfurtunately it didn't help Yell

Any suggestions? do you need some more debug info?

I can't reproduce the problem

I can't reproduce the problem :(  More information about the exception is required and I wonder why it doesn't print where in the code the exception occurs. Do you have .NET v.2 installed also?

Yes, I have it installed

I will recheck in the evening but I'm sure it is installed (I think it is part of the XP SP3)