Project

General

Profile

Actions

Bug #26

closed

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

Added by Leigh Klotz over 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
11/06/2011
Due date:
% Done:

0%

Estimated time:
Chirp Version:
0.1.12
Model affected:
FT-60
Platform:
Linux
Debug Log:
I read the instructions above:

Description

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


Files

k6bec.img (27.9 KB) k6bec.img Leigh Klotz, 11/06/2011 04:08 PM
Actions #1

Updated by Leigh Klotz over 12 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

Actions #2

Updated by Leigh Klotz over 12 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.

Actions #4

Updated by Leigh Klotz over 12 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$

Actions #5

Updated by Dan Smith over 12 years ago

  • Status changed from New to Resolved

These issues should be fixed in r1208 and r1209.

Thanks!

Actions #6

Updated by Dan Smith over 12 years ago

  • Status changed from Resolved to Closed
Actions #7

Updated by Dan Smith about 12 years ago

  • Target version set to 0.2.0
Actions

Also available in: Atom PDF