home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
First build of 1.2 succeeds, but crashes when it runs the initial config app.
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="gfmoore" data-source="post: 749865" data-attributes="member: 113222"><p>EDIT: Solved</p><p></p><p>Sorry about this, but I can't get the Media Portal config to run.</p><p></p><p>I am using VStudio 2010 </p><p></p><p>This is part of the wiki entry that I am following:</p><p></p><p>It builds correctly, runs the splash screen and the popup for Standard mode or expert mode - I leave it at Standard Mode and press the continue button.</p><p></p><p>I get a popup saying MediaPortal Configuration has stopped working.</p><p>These are the details:</p><p>Description:</p><p> Stopped working</p><p></p><p>Problem signature:</p><p> Problem Event Name: CLR20r3</p><p> Problem Signature 01: configuration.exe</p><p> Problem Signature 02: 1.1.7.0</p><p> Problem Signature 03: 4ddbc937</p><p> Problem Signature 04: Utils</p><p> Problem Signature 05: 1.1.7.0</p><p> Problem Signature 06: 4ddbc90b</p><p> Problem Signature 07: 196</p><p> Problem Signature 08: 9a</p><p> Problem Signature 09: System.ArgumentException</p><p> OS Version: 6.1.7601.2.1.0.256.48</p><p> Locale ID: 2057</p><p></p><p> I select the debug the program option. The Visual Studio just in time debugger shows </p><p> An unhandled exception('System Argument exception') occured in configuration.exe [176]</p><p> </p><p> I select the first entry in the list of possible debuggers - Media Portal ...</p><p> </p><p> It jumps to LocalisationProvider.cs and line 83 and shows that the ArgumentException that was unhandled was "no available language found".</p><p> </p><p> The code segment before this was </p><p> </p><p> </p><p>My version of VS is Microsoft Visual Studio 2010</p><p>Version 10.0.30319.1 RTMRel</p><p></p><p>I am pretty certain I have downloaded and installed all the pre-requisites:</p><p></p><p>I am using Tortoise</p><p>I have downloaded the entire trunk!!</p><p>My folder is C:\svnroot\mediaportal\trunk\...</p><p>I've installed .net2.0</p><p>I've installed the latest DirectX SDK</p><p>I've put the YASM.exe in the ..\VC\bin folder</p><p>[incidentally the readme for YASM says:</p><p> place the three files vsyasm.xml, vsyasm.props and vsyasm.targets</p><p> in the directory alongside the other files with which VSYASM will</p><p> be used.</p><p> I have no idea where these should go, is it imortant at this stage?]</p><p> I've installed the Nunit framework - just in case</p><p> I've checked that the build config for the solution is set to debug (32 bit)</p><p> I've downloaded and installed the Windows 7 sdk and .net 3.5 sp1 (not that I am using the build scripts)</p><p> I've installed NSIS (again probably not relevant)</p><p> I'm following the instructions on the debugging wiki page as noted above.</p><p> </p><p> I'm a bit stuck <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p> </p><p> btw what net framework version is this to be compiled against? 3.5? The reason i ask is that</p><p> I tried to set MediaPortal.configuration as the startup and build/debug that and I got a</p><p> Cross-thread operation not valid: Control 'DlgConfigModeHint' accessed from a thread other than the thread it was created on.</p><p> Which I seem to recall from some work I did years ago is due to one thread trying to access (oftentimes) a textfield etc in another form which isn't allowed anymore, but once was. However, this may be confusing the issue.</p><p></p><p>Added:</p><p>Following a suggestion in another post: <a href="https://forum.team-mediaportal.com/general-development-no-feature-request-here-48/mediaportal-first-compile-run-problem-91888/" target="_blank">https://forum.team-mediaportal.com/general-development-no-feature-request-here-48/mediaportal-first-compile-run-problem-91888/</a> </p><p>I did a build with MSBuild and tried the installer and that works. Strange.</p><p></p><p>Added:</p><p>The post after this <a href="https://forum.team-mediaportal.com/general-development-no-feature-request-here-48/mediaportal-first-compile-run-problem-91888/#post702947" target="_blank">https://forum.team-mediaportal.com/general-development-no-feature-request-here-48/mediaportal-first-compile-run-problem-91888/#post702947</a></p><p>solved the problem.</p><p></p><p>The MediaPortalDirs.xml file (in the C:\svnroot\mediaportal\trunk\mediaportal\MediaPortal.Application\bin\Debug folder) is pointing to the C:\ProgramData\Team MediaPortal\MediaPortal folders (including language) which aren't there because I did a full clean uninstall. </p><p></p><p>Could this step be added to the wiki please.</p><p></p><p><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="gfmoore, post: 749865, member: 113222"] EDIT: Solved Sorry about this, but I can't get the Media Portal config to run. I am using VStudio 2010 This is part of the wiki entry that I am following: It builds correctly, runs the splash screen and the popup for Standard mode or expert mode - I leave it at Standard Mode and press the continue button. I get a popup saying MediaPortal Configuration has stopped working. These are the details: Description: Stopped working Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: configuration.exe Problem Signature 02: 1.1.7.0 Problem Signature 03: 4ddbc937 Problem Signature 04: Utils Problem Signature 05: 1.1.7.0 Problem Signature 06: 4ddbc90b Problem Signature 07: 196 Problem Signature 08: 9a Problem Signature 09: System.ArgumentException OS Version: 6.1.7601.2.1.0.256.48 Locale ID: 2057 I select the debug the program option. The Visual Studio just in time debugger shows An unhandled exception('System Argument exception') occured in configuration.exe [176] I select the first entry in the list of possible debuggers - Media Portal ... It jumps to LocalisationProvider.cs and line 83 and shows that the ArgumentException that was unhandled was "no available language found". The code segment before this was My version of VS is Microsoft Visual Studio 2010 Version 10.0.30319.1 RTMRel I am pretty certain I have downloaded and installed all the pre-requisites: I am using Tortoise I have downloaded the entire trunk!! My folder is C:\svnroot\mediaportal\trunk\... I've installed .net2.0 I've installed the latest DirectX SDK I've put the YASM.exe in the ..\VC\bin folder [incidentally the readme for YASM says: place the three files vsyasm.xml, vsyasm.props and vsyasm.targets in the directory alongside the other files with which VSYASM will be used. I have no idea where these should go, is it imortant at this stage?] I've installed the Nunit framework - just in case I've checked that the build config for the solution is set to debug (32 bit) I've downloaded and installed the Windows 7 sdk and .net 3.5 sp1 (not that I am using the build scripts) I've installed NSIS (again probably not relevant) I'm following the instructions on the debugging wiki page as noted above. I'm a bit stuck :( btw what net framework version is this to be compiled against? 3.5? The reason i ask is that I tried to set MediaPortal.configuration as the startup and build/debug that and I got a Cross-thread operation not valid: Control 'DlgConfigModeHint' accessed from a thread other than the thread it was created on. Which I seem to recall from some work I did years ago is due to one thread trying to access (oftentimes) a textfield etc in another form which isn't allowed anymore, but once was. However, this may be confusing the issue. Added: Following a suggestion in another post: [url]https://forum.team-mediaportal.com/general-development-no-feature-request-here-48/mediaportal-first-compile-run-problem-91888/[/url] I did a build with MSBuild and tried the installer and that works. Strange. Added: The post after this [url]https://forum.team-mediaportal.com/general-development-no-feature-request-here-48/mediaportal-first-compile-run-problem-91888/#post702947[/url] solved the problem. The MediaPortalDirs.xml file (in the C:\svnroot\mediaportal\trunk\mediaportal\MediaPortal.Application\bin\Debug folder) is pointing to the C:\ProgramData\Team MediaPortal\MediaPortal folders (including language) which aren't there because I did a full clean uninstall. Could this step be added to the wiki please. :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
First build of 1.2 succeeds, but crashes when it runs the initial config app.
Contact us
RSS
Top
Bottom