Bug #26
closedFT-60R gets Index bounds exceptions on read from new radio
0%
Description
New FT-60R. Programmed once by hand. Initial read gets various array index exceptions.
img file attached.
Files
Updated by Leigh Klotz about 13 years ago
I put in some try/except IndexError around the index references that got errors and here's what it shows:
Starting memedit
TMODES failed tmode is 0x07 (.....111b) in mem 0
TONES failed tone is 0x3F (..111111b) in mem 0
DTCS_CODES failed DTCS is 0x7F (.1111111b) in mem 0
POWER_LEVELS failed POWER_LEVEL is 0x03 (......11b) in mem 0
Bank Index supported: False
Bank supported: False
DTCS Code supported: True
DTCS Pol supported: False
Mode supported: True
Offset supported: True
Name supported: True
Tune Step supported: True
Name supported: True
ToneSql supported: False
Cross Mode supported: False
TMODES failed tmode is 0x07 (.....111b) in mem 0
TONES failed tone is 0x3F (..111111b) in mem 0
DTCS_CODES failed DTCS is 0x7F (.1111111b) in mem 0
POWER_LEVELS failed POWER_LEVEL is 0x03 (......11b) in mem 0
Updated by Leigh Klotz about 13 years ago
The IMG file attached will also get another error, in charset of mem 3.
I hand reprogrammed mem 3 to be blank and that caused the error to go away in the above output.
But the error should be apparent in the img file.
Updated by Leigh Klotz about 13 years ago
Not reproducible in http://trac.chirp.danplanet.com/chirp_daily/daily-11052011/
Updated by Leigh Klotz about 13 years ago
Sorry, wrong text pasted.
Reproducible in http://trac.chirp.danplanet.com/chirp_daily/daily-11052011/
Clone thread started
Trying again...
Trying again...
Clone thread ended
Starting memedit
'NoneType' object has no attribute 'split'
Exception running RadioJob: list index out of range
Bank Index supported: False
Bank supported: False
DTCS Code supported: True
DTCS Pol supported: False
Mode supported: True
Offset supported: True
-- Exception: --Name supported: True
Tune Step supported: True
Traceback (most recent call last):
Name supported: True
File "/usr/local/lib/python2.7/dist-packages/chirpui/common.py", line 81, in execute
ToneSql supported: False
Cross Mode supported: False
result = func(*self.args, **self.kwargs)
File "/usr/local/lib/python2.7/dist-packages/chirp/ft60.py", line 208, in get_memory
mem.tmode = TMODES[_mem.tmode]
IndexError: list index out of range¶
Job Args: (0,)
Job KWArgs: {}
Exception running RadioJob: list index out of range
-- Exception: --
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/chirpui/common.py", line 81, in execute
result = func(*self.args, **self.kwargs)
File "/usr/local/lib/python2.7/dist-packages/chirp/ft60.py", line 208, in get_memory
mem.tmode = TMODES[_mem.tmode]
IndexError: list index out of range¶
Job Args: (0,)
Job KWArgs: {}
Started
Exception running RadioJob: list index out of range
-- Exception: --
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/chirpui/common.py", line 81, in execute
result = func(*self.args, **self.kwargs)
File "/usr/local/lib/python2.7/dist-packages/chirp/ft60.py", line 208, in get_memory
mem.tmode = TMODES[_mem.tmode]
IndexError: list index out of range¶
Job Args: (0,)
Job KWArgs: {}
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Wiped
Clone thread started
-- Exception: --
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/chirpui/clone.py", line 222, in run
self.__radio.sync_out()
File "/usr/local/lib/python2.7/dist-packages/chirp/ft60.py", line 170, in sync_out
upload(self)
File "/usr/local/lib/python2.7/dist-packages/chirp/ft60.py", line 66, in upload
raise Exception("Radio did not respond")
Exception: Radio did not respond¶
Clone failed: Radio did not respond
Clone thread ended
Clone thread started
-- Exception: --
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/chirpui/clone.py", line 222, in run
self.__radio.sync_out()
File "/usr/local/lib/python2.7/dist-packages/chirp/ft60.py", line 170, in sync_out
upload(self)
File "/usr/local/lib/python2.7/dist-packages/chirp/ft60.py", line 66, in upload
raise Exception("Radio did not respond")
Exception: Radio did not respond¶
Clone failed: Radio did not respond
Clone thread ended
Clone thread started
-- Exception: --
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/chirpui/clone.py", line 222, in run
self.__radio.sync_out()
File "/usr/local/lib/python2.7/dist-packages/chirp/ft60.py", line 170, in sync_out
upload(self)
File "/usr/local/lib/python2.7/dist-packages/chirp/ft60.py", line 66, in upload
raise Exception("Radio did not respond")
Exception: Radio did not respond¶
Clone failed: Radio did not respond
Clone thread ended
Clone thread started
-- Exception: --
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/chirpui/clone.py", line 222, in run
self.__radio.sync_out()
File "/usr/local/lib/python2.7/dist-packages/chirp/ft60.py", line 170, in sync_out
upload(self)
File "/usr/local/lib/python2.7/dist-packages/chirp/ft60.py", line 66, in upload
raise Exception("Radio did not respond")
Exception: Radio did not respond¶
Clone failed: Radio did not respond
Clone thread ended
Clone thread started
-- Exception: --
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/chirpui/clone.py", line 222, in run
self.__radio.sync_out()
File "/usr/local/lib/python2.7/dist-packages/chirp/ft60.py", line 170, in sync_out
upload(self)
File "/usr/local/lib/python2.7/dist-packages/chirp/ft60.py", line 66, in upload
raise Exception("Radio did not respond")
Exception: Radio did not respond¶
Clone failed: Radio did not respond
Clone thread ended
Closing 0
RadioThread exiting
klotz@klotzpc:~/ham/chirp-daily-11052011$
Updated by Dan Smith about 13 years ago
- Status changed from New to Resolved
These issues should be fixed in r1208 and r1209.
Thanks!