Importing/Append Channels

Post Reply
IU8OGE
Posts: 65
Joined: Tue Sep 29, 2020 3:35 pm

Importing/Append Channels

Post by IU8OGE » Tue Oct 20, 2020 12:39 pm

I am trying to APPEND to my channel list using CPS verision 2010.10.20 Import/Append function but get Excepiotn and fail to import

Attached the channels csv exported from the official code plug on this forum

p.s Unable to attach file too large 82kb :lol:

IU8OGE
Posts: 65
Joined: Tue Sep 29, 2020 3:35 pm

Re: Importing/Append Channels

Post by IU8OGE » Tue Oct 20, 2020 1:16 pm

ok in the meantime I make another test based on the suspect che the cannels in the code plug CPS IU5MGQ - 20200218 V2.3beta2.g77 "from this site"

was not compatible with this release of CPS

SO I exported my actual channels, and than tried to import/append but nothing failed again with the some errore
so the problem is in the append function and not in the csv compatibility

System.FormatException: Formato della stringa di input non corretto.
in System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
in System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
in DMR.ChannelsForm.import(Boolean clearFirst)
in DMR.ChannelsForm.btnImport_Click(Object sender, EventArgs e)
in System.Windows.Forms.Control.OnClick(EventArgs e)
in System.Windows.Forms.Button.OnClick(EventArgs e)
in System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.ButtonBase.WndProc(Message& m)
in System.Windows.Forms.Button.WndProc(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

IU8OGE
Posts: 65
Joined: Tue Sep 29, 2020 3:35 pm

Re: Importing/Append Channels

Post by IU8OGE » Tue Oct 20, 2020 2:13 pm

ok waiting a developer answer I made more testing

Trying to import also in an empity channel list it fail with the some exception

So conclusion is that the channel Import don't work completly

KI5GZK
Posts: 129
Joined: Sat Apr 11, 2020 6:27 pm

Re: Importing/Append Channels

Post by KI5GZK » Tue Oct 20, 2020 7:33 pm

I ran into this same issue a couple of days ago.
The problem seems to have started recently when the behavior of the "TG List" and "Contact" settings in the channel settings menu was changed.

A work-a-round is to edit the CSV file and change all of the "N/A" entries under the "Contact" and "Contact Id" columns to "None", without the quotes of course, and then import it. Worked for me anyways.

IU8OGE
Posts: 65
Joined: Tue Sep 29, 2020 3:35 pm

Re: Importing/Append Channels

Post by IU8OGE » Wed Oct 21, 2020 7:12 am

this tweaks I confirm work correctly

Post Reply