Bug #2957
closedAppears to be reading more memories than the IC-92AD has
0%
Description
OS: Ubuntu 14.04 LTS
Radio: Icom IC-92AD
Chirp: CHIRP daily-20151023
Using latest version, downloads from radio but is reading 849 memories from Band A yet there are only 799. No error messages result and the status bar displays Completed getting memory 849 (Idle)
I click the Banks (Band A) tab and the tabe is populated with data, the status bar displays Getting bank information for memory 849 but the operation has not completed. clicking other tabs displays them with no information from the radio and nothing is read from the radio except the Band A and Band B information already retrieved.
The terminal displays:
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in bootstrap_inner
self.run()
File "/usr/lib/pymodules/python2.7/chirp/ui/common.py", line 261, in run
job.execute(self.radio)
File "/usr/lib/pymodules/python2.7/chirp/ui/bankedit.py", line 138, in execute
mappings = self.model.get_memory_mappings(mem)
File "/usr/lib/pymodules/python2.7/chirp/drivers/icf.py", line 544, in get_memory_mappings
index = self._radio._get_bank(memory.number)
File "/usr/lib/pymodules/python2.7/chirp/drivers/ic9x.py", line 83, in _get_bank
return mem._bank
AttributeError: Memory instance has no attribute '_bank'
Tried to limit to 799 but Chirp still tried to read bank information for memory 849
Both Bank A and Bank B are downloaded but not the DStar info. When I cick on the panels it is then downloaded and displayed, however the terminal displays: ERROR: Unable to find selected: iter must be a GtkTreeIter
Thanks
Updated by Wenlock Burton about 9 years ago
Addition note:
Memories (Band A) and Memories (Band B) are downloaded.
Banks(Band A) and Banks (Band B) are downloaded when the tab clicked (with the error reported above)
Bank Names for both bands is never populated.
Wenlock
Updated by Patrick Lang almost 9 years ago
- Platform changed from Linux to All
Well, it turns out the exception isn't actually due to the memory bounds. I changed the code and limited band A to 799. I'm still hitting the problem whenever I look at the Banks (Band A) tab. I can look at Band B just fine. Will need to do more digging.
Updated by Wenlock Burton almost 9 years ago
Interesting,
I did notice that while it does stop at 799 the retrival of bank data is still going to 849 if thats any help.
Will try the term again to see what it reports.
Wenlock
Updated by Wenlock Burton almost 9 years ago
Still reporting an exception:
ERROR: Exception running RadioJob: string index out of range
ERROR: -- Exception: --
ERROR: Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/chirp/ui/common.py", line 116, in _execute
result = func(*self.args, **self.kwargs)
File "/usr/lib/pymodules/python2.7/chirp/drivers/ic9x.py", line 134, in get_memory
mem = ic9x_ll.get_memory(self.pipe, self.vfo, number)
File "/usr/lib/pymodules/python2.7/chirp/drivers/ic9x_ll.py", line 490, in get_memory
if rframe.get_payload()[3] == '\xff':
IndexError: string index out of range
ERROR: ----------------
ERROR: Job Args: (510,)
ERROR: Job KWArgs: {}
ERROR: Job Called from:
File "/usr/bin/chirpw", line 145, in
gtk.main()
File "/usr/lib/pymodules/python2.7/chirp/ui/mainapp.py", line 1406, in mh
self.do_download(*args)
File "/usr/lib/pymodules/python2.7/chirp/ui/mainapp.py", line 687, in do_download
self.do_open_live(radio)
File "/usr/lib/pymodules/python2.7/chirp/ui/mainapp.py", line 406, in do_open_live
eset = editorset.EditorSet(radio, self, tempname=tempname)
File "/usr/lib/pymodules/python2.7/chirp/ui/editorset.py", line 143, in init
self.make_device_editors(device, devrthread, index)
File "/usr/lib/pymodules/python2.7/chirp/ui/editorset.py", line 78, in _make_device_editors
memories = memedit.MemoryEditor(devrthread)
File "/usr/lib/pymodules/python2.7/chirp/ui/memedit.py", line 1376, in __init_
self.prefill()
File "/usr/lib/pymodules/python2.7/chirp/ui/memedit.py", line 1063, in prefill
job = common.RadioJob(handler, "get_memory", i)
Updated by Wenlock Burton almost 9 years ago
Just tried the latest build, still not reading all data from the radio.
Read:
Memories (Band A) [read up to 849 instead of 799 again
Banks (Band a)
Bank Names (Band A)
Everything else was empty, status bar showed "Getting Bank information for Memory 849"
Wenlock
VK3YWB
Updated by Wenlock Burton almost 9 years ago
Now running Chirp 20160301
Still counts up to memory 849 in A
I programmed the last three memories 797,798,799 with the Icom software and observed what Chirp read from the radio.
797 was read, 798 and 799 did not appear, the table stopped filling at 797.
Looking in Banks (Band A) I noticed that 797,798 and 799 were read,
800-807 contain band edge scan frequencies. So, could reading up to 849 be reading other "special" memories?
I programmed the last band edge memory pair and voila! The frequencies I entered appeared in 748 and 749 in Chirps table. So the memories 800 to 849 are the band edge scan pairs. They are being included in the Band A memories.
Note, they are not actually Band A memories and don't have Bank attributes so trying to retrieve bank attributes is invalid hence the error:
AttributeError: Memory instance has no attribute '_bank
Status bar displays "Getting bank information for memory 849"
Updated by Wenlock Burton over 8 years ago
As of build 20160625 the error in Bank A appears to have been resolved but a similar error occurs in Bank B.
"Memory instance has no attribute _bank"
From terminal:
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in bootstrap_inner
self.run()
File "/usr/lib/python2.7/dist-packages/chirp/ui/common.py", line 261, in run
job.execute(self.radio)
File "/usr/lib/python2.7/dist-packages/chirp/ui/bankedit.py", line 138, in execute
mappings = self.model.get_memory_mappings(mem)
File "/usr/lib/python2.7/dist-packages/chirp/drivers/icf.py", line 544, in get_memory_mappings
index = self._radio._get_bank(memory.number)
File "/usr/lib/python2.7/dist-packages/chirp/drivers/ic9x.py", line 83, in _get_bank
return mem._bank
AttributeError: Memory instance has no attribute '_bank'
Thanks
Updated by Wenlock Burton over 8 years ago
Created new bug with current errors for clearer report. Please refer to #3847
Updated by Bernhard Hailer over 4 years ago
- Status changed from New to Closed
- Model affected changed from IC-92AD to Icom IC-92AD
Continued in #3847.