MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » Quality Assurance (Bugreports) » Bugreports » 0.2.3.0 final and SVN Builds


0.2.3.0 final and SVN Builds Post bugs you have found in 0.2.3.0 final or any SVN-Snapshot here.

Reply
 
Thread Tools Display Modes
Old 2008-02-20, 21:11   #1 (permalink)
Portal Member
 
Join Date: Dec 2007
Posts: 67
Thanks: 10
Thanked 0 Times in 0 Posts

Country:


Default Windows Script Host error with standby

TV-Server Version: tvengine3-02-18-2008--14-51h--Rev17406
MediaPortal Version: MediaPortal-svn--02-18-2008--14-47-Rev17406.exe
MediaPortal Skin: Xface
Windows Version: XP Pro 2002 SP2
CPU Type: AMD X2 BE-2300
HDD: Samsung SATA 500 GB
Memory: 2 GB DDR2
Motherboard: Asus M2N-VM DH
Motherboard Chipset: nForce 430
Motherboard Bios: Award v1302
Video Card: ASUS EAH2400
Video Card Driver: 8.451.0.0
Sound Card: SoundMAX integrated
Sound Card AC3: coaxial out
Sound Card Driver: 5.10.1.6110
1. TV Card: Cinergy 1200 DVB-C
1. TV Card Type: DVB-C
1. TV Card Driver: 4.8.3.18
2. TV Card: Cinergy 1200 DVB-C
2. TV Card Type: DVB-C
2. TV Card Driver: 4.8.3.18
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
Satelite/CableTV Provider:
HTPC Case: Antec Fusion V2
Cooling:
Power Supply: Antec 430W
Remote: MCE
TV:
TV - HTPC Connection: Sub-D

Every now and then when I wake my PC from standby a Windows Script Host error window is displayed with the following information:

Script: c:\program files\team mediaportal\mediaportal\restart.vbs
line: 6
char: 2
error: not found
code: 80041002
source: SWbemObjectEx

I have enabled the option to restart MP after standby, and this is displayed almost immediately when Windows has resumed. However this does not prevent MP from restarting.
Attached Thumbnails
windows-script-host-error-standby-dialog.jpg  
Attached Files
File Type: zip MediaPortalLogs.zip (152.4 KB, 3 views)
putkonen is offline   Reply With Quote
Old 2008-05-29, 22:06   #2 (permalink)
Portal Member
 
josch.hh's Avatar
 
Join Date: Mar 2008
Location: Hamburg
Posts: 126
Thanks: 1
Thanked 16 Times in 4 Posts

Country:

My System

Default

Got an idea.

Try to edit the restart.vbs file to ignore errors like that (just insert the red line):


=========================================
Option Explicit
Dim process
Dim shell

on error resume next

For Each process in GetObject("winmgmts:").ExecQuery("select * from Win32_Process where name='MediaPortal.exe'")
process.Terminate(0)
Next

WScript.Sleep 1750

set shell=createobject("WScript.Shell")
shell.Run "mediaportal"

================================================

Last edited by josch.hh; 2008-05-29 at 22:58. Reason: Automerged Doublepost
josch.hh is offline   Reply With Quote
Old 2008-07-16, 00:38   #3 (permalink)
Portal Member
 
Join Date: Jun 2008
Location: Brisbane
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Default

Hi putkonen.

I get exactly the same error (got one about 3 minutes ago when I pressed the power button on the unit to resume/bring it out of S3 Standby). I'm still only running RC1 with no SVN's. Intermittent problem for me. I haven't worked out why yet. I'm wondering if its a problem with having the option in MP Config ticked to restart MP each time AND having the same setting in MST. Might be a conflict. Haven't had a chance to look at it more closely, as each time I want to I cant make the fault happen.

...I don't want to go an change the .VBS file away from the MP standard. That just opens another world of pain when it comes to upgrades/updates.

I'm pretty much waiting on RC2 to come out. Then I'll see if it still occurs. (I have a list of issues I am just putting up with at the moment that I will test under RC2. I'll report all, including this one, if they still exist).

Regards, P
peter448 is offline   Reply With Quote
Old 2008-07-16, 09:49   #4 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 2,945
Thanks: 74
Thanked 82 Times in 67 Posts


Default

I see that error approx on once a month and my HTPC is resuming from S3 multiple times a day.

peter448, could you please test the proposed fix? If its helping on your system I'm sure it will cure the issue I'm seeing (unfortunately I cannot test it as its occurs so rarely on my system). If it helps on your system I'll update the script in SVN (right after RC2 has been released).
__________________
http://day2.no-ip.org/

"Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen"
tourettes is offline   Reply With Quote
Old 2008-07-16, 09:52   #5 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 2,945
Thanks: 74
Thanked 82 Times in 67 Posts


Default

0001459: Windows Script Host error when resuming from standby - MediaPortal Bugtracker
__________________
http://day2.no-ip.org/

"Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen"
tourettes is offline   Reply With Quote
Old 2008-07-17, 00:01   #6 (permalink)
Portal Member
 
Join Date: Jun 2008
Location: Brisbane
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Question

Hi tourettes.

I'm happy to try out a fix. Exactly what fix are you talking about? Are you referring to josch.hh proposed fix or something else?

If josch.hh fix, I can do this, although is it a good idea to simply ignore this error message as josch.hh seems to indicate this change will do?

The fault happens on my HTPC normally daily, and often more than once a day.

Regards, P
peter448 is offline   Reply With Quote
Old 2008-07-17, 10:04   #7 (permalink)
Portal Member
 
josch.hh's Avatar
 
Join Date: Mar 2008
Location: Hamburg
Posts: 126
Thanks: 1
Thanked 16 Times in 4 Posts

Country:

My System

Default

My proposal to fix this error is just a workaround. The script will simply ignore the errors and don't show them.
Since i edited my restart script the error message is of course gone, but the other side is that the restart script does not work quit well at all. I realized that 50% of the time MP is simply not restarted. I wrote my own App in C# based on the "PowerEventHanlder" from "lkuech". This one works good, it also restarts the TVservice.
If someone is interested i can post it here.
josch.hh is offline   Reply With Quote
Reply

Bookmarks

Tags
host, script, standby, windows

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Prevent Windows From Sleeping/Standby lilaundgelb Newcomers Forum 4 2008-02-01 06:47
Hilfe: Windows geht nicht in Standby Tomchieur Media Portal - Support 16 2007-10-14 13:16
standby windows tanguy OffTopic 4 2007-01-02 20:55
Windows freeze on hardware standby rgies General Support 0 2006-09-18 17:01
Windows Media Center Error stuartr Installation, configuration support 1 2006-05-24 13:32


All times are GMT +1. The time now is 06:04.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress