Bug #9748

Export does not work on Retevis RB 27

Added by Russ Olsen 8 months ago. Updated 7 months ago.

Status:Closed Start date:02/11/2022
Priority:Normal Due date:
Assignee:Jim Unroe % Done:

100%

Category:-
Target version:chirp-daily
Chirp Version:daily Platform:Windows
Model affected:(All models)

Description

The RB 27 driver works well except that I cannot export the data.

When I do File -> Export, pick a file and hit Save on the dialog, I get a pop up with the following message:

There was an error during export: Field power is not mutable on this memory

I am seeing this behavior on the current daily build, which is 20220210.

====

Since I am a programmer I did a little digging around in the code. It looks like the problem
is related to setting mem.immutable on or about line 560 of bf-t8.py. At least commenting out
the block of code that sets mem.immutable for that various memory locations fixes export.

Retevis_RB27_20220211.img - Image file for my RB 27 (4.2 kB) Russ Olsen, 02/11/2022 11:41 am

Associated revisions

Revision 3658:6fc2b2336b50
Added by Jim Unroe 7 months ago

Address 'Export does not work for Retevis RB27' (and others)

The Export fails when the immutable list includes "power". Since the
source's immutable list almost definitely does not match the latter,
this patch eliminates that list and relies on set_memory() on the
destination to enforce anything that should not be set.

addresses #9748

History

Updated by Jim Unroe 8 months ago

  • Status changed from New to Feedback
  • Assignee set to Jim Unroe

Hi Russ,

I am looking into this issue. Thanks for reporting it. I rarely have any use for CSV files so this test got missed.

It appears that there are other drivers that have the same issue when exporting to a CSV file. Once I come up with a suitable solution for this issue, I will apply the "fix" to them as well.

Jim KC9HI

Updated by Jim Unroe 7 months ago

  • Status changed from Feedback to In Progress
  • Target version set to chirp-daily

After consulting with Dan, I am now working on a patch.

Jim KC9HI

Updated by Jim Unroe 7 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

A patch has been submitted. The fix will be in the next CHIRP daily build following approval.

Jim KC9HI

Updated by Jim Unroe 7 months ago

  • Status changed from Resolved to Closed

The fix is in today's CHIRP daily build.

Jim KC9HI

Also available in: Atom PDF