Bug #4065
closedImport of a CSV previously exported by Chirp fails - No attribute power in struct
0%
Description
Trying to use CSV import to batch update a Baofeng BF-F8HP frequency list.
Using Daily-20160924 build, running on Linux (Fedora 19) GTK 2.24.22, PyGTK 2.24.0, Python 2.75
Did an File->export of existing radio frequency list, modified it to add new rows (frequencies), then did File->import.
THe following displayed on the console. Had to Force Kill the application:
ERROR: Exception running RadioJob: No attribute power in struct
ERROR: -- Exception: --
ERROR: Traceback (most recent call last):
File "/home/edt/Downloads/chirp-daily-20160924/chirp/ui/common.py", line 116, in execute
result = func(*self.args, **self.kwargs)
File "/home/edt/Downloads/chirp-daily-20160924/chirp/drivers/uv5r.py", line 825, in get_memory
(_mem.power, levels))
File "/home/edt/Downloads/chirp-daily-20160924/chirp/bitwise.py", line 688, in __getattr_
raise AttributeError("No attribute %s in struct" % name)
AttributeError: No attribute power in struct
ERROR: ----------------
ERROR: Job Args: (10,)
ERROR: Job KWArgs: {}
ERROR: Job Called from:
File "./chirpw", line 146, in
gtk.main()
File "/home/edt/Downloads/chirp-daily-20160924/chirp/ui/mainapp.py", line 482, in cb_clonein
self.do_open_live(radio, tempname="(" + ("Untitled") + ")")
File "/home/edt/Downloads/chirp-daily-20160924/chirp/ui/mainapp.py", line 407, in do_open_live
eset = editorset.EditorSet(radio, self, tempname=tempname)
File "/home/edt/Downloads/chirp-daily-20160924/chirp/ui/editorset.py", line 144, in __init_
self.make_device_editors(device, devrthread, index)
File "/home/edt/Downloads/chirp-daily-20160924/chirp/ui/editorset.py", line 79, in _make_device_editors
memories = memedit.MemoryEditor(devrthread)
File "/home/edt/Downloads/chirp-daily-20160924/chirp/ui/memedit.py", line 1376, in __init_
self.prefill()
File "/home/edt/Downloads/chirp-daily-20160924/chirp/ui/memedit.py", line 1063, in prefill
job = common.RadioJob(handler, "get_memory", i)
ERROR: Exception running RadioJob: No attribute power in struct
ERROR: -- Exception: --
ERROR: Traceback (most recent call last):
File "/home/edt/Downloads/chirp-daily-20160924/chirp/ui/common.py", line 116, in execute
result = func(*self.args, **self.kwargs)
File "/home/edt/Downloads/chirp-daily-20160924/chirp/drivers/uv5r.py", line 825, in get_memory
(_mem.power, levels))
File "/home/edt/Downloads/chirp-daily-20160924/chirp/bitwise.py", line 688, in __getattr_
raise AttributeError("No attribute %s in struct" % name)
AttributeError: No attribute power in struct
ERROR: ----------------
ERROR: Job Args: (10,)
ERROR: Job KWArgs: {}
ERROR: Job Called from:
File "./chirpw", line 146, in
gtk.main()
File "/home/edt/Downloads/chirp-daily-20160924/chirp/ui/memedit.py", line 1204, in
refresh.connect("clicked", lambda x: self.prefill())
File "/home/edt/Downloads/chirp-daily-20160924/chirp/ui/memedit.py", line 1063, in prefill
job = common.RadioJob(handler, "get_memory", i)
ERROR: -- Exception: --
ERROR: Traceback (most recent call last):
File "/home/edt/Downloads/chirp-daily-20160924/chirp/ui/editorset.py", line 336, in do_import
self.rthread)
File "/home/edt/Downloads/chirp-daily-20160924/chirp/ui/editorset.py", line 252, in do_import_locked
dialog = dlgclass(src_radio, dst_rthread.radio, self.parent_window)
File "/home/edt/Downloads/chirp-daily-20160924/chirp/ui/importdialog.py", line 634, in __init_
self.populate_list()
File "/home/edt/Downloads/chirp-daily-20160924/chirp/ui/importdialog.py", line 575, in populate_list
self.record_use_of(mem.number)
File "/home/edt/Downloads/chirp-daily-20160924/chirp/ui/importdialog.py", line 515, in record_use_of
mem = self.dst_radio.get_memory(number)
File "/home/edt/Downloads/chirp-daily-20160924/chirp/drivers/uv5r.py", line 825, in get_memory
(mem.power, levels))
File "/home/edt/Downloads/chirp-daily-20160924/chirp/bitwise.py", line 688, in __getattr_
raise AttributeError("No attribute %s in struct" % name)
AttributeError: No attribute power in struct
ERROR: ----------------
Killed
Files