MediaPotal DebugMode crashes on startup (1 Viewer)

Mex

Portal Member
August 7, 2007
10
0
38
TV-Server Version:V3
MediaPortal Version: V0.2.3.0 RC2
MediaPortal Skin: Blue2
Windows Version: Vista Buisness
CPU Type: AMD X2
HDD: SATA 400gig Raid9
Memory: 3gig DDR2
Motherboard: Asus M2N-SLI Delux
Video Card: ATI 1600XT
Sound Card: Onboard SoundMax
1. TV Card: Nova-DT
1. TV Card Type: DVB-T
MPEG2 Video Codec: ATI MPEG Mutiplexer
MPEG2 Audio Codec: AC3Filter
Power Supply:
Remote: Hauppauge


MediaPortal DebugMode crashes with following error:
Code:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\Program Files\Team MediaPortal\MediaPortal\log'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
   at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
   at System.IO.Directory.GetFiles(String path)
   at MPTestTool.PreTestActions.ClearDir(String strDir)
   at MPTestTool.PreTestActions.ClearMPLogDir()
   at MPTestTool.PreTestActions.PerformActions()
   at MPTestTool.MPTestTool.PerformPreTestActions()
   at MPTestTool.MPTestTool.tmrUnAttended_Tick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(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.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MPTestTool2
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/MPTestTool2.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
    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.312 (rtmLHS.050727-3100)
    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.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.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.

Fixed problem by creating folder E:\Program Files\Team MediaPortal\MediaPortal\log
 

Mex

Portal Member
August 7, 2007
10
0
38
TV-Server Version: V3
MediaPortal Version: 0.2.3.0 RC2
MediaPortal Skin: Blue2
Windows Version: Vista Buisness
CPU Type: AMD X2 2400
HDD: Seagate 2x200G RAID0
Memory: 3G DDR2
Motherboard: ASUS M2N-SLI DELUXE
Motherboard Chipset: NVIDIA nForce 570 SLI
Motherboard Bios: Phoenix Technologies, LTD - ASUS M2N-SLI DELUXE ACPI BIOS Revision 0903
Video Card: ATI 1600XT
Video Card Driver:
Sound Card:
Sound Card AC3:
Sound Card Driver:
1. TV Card: Hauppauge nova-TD 500
1. TV Card Type: DVB-T
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
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: ATI MPEG Multiplexor
MPEG2 Audio Codec: AC3
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote: Haupauge
TV:
TV - HTPC Connection:

I had run MP a couple of times without debug mode, but restarted and tried to use debug mode to get a log dump of a crash I was getting (which i can't now reproduce). I ran Media portal Debug mode to start MP. As noted above I solved the problem by creating the folder E:\Program Files\Team MediaPortal\MediaPortal\log
 

ronilse

Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    Yeah seems to be a hardcoded path which will crash on vista computers where log files are found in Users folder.

    Regards
    Roy
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    gemx, can you set the build to x86, it crashes on x64 systems?

    Regards
    Roy
     

    gemx

    Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    Done ;)
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    Yup works now(private build), but for some reason it doesn't make in the SVN build....

    Regards
    Roy
     

    Users who are viewing this thread

    Top Bottom