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
MediaPortal 1 Plugins
MPTouch - Mediaportal TouchScreen Plugin
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="jblomb" data-source="post: 640827" data-attributes="member: 51023"><p>Dunno if you have some kind of locale-specific code regarding this, but when I set it to dot (.) it throws the exception:</p><p>[CODE]2010-07-25 11:32:31.187500 [ERROR][MPMain(1)]: MPTouchV2: Load Settings (Error Code: System.FormatException: Indatasträngen hade ett felaktigt format.</p><p> vid System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)</p><p> vid System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)</p><p> vid System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)</p><p> vid System.Convert.ToDouble(String value)[/CODE]</p><p>(The string has the wrong format.)</p><p></p><p>In my locale we are using comma (,) as the decimal separator instead of a dot (.) i.e 3,1415927</p><p>When I change to comma instead of a dot in the config file it doesn't throw an error anymore.</p><p></p><p>However, I can't make it work (yet). It throws the error: </p><p>[CODE]2010-07-25 11:32:31.187500 [ERROR][MPMain(1)]: MPTouchV2: MPTouch Start (Error Code: System.Reflection.TargetInvocationException: Ett undantagsfel har uppstått i målet för en aktivering. ---> System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.</p><p> vid MPTouchV2.MainScreen..ctor()</p><p> --- Slut på stackspårning för interna undantag ---</p><p> vid System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)</p><p> vid System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)</p><p> vid System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)</p><p> vid System.Activator.CreateInstance(Type type, Boolean nonPublic)</p><p> vid MPTouchV2.DynaInvoke.GetClassReference(String AssemblyName, String ClassName)</p><p> vid MPTouchV2.MPTouchV2Plugin.form_Shown(Object sender, EventArgs e), Ett undantagsfel har uppstått i målet för en aktivering.)[/CODE]</p><p></p><p>..still investigating <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="jblomb, post: 640827, member: 51023"] Dunno if you have some kind of locale-specific code regarding this, but when I set it to dot (.) it throws the exception: [CODE]2010-07-25 11:32:31.187500 [ERROR][MPMain(1)]: MPTouchV2: Load Settings (Error Code: System.FormatException: Indatasträngen hade ett felaktigt format. vid System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) vid System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt) vid System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info) vid System.Convert.ToDouble(String value)[/CODE] (The string has the wrong format.) In my locale we are using comma (,) as the decimal separator instead of a dot (.) i.e 3,1415927 When I change to comma instead of a dot in the config file it doesn't throw an error anymore. However, I can't make it work (yet). It throws the error: [CODE]2010-07-25 11:32:31.187500 [ERROR][MPMain(1)]: MPTouchV2: MPTouch Start (Error Code: System.Reflection.TargetInvocationException: Ett undantagsfel har uppstått i målet för en aktivering. ---> System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt. vid MPTouchV2.MainScreen..ctor() --- Slut på stackspårning för interna undantag --- vid System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) vid System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) vid System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) vid System.Activator.CreateInstance(Type type, Boolean nonPublic) vid MPTouchV2.DynaInvoke.GetClassReference(String AssemblyName, String ClassName) vid MPTouchV2.MPTouchV2Plugin.form_Shown(Object sender, EventArgs e), Ett undantagsfel har uppstått i målet för en aktivering.)[/CODE] ..still investigating :-) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
MPTouch - Mediaportal TouchScreen Plugin
Contact us
RSS
Top
Bottom