MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » Quality Assurance (Bugreports) » Archive » Bug Reports » 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 2007-11-21, 22:25   #1 (permalink)
Portal Member
 
Join Date: Dec 2005
Location: Linköping, Sweden
Posts: 126
Thanks: 3
Thanked 0 Times in 0 Posts

Country:

My System

not a bug Fails to start MP or Test tool

TV-Server Version:
MediaPortal Version: MP 0.2.3.0
MediaPortal Skin:
Windows Version: MCE
CPU Type: Athlon64 3700+
HDD: Samsung SP2504C 250Gb
Memory: 1024 mb DDR PC3200
Motherboard: Gigabyte GA-K8NF-9
Motherboard Chipset: NVIDIA nForce4 (4X)
Motherboard Bios: Ver: F11
Video Card: Sapphire Radeon X1300
Video Card Driver: Omega Drivers 3.8.273
Sound Card: Built-in
Sound Card AC3:
Sound Card Driver: Realtek
2. TV Card: TERRATEC Cinergy 2400i DT
2. TV Card Type: DVB-T
2. TV Card Driver: 1.0.3.255
3. TV Card: FireDTV
3. TV Card Type: DVB-T
3. TV Card Driver: 4.7
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: MPV
MPEG2 Audio Codec: MPA
Satelite/CableTV Provider:
HTPC Case: Accent HT-200 (Black)
Cooling: Golden Orb II
Power Supply: NQ4775-500S Ultra Silent
Remote: MCE
TV: SAMSUNG LE32R41
TV - HTPC Connection: Sub-D

I have encountered a very wierd problem. I installed MP 0.2.3.0 a few days ago and everything worked nice until this morning when MP refused to start. I get no logs in MP Log dir what so ever and when I try to start MP Test Tool i get the error below. Now when I was writing this I realised that perhaps Mediaportal.xml got trashed somehow, and I found a 0 byte large Mediaportal.xml and a MediaPortal.xml.bak size 63 Kb. So I simple replaced the MediaPortal.xml with the .bak version and everything works again. So in conclusion the error handling should be improved a bit, perhaps a show a window with some information...

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo( String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent( )
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at MediaPortal.Profile.XmlSettingsProvider..ctor(Stri ng xmlFileName)
at MediaPortal.Profile.Settings..ctor(String fileName, Boolean isCached)
at MPTestTool.MPTestTool.LaunchMediaPortalAction()
at MPTestTool.MPTestTool.tmrUnAttended_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndPr oc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MPTestTool2
Assembly Version: 0.2.3.0
Win32 Version: 0.2.2.9993
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/MPTestTool2.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Utils
Assembly Version: 2.2.2.0
Win32 Version: 0.2.2.9993
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Utils.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
J-B-N is online now   Reply With Quote
Old 2007-11-22, 14:38   #2 (permalink)
 
infinityloop's Avatar
 
Join Date: Dec 2004
Location: 127.0.0.1
Age: 29
Posts: 6,406
Thanks: 183
Thanked 146 Times in 101 Posts

Country:

My System

Default

i will see if we can do something about the detection of the broken MediaPortal.xml.

http://mantis.team-mediaportal.com/view.php?id=1161
__________________
regards
chris

MediaPortal Project Coordinator
Test Team Leader

Do not start to moan if something is not working as you want it to be.
Remember that MediaPortal is Open Source.
YOU can improve it!
infinityloop is online now   Reply With Quote
Old 2007-11-22, 19:27   #3 (permalink)
Portal Member
 
Join Date: Dec 2005
Location: Linköping, Sweden
Posts: 126
Thanks: 3
Thanked 0 Times in 0 Posts

Country:

My System

Default

Thanks! It sure would have helped me if the app had catched the error and produced some sort of message to fix Mediaportal.xml or to zap the entire installation (incl all dirs) or something else. Anyhow I hope this thread can help if someone experience the same problem.
J-B-N is online now   Reply With Quote
Reply

Bookmarks

Tags
mediacenters, test, tool

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
MP fails to start with latest SVN chenks fixed 0.2.3.0 RC1 bugs 5 2007-08-20 23:41
Power Scheduler Client Plugin Fails to Start on newest SVNs htpcoz Get Support 3 2007-08-19 04:35
MediaPortal Fails to Start right after installing it... ravishi General Support 0 2007-04-03 19:38
Command Line tool to run on start/standby/resume/shutdown etc... dipunm Improvement Suggestions 9 2006-08-22 07:59
TV Fails to Start, DirectShowLib Error, Hauppauge 150 gdirwin General Support 2 2006-04-13 17:08


All times are GMT +1. The time now is 13:10.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden