[chirp_users] TS-2000 CVS imports fail...
What am I doing wrong to program 100 Kenwood TS-2000 memories the easy way with Chirp???
I installed CHIRP daily-20170627 on Mint 18.2, downloaded my radio, wrote out a CSV file, constructed what I want, saved that CSV, and when I try to import it, via:
start Chirp, start radio, DL radio: I see the existing memories fine.
I import my CSV file: "There was an error during import: `?' is not in valid list: t: ['WFM', 'FM', 'NFM', 'AM', 'NAM', 'DV', 'USB', 'LSB', 'CW', 'RTTY', 'DIG', 'PKT', 'NCW', 'NCWR', 'CWR', 'P25', 'Auto', 'RTTYR', 'FSK', 'FSKR', 'DMR']
I click OK and Chirp appears to hang with the message: "Preparing memory list..." (I kill it after 10 minutes).
I've looked at my CSV file: there is no '?' character in the file. I see nothing wrong (I fixed default values for rToneFreq and cToneFreq).
Here's a shorter CSV I tried, same results:
Location,Name,Frequency,Duplex,Offset,Tone,rToneFreq,cToneFreq,DtcsCode,DtcsPolarity,Mode,TStep,Skip,Comment,URCALL,RPT1CALL,RPT2CALL 100,CREDIT ,29.62,-,0.1,,88.5,88.5,23,NN,FM,5,,,,, 101,BLOOMIN,29.66,-,0.1,Tone,100,88.5,23,NN,FM,5,,,,, 102,CHASKA,53.03,-,0.1,,88.5,88.5,23,NN,FM,5,,,,, 103,FALCON ,53.15,-,0.1,,88.5,88.5,23,NN,FM,5,,,,, 104,CREDIT ,53.33,-,0.1,,88.5,88.5,23,NN,FM,5,,,,,
If even fails if I try to import the exported file previous read.
Poking around in the log file I see:
[2017-07-04 07:49:24,222] chirp.drivers.kenwood_live - DEBUG: PC->RADIO: MR0007; [2017-07-04 07:49:24,374] chirp.drivers.kenwood_live - DEBUG: RADIO->PC: MR000700000000000000000000000000000000000; [2017-07-04 07:49:24,375] chirp.ui.common - ERROR: Exception running RadioJob: `?' is not in valid list: ['WFM', 'FM', 'NFM', 'AM', 'NAM', 'DV', 'USB', 'LSB', 'CW', 'RTTY', 'DIG', 'PKT', 'NCW', 'NCWR', 'CWR', 'P25', 'Auto', 'RTTYR', 'FSK', 'FSKR', 'DMR'] [2017-07-04 07:49:24,375] chirp.ui.reporting - DEBUG: Throttling... [2017-07-04 07:49:24,375] chirp.ui.common - ERROR: -- Exception: -- [2017-07-04 07:49:24,375] chirp.ui.common - ERROR: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/chirp/ui/common.py", line 116, in _execute result = func(*self.args, **self.kwargs) File "/usr/lib/python2.7/dist-packages/chirp/drivers/ts2000.py", line 111, in get_memory mem = self._parse_mem_spec(result) File "/usr/lib/python2.7/dist-packages/chirp/drivers/ts2000.py", line 147, in _parse_mem_spec mem.mode = TS2000_MODES[int(_p5)] File "/usr/lib/python2.7/dist-packages/chirp/chirp_common.py", line 336, in __setattr__ (val, self._valid_map[name])) ValueError: `?' is not in valid list: ['WFM', 'FM', 'NFM', 'AM', 'NAM', 'DV', 'USB', 'LSB', 'CW', 'RTTY', 'DIG', 'PKT', 'NCW', 'NCWR', 'CWR', 'P25', 'Auto', 'RTTYR', 'FSK', 'FSKR', 'DMR']
It seems to not like all zeros in memorys set by a factory reset... but it seems to only cause problems when it occurs during an import, not editing from the memory value fields.
Allan
On Tue, Jul 4, 2017 at 10:02 AM, Allan allanhasmail@gmail.com wrote:
What am I doing wrong to program 100 Kenwood TS-2000 memories the easy way with Chirp???
I installed CHIRP daily-20170627 on Mint 18.2, downloaded my radio, wrote out a CSV file, constructed what I want, saved that CSV, and when I try to import it, via:
start Chirp, start radio, DL radio: I see the existing memories fine.
I import my CSV file: "There was an error during import: `?' is not in valid list: t: ['WFM', 'FM', 'NFM', 'AM', 'NAM', 'DV', 'USB', 'LSB', 'CW', 'RTTY', 'DIG', 'PKT', 'NCW', 'NCWR', 'CWR', 'P25', 'Auto', 'RTTYR', 'FSK', 'FSKR', 'DMR']
I click OK and Chirp appears to hang with the message: "Preparing memory list..." (I kill it after 10 minutes).
I've looked at my CSV file: there is no '?' character in the file. I see nothing wrong (I fixed default values for rToneFreq and cToneFreq).
Here's a shorter CSV I tried, same results:
Location,Name,Frequency,Duplex,Offset,Tone,rToneFreq,cToneFreq,DtcsCode,DtcsPolarity,Mode,TStep,Skip,Comment,URCALL,RPT1CALL,RPT2CALL 100,CREDIT ,29.62,-,0.1,,88.5,88.5,23,NN,FM,5,,,,, 101,BLOOMIN,29.66,-,0.1,Tone,100,88.5,23,NN,FM,5,,,,, 102,CHASKA,53.03,-,0.1,,88.5,88.5,23,NN,FM,5,,,,, 103,FALCON ,53.15,-,0.1,,88.5,88.5,23,NN,FM,5,,,,, 104,CREDIT ,53.33,-,0.1,,88.5,88.5,23,NN,FM,5,,,,,
If even fails if I try to import the exported file previous read.
Poking around in the log file I see:
[2017-07-04 07:49:24,222] chirp.drivers.kenwood_live - DEBUG: PC->RADIO: MR0007; [2017-07-04 07:49:24,374] chirp.drivers.kenwood_live - DEBUG: RADIO->PC: MR000700000000000000000000000000000000000; [2017-07-04 07:49:24,375] chirp.ui.common - ERROR: Exception running RadioJob: `?' is not in valid list: ['WFM', 'FM', 'NFM', 'AM', 'NAM', 'DV', 'USB', 'LSB', 'CW', 'RTTY', 'DIG', 'PKT', 'NCW', 'NCWR', 'CWR', 'P25', 'Auto', 'RTTYR', 'FSK', 'FSKR', 'DMR'] [2017-07-04 07:49:24,375] chirp.ui.reporting - DEBUG: Throttling... [2017-07-04 07:49:24,375] chirp.ui.common - ERROR: -- Exception: -- [2017-07-04 07:49:24,375] chirp.ui.common - ERROR: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/chirp/ui/common.py", line 116, in _execute result = func(*self.args, **self.kwargs) File "/usr/lib/python2.7/dist-packages/chirp/drivers/ts2000.py", line 111, in get_memory mem = self._parse_mem_spec(result) File "/usr/lib/python2.7/dist-packages/chirp/drivers/ts2000.py", line 147, in _parse_mem_spec mem.mode = TS2000_MODES[int(_p5)] File "/usr/lib/python2.7/dist-packages/chirp/chirp_common.py", line 336, in __setattr__ (val, self._valid_map[name])) ValueError: `?' is not in valid list: ['WFM', 'FM', 'NFM', 'AM', 'NAM', 'DV', 'USB', 'LSB', 'CW', 'RTTY', 'DIG', 'PKT', 'NCW', 'NCWR', 'CWR', 'P25', 'Auto', 'RTTYR', 'FSK', 'FSKR', 'DMR']
It seems to not like all zeros in memorys set by a factory reset... but it seems to only cause problems when it occurs during an import, not editing from the memory value fields.
Allan
However you edited your CSV file, you corrupted it. It must be in a specific format to be compatible with CHIRP.
To prover this, download from your radio, export to a CSV file, import the CSV back into CHIRP. I'm betting it works.
Jim KC9HI
On 07/04/2017 11:30 AM, Jim Unroe wrote:
On Tue, Jul 4, 2017 at 10:02 AM, Allan allanhasmail@gmail.com wrote:
... It seems to not like all zeros in memorys set by a factory reset... but it seems to only cause problems when it occurs during an import, not editing from the memory value fields.
Allan
However you edited your CSV file, you corrupted it. It must be in a specific format to be compatible with CHIRP.
To prover this, download from your radio, export to a CSV file, import the CSV back into CHIRP. I'm betting it works.
Actually, **as I said**, I tried this and it produced the same behavior.
I just discovered a kind of workaround: I opened a new tab, imported my list fine, and I can cut and paste into my radio tab and it programs fine.
I DO wish it hadn't taken 3 hours to discover this...
Allan
On 07/04/2017 11:38 AM, Allan wrote:
On 07/04/2017 11:30 AM, Jim Unroe wrote:
On Tue, Jul 4, 2017 at 10:02 AM, Allan allanhasmail@gmail.com wrote:
... It seems to not like all zeros in memorys set by a factory reset... but it seems to only cause problems when it occurs during an import, not editing from the memory value fields.
Allan
However you edited your CSV file, you corrupted it. It must be in a specific format to be compatible with CHIRP.
To prover this, download from your radio, export to a CSV file, import the CSV back into CHIRP. I'm betting it works.
Actually, **as I said**, I tried this and it produced the same behavior.
I just discovered a kind of workaround: I opened a new tab, imported my list fine, and I can cut and paste into my radio tab and it programs fine.
I DO wish it hadn't taken 3 hours to discover this...
Allan
This is the normal way!
So you cannot ever load the radio memories into a tab, and then import from that tab (i.e. without creating a "New" tab in the menu) with the intention to over write Locations that are listed in the import file?
It very much seems to say that here (no use of the words "cut" nor "paste"), in the "Beginner's Guide":
http://chirp.danplanet.com/projects/chirp/wiki/Beginners_Guide
Exporting To A Generic File
If you wish to save memories from an existing radio out to a generic file that can be imported into other radios or edited by hand, use the Export function in the menu.
Start CHIRP and download a temporary image of your source radio
Use the Export function to choose a CSV or .chirp file of your radio's contents
Choose some or all of the memories to export
Importing From Another File
If you have an image from another radio (even another type), you can import that into an image or live mode radio using the Import function in the menu.
- Start CHIRP and download a temporary image of your target radio
- Use the Import function to choose a source file (CSV, CHIRP, .img, or .icf)
- Choose some or all of the memories to import
- Upload the changed image back to your target radio
Allan
On 07/04/2017 04:24 PM, W Paul Mills wrote:
This is the normal way!
On Tue, Jul 4, 2017 at 5:57 PM, Allan allanhasmail@gmail.com wrote:
So you cannot ever load the radio memories into a tab, and then import from that tab (i.e. without creating a "New" tab in the menu) with the intention to over write Locations that are listed in the import file?
If you can't, it would have to be something that is peculiar to the TS-2000. I import IMG and CSV files into several of the radios that I have on a regular basis.
Jim
participants (3)
-
Allan
-
Jim Unroe
-
W Paul Mills