[chirp_users] Chirp won't read CSV files correctly

Ken Rugaber (KC9QV) krugaber at gmail.com
Sat Feb 27 10:42:25 PST 2016


If you enter a simplex freq with no tone required and do not fill in the
other columns as shown that channel will not upload to the radio.  Found
that problem with a Baofeng UV5r as well.

 

Bottom line is if you fill in the columns as shown below for all channels
with the appropriate data as required or the generic data as shown they will
upload to the radio.

 


Location

Name

Frequency

Duplex

Offset

Tone

rToneFreq

cToneFreq

DtcsCode

DtcsPolarity

Mode

TStep

Skip

Comment

URCALL

RPT1CALL

RPT2CALL


1

SIM-52

146.52

	0

	88.5

88.5

23

NN

FM

5

					

 

 

From: chirp_users-bounces at intrepid.danplanet.com
[mailto:chirp_users-bounces at intrepid.danplanet.com] On Behalf Of Chris
Nordstrom
Sent: Saturday, February 27, 2016 12:17 PM
To: chirp_users at intrepid.danplanet.com
Subject: Re: [chirp_users] Chirp won't read CSV files correctly

 

Dave,

Yup, success!  When I put 88.5 in the rToneFreq column (also used 67, I
guess any valid tone freq) and deleted column headers from any column that
contains no data and entered the correct number of rows in Memory
Range---badda bing -- it works.


I also figured out that I cannot directly Upload a CSV file to the radio, it
has to be an IMG file, which makes sense, but the method for getting an IMG
file is not obvious and with no documentation (that I could find), eew!  So
what I did was Download from the radio, delete all except the first row,
save it as an "Empty" IMG file.  Next, I Open that IMG file then Import the
CSV file containing the memory channel data I want, and magically, it
becomes an IMG file that I can now Upload to the radio.  Is this how it is
supposed to work or is there another way to do this?  Does it work basically
the same regardless of the radio brand?

Attached is the CSV file that causes the Column number mismatch error.  The
only difference between this file and the one that successfully imports is
that there IS column heading text in columns M, N, O, P and Q, but there is
no data in those columns.  When I removed the heading text from just those
columns, the problem goes away.

Thanks for your encouragement and ideas,

Regards, Chris W7CFN
 
P.S.  Is there no one working on some basic documentation?  Perhaps I can
contribute something, it's been pretty painful for me.

 
On 2/26/2016 10:43 PM, Dave VK2FDJS wrote:

I assume the file you attached was the one that gave you the second
(smaller) set of errors.

 

If you look at it in Excel, you'll see that rows 33, 35 and 40 are the only
rows that have nothing in the rToneFreq and cToneFreq columns.

 

There are two other rows that have nothing in the Tone column (rows 2 and
3), but these still have values in the other two columns.  Looks like you
have to have a value of some sort in these two columns.

 

Could you please post the file that gave you the errors from row 17 on, so
we can have a look at it too.


Regards, Dave VK2FDJS
 

----- Original Message ----- 

From: Chris Nordstrom <mailto:cfnordstrom at gmail.com>  

To: chirp_users at intrepid.danplanet.com 

Sent: Saturday, February 27, 2016 4:15 PM

Subject: Re: [chirp_users] Chirp won't read CSV files correctly

 

This is the error I get when importing or opening my CSV file:

I'm using a file that was generated by Chirp using the export function, then
(In Excel) I copy/paste my channels into that CSV file.  When opened in
Chirp using either File/Open or File/Import, same errors every time.

So, a little experimentation and I discover that it doesn't like the empty
columns to the right (where there is a column heading but nothing in the
column).  So I deleted the column headers (that Chirp created!) for the
columns with no data and voila, it got past that error.  Now I get this one:


The new error about line 33 "[rTone] could not convert string to float"  I
generally get what this error means but don't get what exactly is causing
it.  And why does it reference line 33 and only import up to memory channel
25?  I notice at the top of the memory list window is an item called
"Memories Memory Range" where the default entries are 1 to 25.  Bingo!  I
changed the top end to 39 and it imported all the rows in my CSV file.  Wow,
I know, there is a disclaimer about how you guys are good at programming and
not so much at documentation.  Not sure I agree with that  and the
documentation part seems like a cop out.  

I can't say never, but rarely have I encountered a program so unintuitive
and persnickity.  I know, I know, it's free, what do I want for nothing.  I
guess I need to lower my expectations.   

Chris Nordstrom




 

 

  _____  

_______________________________________________
chirp_users mailing list
chirp_users at intrepid.danplanet.com
http://intrepid.danplanet.com/mailman/listinfo/chirp_users
This message was sent to Dave VK2FDJS at vk2fdjs at gmail.com
To unsubscribe, send an email to
chirp_users-unsubscribe at intrepid.danplanet.com 

  _____  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.6189 / Virus Database: 4537/11703 - Release Date: 02/26/16






_______________________________________________
chirp_users mailing list
chirp_users at intrepid.danplanet.com
http://intrepid.danplanet.com/mailman/listinfo/chirp_users
This message was sent to Chris at cfnordstrom at gmail.com
To unsubscribe, send an email to
chirp_users-unsubscribe at intrepid.danplanet.com

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_users/attachments/20160227/0cc0d10f/attachment-0002.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 14616 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_users/attachments/20160227/0cc0d10f/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 16109 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_users/attachments/20160227/0cc0d10f/attachment-0004.jpe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 16575 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_users/attachments/20160227/0cc0d10f/attachment-0005.jpe 


More information about the chirp_users mailing list