[chirp_users] [CHIRP] #107: vx8 can't calc tuning step during csv export and frequency rounding
#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
#107: vx8 can't calc tuning step during csv export and frequency rounding -----------------------------------------------+---------------------------- Reporter: Robert Terzi <rct+chirp@…> | Owner: Type: Bug | Status: new Priority: Stability | Milestone: Component: Memory Editor | Version: (tip) Resolution: | Keywords: vx8 Platform: Linux | -----------------------------------------------+----------------------------
Comment (by kk7ds):
I just hit that exception myself a few minutes ago. Try changeset:969.
The rounding is actually the opposite problem. The radio stores the rounded value and corrects for it internally based on intrinsic knowledge of tuning steps. I thought I fixed that for the vx8 yesterday. Are you fully up-to-date from the tip of the tree (i.e. at least changeset:967)?
#107: vx8 can't calc tuning step during csv export and frequency rounding -----------------------------------------------+---------------------------- Reporter: Robert Terzi <rct+chirp@…> | Owner: Type: Bug | Status: new Priority: Stability | Milestone: Component: Memory Editor | Version: (tip) Resolution: | Keywords: vx8 Platform: Linux | -----------------------------------------------+----------------------------
Comment (by Dan Robertson <dan.my.studio@…>):
I am not sure if I am fully up-to-date from the tip of the tree. Let me see if I can figure that out or if you have any suggestions, that would be great.
#107: vx8 can't calc tuning step during csv export and frequency rounding -----------------------------------------------+---------------------------- Reporter: Robert Terzi <rct+chirp@…> | Owner: Type: Bug | Status: new Priority: Stability | Milestone: Component: Memory Editor | Version: (tip) Resolution: | Keywords: vx8 Platform: Linux | -----------------------------------------------+----------------------------
Comment (by kk7ds):
You can grab a snapshot of the tree here:
http://d-rats.com/hg/hgwebdir.cgi/chirp.hg/archive/tip.tar.gz
Note that this is *really* bleeding edge :)
#107: vx8 can't calc tuning step during csv export and frequency rounding -----------------------------------------------+---------------------------- Reporter: Robert Terzi <rct+chirp@…> | Owner: Type: Bug | Status: new Priority: Stability | Milestone: Component: Memory Editor | Version: (tip) Resolution: | Keywords: vx8 Platform: Linux | -----------------------------------------------+----------------------------
Comment (by kk7ds):
Oh, wait, sorry I forgot. You (Dan) are running Windows, IIRC. You'll have to wait until tomorrow to get the daily with the above fix from this morning in it.
#107: vx8 can't calc tuning step during csv export and frequency rounding -----------------------------------------------+---------------------------- Reporter: Robert Terzi <rct+chirp@…> | Owner: Type: Bug | Status: new Priority: Stability | Milestone: Component: Memory Editor | Version: (tip) Resolution: | Keywords: vx8 Platform: Linux | -----------------------------------------------+----------------------------
Comment (by Dan Robertson <dan.my.studio@…>):
sorry, I was thinking this was for my issue. I am running a different OS than the opener. I WAS getting the same error when trying to export but this morning I didn't get that error. Thank you
#107: vx8 can't calc tuning step during csv export and frequency rounding -----------------------------------------------+---------------------------- Reporter: Robert Terzi <rct+chirp@…> | Owner: Type: Bug | Status: new Priority: Stability | Milestone: Component: Memory Editor | Version: (tip) Resolution: | Keywords: vx8 Platform: Linux | -----------------------------------------------+----------------------------
Comment (by Robert Terzi <rct+chirp@…>):
When I reported this I was up to changeset 966. Now that I'm at 969 I'm getting "Unable to correct rounded frequency 482.16800". (Stored is 482.16875) I see a number of these logged to the console when the .img is loaded with no error pop-ups. Trying to do a CSV export fails with an Error pop-up.
Exception running RadioJob: Unable to correct rounded frequency 482.16800 -- Exception: -- Traceback (most recent call last): File "chirp.hg/chirpui/common.py", line 71, in execute result = func(*self.args, **self.kwargs) File "/mnt/s2/home/rct/proj/wouxun/chirp.hg/chirp/vx8.py", line 114, in get_memory mem.freq = chirp_common.fix_rounded_step(int(_mem.freq) / 1000.0) File "chirp.hg/chirp/chirp_common.py", line 878, in fix_rounded_step raise errors.InvalidDataError("Unable to correct rounded frequency %.5f" % freq) InvalidDataError: Unable to correct rounded frequency 482.16800
#107: vx8 can't calc tuning step during csv export and frequency rounding -----------------------------------------------+---------------------------- Reporter: Robert Terzi <rct+chirp@…> | Owner: kk7ds Type: Bug | Status: accepted Priority: Stability | Milestone: Component: Memory Editor | Version: (tip) Resolution: | Keywords: vx8 Platform: Linux | -----------------------------------------------+---------------------------- Changes (by kk7ds):
* owner: => kk7ds * status: new => accepted
Comment:
Ah, okay, I guess I need to correct for the possibility of 250Hz *and* 750Hz multiples of the 6.25kHz-step frequencies.
Thanks for this, I'll take a look.
#107: vx8 can't calc tuning step during csv export and frequency rounding -----------------------------------------------+---------------------------- Reporter: Robert Terzi <rct+chirp@…> | Owner: kk7ds Type: Bug | Status: accepted Priority: Stability | Milestone: Component: Memory Editor | Version: (tip) Resolution: | Keywords: vx8 Platform: Linux | -----------------------------------------------+----------------------------
Comment (by kk7ds):
Er, hmm, are you sure about that? My vx8, nor my 6.25kHz-supporting Icoms will let me get to 482.16875 (both refuse to let me type in the 8 after the 16, actually).
#107: vx8 can't calc tuning step during csv export and frequency rounding -----------------------------------------------+---------------------------- Reporter: Robert Terzi <rct+chirp@…> | Owner: kk7ds Type: Bug | Status: accepted Priority: Stability | Milestone: Component: Memory Editor | Version: (tip) Resolution: | Keywords: vx8 Platform: Linux | -----------------------------------------------+----------------------------
Comment (by kk7ds):
Er, nevermind, I was being dumb.
Try changeset:970
#107: vx8 can't calc tuning step during csv export and frequency rounding -----------------------------------------------+---------------------------- Reporter: Robert Terzi <rct+chirp@…> | Owner: kk7ds Type: Bug | Status: accepted Priority: Stability | Milestone: Component: Memory Editor | Version: (tip) Resolution: | Keywords: vx8 Platform: Linux | -----------------------------------------------+----------------------------
Comment (by Robert Terzi <rct+chirp@…>):
That took care of all but one, 130.200
------ Job Args: (829,) Job KWArgs: {} -- 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 479, in populate_list mem = self.src_radio.get_memory(i) File "chirp.hg/chirp/vx8.py", line 114, in get_memory mem.freq = chirp_common.fix_rounded_step(int(_mem.freq) / 1000.0) File "chirp.hg/chirp/chirp_common.py", line 884, in fix_rounded_step raise errors.InvalidDataError("Unable to correct rounded frequency %.5f" % freq) InvalidDataError: Unable to correct rounded frequency 130.20000 ------
#107: vx8 can't calc tuning step during csv export and frequency rounding -----------------------------------------------+---------------------------- Reporter: Robert Terzi <rct+chirp@…> | Owner: kk7ds Type: Bug | Status: closed Priority: Stability | Milestone: Component: Memory Editor | Version: (tip) Resolution: Fixed | Keywords: vx8 Platform: Linux | -----------------------------------------------+---------------------------- Changes (by kk7ds):
* status: accepted => closed * resolution: => Fixed
Comment:
Fixed (finally) in changeset:974
participants (1)
-
CHIRP Tracker