[chirp_users] [CHIRP] #107: vx8 can't calc tuning step during csv export and frequency rounding

CHIRP Tracker
Tue May 3 08:06:36 PDT 2011


#107: vx8 can't calc tuning step during csv export and frequency rounding
----------------------------------------------+-----------------------------
 Reporter:  Robert Terzi <rct+chirp@…>        |        Type:  Bug          
   Status:  new                               |    Priority:  Stability    
Milestone:                                    |   Component:  Memory Editor
  Version:  (tip)                             |    Keywords:  vx8          
 Platform:  Linux                             |  
----------------------------------------------+-----------------------------
 Exporting a VX8 image to CSV fails with the error "Unable to calculate the
 required tuning step for 482.23150".  The export generated an error pop-
 up.

 Note: Chirp has done some rounding as the frequency stored in the radio is
 482.23125, not .23150.   The tuning step on the audio is set to Auto.  The
 frequency was programmed in using software (FTBVX8).

 If I restart chirp and reload the same file, when editing the name field,
 it throws the same error to the console though there is no error pop-up.

 -- Exception: --
 Traceback (most recent call last):
   File "chirp.hg/chirpui/editorset.py", line 250, in do_export
     dst_rthread)
   File "chirp.hg/chirpui/editorset.py", line 176, in _do_import_locked
     dialog = dlgclass(src_radio, dst_rthread.radio, self.parent_window)
   File "chirp.hg/chirpui/importdialog.py", line 553, in __init__
     self.populate_list()
   File "chirp.hg/chirpui/importdialog.py", line 485, in populate_list
     msgs = self.dst_radio.validate_memory(mem)
   File "chirp.hg/chirp/chirp_common.py", line 698, in validate_memory
     if required_step(mem.freq) not in rf.valid_tuning_steps:
   File "chirp.hg/chirp/chirp_common.py", line 850, in required_step
     "tuning step for %.5f" % freq)
 InvalidDataError: Unable to calculate the required tuning step for
 482.23150

-- 
Ticket URL: <http://trac.chirp.danplanet.com/trac/ticket/107>
CHIRP <http://trac.chirp.danplanet.com/trac>
CHIRP Development


More information about the chirp_users mailing list