Pool Swimming

by old_man_biking

Downloads: 1,382 (11) • Reviews: 8

Version:

3.0.5913

Updated:

Mar 10, 2016

Error changing colour of custom swim stroke types

Error changing colour of custom swim stroke types

Postby DavidSturt » Wed Feb 18, 2015 12:51 am

When I try and change the colour of custom swim stroke types I get the following exception. Apart from that the plugin appears to behave as expected. I am using SportTracks in 64bit Windows 8.1.

Dave

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

************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number,

NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at

OldManBiking.PoolSwimmingPlugin.UI.Settings.PoolSwimmingPluginSettingsPageControl.GetCustomCo

lors()
at

OldManBiking.PoolSwimmingPlugin.UI.Settings.PoolSwimmingPluginSettingsPageControl.CustomSwimS

trokeTypesColorSelector_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.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.8009 (FX35W81RTMGDR.050727-8000)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
SportTracks
Assembly Version: 3.1.5349.36541
Win32 Version: 3.1.5349.36541
CodeBase: file:///C:/Program%20Files%20(x86)/Zone%20Five%20Software/SportTracks

%203/SportTracks.exe
----------------------------------------
Common.Visuals
Assembly Version: 3.1.5349.36428
Win32 Version: 3.1.5349.36428
DavidSturt
Donated!
Donated!
 
Posts: 7
Joined: Sat Mar 27, 2010 4:59 am

Re: Error changing colour of custom swim stroke types

Postby old_man_biking » Wed Feb 18, 2015 6:08 am

Congrats, you found a bug :oops:
Workaround:
* close SportTracks
* go to "C:\Users\Juergen\AppData\Local\ZoneFiveSoftware\SportTracks\3"
* make backup copy of ST's settings file "Preferences.System.xml" - just in case you'll wreck it in the next steps
* open "Preferences.System.xml" in a text editor
* search for a text CustomColors="" , i.e. an empty string of two consecutive apostrophes
* replace by CustomColors="6462428" - don't forget the apostrophes
* save file and reopen ST
* notice error message upon start, close ST, copy back your backup file and retry the patch without the typo in your 1st attempt :)

Will be fixed in next plugin version.
Cheers,
OMB
old_man_biking
Donated!
Donated!
 
Posts: 6766
Joined: Mon May 28, 2007 8:07 am
Location: Munich, Germany


Return to Pool Swimming

Who is online

Users browsing this forum: No registered users and 1 guest