Bug #10263
closedchirpc fails to set tone options
100%
Description
When configuring a memory channel via chirpc
, the chirpc
tries to access properties that no longer exist.
RC=0 stuartl@rikishi ~/hamradio/repeaters $ python3 /home/stuartl/projects/chirp/chirpc --mmap /tmp/test.img '--set-mem-name=WICEN Smplx 23cm' --set-mem-freq=1294800 --set-mem-tencon --set-mem-tenc=91.5 --set-mem-dup= --set-mem-offset=20000 --set-mem-mode=FM 0
Traceback (most recent call last):
File "/home/stuartl/projects/chirp/chirpc", line 347, in
mem.tencEnabled = True
File "/home/stuartl/projects/chirp/chirp/chirp_common.py", line 344, in setattr
raise ValueError("No such attribute %s'" % name)
tencEnabled'
ValueError: No such attribute
The following change worked for me…
https://github.com/sjlongland/chirp/commit/9946030aa795ffa135d5249798afa1b1bed8044f
… however, I only used tone-encode. I haven't tested tone squelch or DTCS as the former is rarely needed and no repeaters near me use the latter.
If the above looks good, I can submit the PR on Github to fix this.