Input string was not in a correct format

Report any bugs or errors you find here.
Post Reply
riccom
Posts: 3
Joined: Sun Apr 16, 2023 6:13 pm
Callsign: wrqk570

Input string was not in a correct format

Post by riccom »

Good sunday folks, i download the new update, and got this error
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 CallSite.Target(Closure , CallSite , Type , Object )
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at CPEConvert.CodeplugParameters.ToBytes(Byte[] data, Dictionary`2 definitions, Dictionary`2 item)
at CPEConvert.CodeplugParameters.CompileBIN_FromCP(Codeplug CPConvert)
at CPEditor.MainForm.uploadToolStripButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9139.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
CPEditor
Assembly Version: 0.3.408.1
Win32 Version: 0.3.0408.1

this has happend in 11 and 10, is there a fix i can do on my end to get it working?
User avatar
MM7DBT
Site Admin
200posts
Posts: 209
Joined: Wed Jun 02, 2021 6:59 pm
Location: Scotland
Callsign: MM7DBT

Re: Input string was not in a correct format

Post by MM7DBT »

Does it do this when you read from the radio first?

If so, Download the binary from the radio and send me the .bin file that it saves.
Should be able to upload here or PM it to me.

Right click the "Read From Radio" button to access the menu.
bin.PNG
You do not have the required permissions to view the files attached to this post.
-73 de MM7DBT
riccom
Posts: 3
Joined: Sun Apr 16, 2023 6:13 pm
Callsign: wrqk570

Re: Input string was not in a correct format

Post by riccom »

it reads the radio just fine,
it does it when you try to upload to the radio!
User avatar
MM7DBT
Site Admin
200posts
Posts: 209
Joined: Wed Jun 02, 2021 6:59 pm
Location: Scotland
Callsign: MM7DBT

Re: Input string was not in a correct format

Post by MM7DBT »

Got your PM :)

APRS CTCSS/DCS Tone was not being correctly parsed.

I have included a fix for it with the latest update.
-73 de MM7DBT
Post Reply