Import CSV - unhandled exception

Post Reply
OK1RE
Posts: 8
Joined: Sun Apr 16, 2023 3:35 pm

Import CSV - unhandled exception

Post by OK1RE » Sun Apr 16, 2023 7:10 pm

"The input string is not in the correct format"
I tried to import the exported file without changes.

Retevis RT3S
CPS R2023.04.10.01
Windows 10 Pro

VK3KYY
Posts: 7486
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Import CSV - unhandled exception

Post by VK3KYY » Sun Apr 16, 2023 9:23 pm

OK1RE wrote:
Sun Apr 16, 2023 7:10 pm
"The input string is not in the correct format"
I tried to import the exported file without changes.

Retevis RT3S
CPS R2023.04.10.01
Windows 10 Pro
Zip your codeplug and post here

VK3KYY
Posts: 7486
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Import CSV - unhandled exception

Post by VK3KYY » Sun Apr 16, 2023 10:31 pm

It looks like the function has an error if there are no DTMF contacts

I'll fix this and post an update

VK3KYY
Posts: 7486
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Import CSV - unhandled exception

Post by VK3KYY » Sun Apr 16, 2023 11:14 pm

I've posted and update to fix this bug

OK1RE
Posts: 8
Joined: Sun Apr 16, 2023 3:35 pm

Re: Import CSV - unhandled exception

Post by OK1RE » Mon Apr 17, 2023 10:44 am

VK3KYY wrote:
Sun Apr 16, 2023 11:14 pm
I've posted and update to fix this bug
Thank you very much.
Where is update for download?

SA0BUX
Posts: 544
Joined: Tue Jul 05, 2022 8:50 am
Location: JO99ah, Stockholm, Sweden
Contact:

Re: Import CSV - unhandled exception

Post by SA0BUX » Mon Apr 17, 2023 2:03 pm

I guess that OK1RE use Czech Windows or Czech Regional Settings , they seems to use the same decimal and number settings that we have have in
Sweden and many other European countries.
I changed my settings and got the same exception , seems that all languages that use the same settings have problems with CSV functions.
( I made some tests earlier that I wrote about in viewtopic.php?f=13&t=2285&start=20#p22996 )
Czech.PNG
Czech.PNG (47.39 KiB) Viewed 2787 times

G4EML
Posts: 919
Joined: Sat Nov 16, 2019 10:01 am

Re: Import CSV - unhandled exception

Post by G4EML » Mon Apr 17, 2023 3:13 pm

I can see and reproduce the problem. It will be fixed in the next release.

Colin G4EML
Last edited by G4EML on Mon Apr 17, 2023 3:40 pm, edited 1 time in total.

OK1RE
Posts: 8
Joined: Sun Apr 16, 2023 3:35 pm

Re: Import CSV - unhandled exception

Post by OK1RE » Mon Apr 17, 2023 3:20 pm

Yes, it is solution. English (world)
Snímek obrazovky 2023-04-17 171842.jpg
Snímek obrazovky 2023-04-17 171842.jpg (16.01 KiB) Viewed 2762 times

VK3KYY
Posts: 7486
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Import CSV - unhandled exception

Post by VK3KYY » Mon Apr 17, 2023 11:20 pm


Post Reply