[chirp_devel] Issue with mem.immutable and exporting to CSV files
Jim Unroe
Fri Feb 11 16:59:47 PST 2022
In a recently submitted bug report (Bug #9748) it was mentioned that
upon attempting to export the tab the following error appears.
"There was an error during export: Field power is not mutable on this memory"
This appears to be related to this bit of code.
if mem.number <= 30 and self._gmrs:
GMRS_IMMUTABLE = ["freq", "duplex", "offset"]
if mem.number >= 8 and mem.number <= 14:
mem.immutable = GMRS_IMMUTABLE + ["mode", "power"]
else:
mem.immutable = GMRS_IMMUTABLE
The error appears while CHIRP while building the data liste for the
"Export to File" dialog. Once it gets to channel 8 (the first in a
group of 7 channels which must remain set to Low power), the error is
triggered.
Removing "power" from the GMRS_IMMUTABLE list eliminates the error.
What seems odd to me is that the transmit power level is not even
saved to a CSV file so I don't understand why it would have anything
to do with exporting data to a CSV file.
I would like to come up with a solution to this issue without removing
"power" from the list.
Does anyone have any ideas?
Thanks,
Jim KC9HI
More information about the chirp_devel
mailing list