Bug #4623

Updated by Bernhard Hailer over 2 years ago

Hello, I have a CSV with 50+ entries. After "File-Import-(.csv file)", it loads into Chirp without error. Then I select All, then OK. 
 The procedure start and ends without GUI errors, however, after it the radio only have certain records of the .csv file, others are empty as they were before. Also, pre-existing memories are not overwritten. 

 I isolated the CLI log of a failed import, here it is: 

 @ERROR: Exception running RadioJob: Radio refused 5 
 ERROR: -- Exception: -- 
 ERROR: Traceback (most recent call last): 
   File "/usr/local/lib/python2.7/dist-packages/chirp/ui/", line 116, in _execute 
     result = func(*self.args, **self.kwargs) 
   File "/usr/local/lib/python2.7/dist-packages/chirp/drivers/", line 350, in set_memory 
     return KenwoodLiveRadio.set_memory(self, memory) 
   File "/usr/local/lib/python2.7/dist-packages/chirp/drivers/", line 262, in set_memory 
     raise errors.InvalidDataError("Radio refused %i" % memory.number) 
 InvalidDataError: Radio refused 5 

 ERROR: ---------------- 
 ERROR: Job Args:     (Memory[5],) 
 ERROR: Job KWArgs: {} 
 ERROR: Job Called from: 
   File "/usr/local/bin/chirpw", line 143, in <module> 
   File "/usr/local/lib/python2.7/dist-packages/chirp/ui/", line 1588, in mh 
   File "/usr/local/lib/python2.7/dist-packages/chirp/ui/", line 805, in do_import 
     count = eset.do_import(filen) 
   File "/usr/local/lib/python2.7/dist-packages/chirp/ui/", line 336, in do_import 
   File "/usr/local/lib/python2.7/dist-packages/chirp/ui/", line 259, in _do_import_locked 
     count = dialog.do_import(dst_rthread) 
   File "/usr/local/lib/python2.7/dist-packages/chirp/ui/", line 273, in do_import 
     job = common.RadioJob(None, "set_memory", mem)@ 

 if needed I can perform more test on the radio. 

 Thanks, Paolo.