Bug #26

FT-60R gets Index bounds exceptions on read from new radio

Added by Leigh Klotz almost 11 years ago. Updated over 10 years ago.

Status:Closed Start date:11/06/2011
Priority:Normal Due date:
Assignee:Dan Smith % Done:

0%

Category:-
Target version:0.2.0
Chirp Version:0.1.12 Platform:Linux
Model affected:FT-60

Description

New FT-60R. Programmed once by hand. Initial read gets various array index exceptions.
img file attached.

k6bec.img (27.9 kB) Leigh Klotz, 11/06/2011 04:08 pm

Associated revisions

Revision 3705:a41558c654ea
Added by Oleksandr Kravchuk 19 days ago

Add SE Jakradio 155MHz version to stock config (#26)

Jaktradio (hunting radio) is a communication radio used for hunting,
wildlife care, forestry, agriculture and outdoor life, etc. in Sweden.

History

Updated by Leigh Klotz almost 11 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 almost 11 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 almost 11 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 almost 11 years ago

  • Status changed from New to Resolved

These issues should be fixed in r1208 and r1209.

Thanks!

Updated by Dan Smith almost 11 years ago

  • Status changed from Resolved to Closed

Updated by Dan Smith over 10 years ago

  • Target version set to 0.2.0

Also available in: Atom PDF