Project

General

Profile

Actions

Bug #4065

closed

Import of a CSV previously exported by Chirp fails - No attribute power in struct

Added by Eugene Tyler over 7 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
09/26/2016
Due date:
% Done:

0%

Estimated time:
Chirp Version:
daily
Model affected:
Baofeng BF-F8HP
Platform:
All
Debug Log:
I read the instructions above:

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

radio-mod1a.csv (918 Bytes) radio-mod1a.csv Eugene Tyler, 09/27/2016 10:48 PM
Baofeng_BF-F8HP_20160926.img (6.32 KB) Baofeng_BF-F8HP_20160926.img Eugene Tyler, 09/27/2016 10:49 PM
Actions

Also available in: Atom PDF