Project

General

Profile

Actions

Bug #453

closed

"List index out of range" error downloading UV-5R+

Added by Chris Toensing almost 12 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
01/21/2013
Due date:
% Done:

0%

Estimated time:
Chirp Version:
daily
Model affected:
UV-5R+
Platform:
All
Debug Log:
I read the instructions above:

Description

When attempt to Download From Radio, process progresses to point green status bar is nearly full then CHIRP generates the following message: "An error has occurred. List index out of range." Running CHIRP daily 20130120 and Windows Vista.


Files

UV-5R _image.csv (450 Bytes) UV-5R _image.csv Chris Toensing, 01/22/2013 04:46 AM
UV-5R .img (6.32 KB) UV-5R .img Chris Toensing, 01/22/2013 05:43 AM

Related issues 2 (0 open2 closed)

Has duplicate Bug #455: "List index out of range" error downloading UV-5R+ now in LinuxRejected01/21/2013

Actions
Has duplicate Bug #340: UV-5R+Rejected10/31/2012

Actions
Actions #1

Updated by Dan Smith almost 12 years ago

Need a debug log, please. See How_To_Report_Issues

Actions #2

Updated by Chris Toensing almost 12 years ago

Debug Log appears below:

CHIRP daily-20130120 on WinVista/7 (Python 2.7.2)
Registered Alinco_DR03T = DR03Radio
Registered Alinco_DR06T = DR06Radio
Registered Alinco_DR135T = DR135Radio
Registered Alinco_DR235T = DR235Radio
Registered Alinco_DR435T = DR435Radio
Registered Alinco_DJ596 = DJ596Radio
Registered Jetstream_JT220M = JT220MRadio
Registered Alinco_DJ175 = DJ175Radio
Registered Baofeng_UV-3R = UV3RRadio
Registered Kenwood_TH-D7 = THD7Radio
Registered Kenwood_TH-D7G = THD7GRadio
Registered Kenwood_TM-D700 = TMD700Radio
Registered Kenwood_TM-V7 = TMV7Radio
Registered Kenwood_TM-G707 = TMG707Radio
Registered Kenwood_TH-F6 = THF6ARadio
Registered Kenwood_TH-F7 = THF7ERadio
Registered Kenwood_TM-D710 = TMD710Radio
Registered Kenwood_TH-D72_live_mode = THD72Radio
Registered Kenwood_TM-V71 = TMV71Radio
Registered Kenwood_TH-K2 = THK2Radio
Registered Kenwood_TM-271 = TM271Radio
Registered Icom_7200 = Icom7200Radio
Registered Icom_7000 = Icom7000Radio
Registered Icom_746 = Icom746Radio
Registered Yaesu_FT-1802M = FT1802Radio
Registered Yaesu_FT-2800M = FT2800Radio
Registered Yaesu_FT-60 = FT60Radio
Registered Yaesu_FT-7800 = FT7800Radio
Registered Yaesu_FT-8800 = FT8800Radio
Registered Yaesu_FT-8900 = FT8900Radio
Registered Yaesu_FT-817 = FT817Radio
Registered Yaesu_FT-817ND = FT817NDRadio
Registered Yaesu_FT-817ND_US = FT817NDUSRadio
Registered Yaesu_FT-857_897 = FT857Radio
Registered Yaesu_FT-857_897_US = FT857USRadio
Registered Generic_CSV = CSVRadio
Registered ARRL_Travel_Plus = TpeRadio
Registered Generic_XML = XMLRadio
Registered Icom_IC-208H = IC208Radio
Registered Icom_IC-2100H = IC2100Radio
Registered Icom_IC-2200H = IC2200Radio
Registered Icom_IC-2720H = IC2720Radio
Registered Icom_IC-2820H = IC2820Radio
Registered Icom_IC-91_92AD = IC9xRadio
Registered Icom_IC-91_92AD_ICF_File = IC9xICFRadio
Registered Icom_IC-Q7A = ICQ7Radio
Registered Icom_IC-T70 = ICT70Radio
Registered Icom_IC-T7H = ICT7HRadio
Registered Icom_IC-T8A = ICT8ARadio
Registered Icom_IC-W32A = ICW32ARadio
Registered Icom_IC-V82_U82 = ICx8xRadio
Registered Icom_ID-31A = ID31Radio
Registered Icom_ID-800H_v2 = ID800v2Radio
Registered Icom_ID-880H = ID880Radio
Registered Icom_ID-80H = ID80Radio
Registered Kenwood_HMK = HMKRadio
Registered Puxing_PX-777 = Puxing777Radio
Registered Puxing_PX-2R = Puxing2RRadio
Registered Kenwood_TH-D72_clone_mode = THD72Radio
Registered TYT_TH-UVF1 = TYTTHUVF1Radio
Registered TYT_TH-UV3R = TYTUV3RRadio
Registered Baofeng_UV-5R = BaofengUV5R
Registered Yaesu_VX-3 = VX3Radio
Registered Yaesu_VX-5 = VX5Radio
Registered Yaesu_VX-6 = VX6Radio
Registered Yaesu_VX-7 = VX7Radio
Registered Yaesu_VX-8_R = VX8Radio
Registered Yaesu_VX-8_DR = VX8DRadio
Registered Vertex_Standard_VXA-700 = VXA700Radio
Registered Wouxun_KG-UVD1P = KGUVD1PRadio
Registered Wouxun_KG-UV6 = KGUV6DRadio
Registered Wouxun_KG816 = KG816Radio
Skipping existing stock config
Skipping existing stock config
Skipping existing stock config
Skipping existing stock config
Skipping existing stock config
Skipping existing stock config
Skipping existing stock config
Skipping existing stock config
User selected Baofeng UV-5R on port COM16
Clone thread started
Sending Magic: 000: 50 bb ff 01 25 98 4d 00 P...%.M.

Radio did not respond
Sending Magic: 000: 50 bb ff 20 12 07 25 00 P.....%.

Ident:
000: aa 36 74 04 00 05 20 dd .6t.....

Appending element to top
Appending element to top
Appending element to squelch
Appending element to dtmfst
Appending element to save
Appending element to vox
Appending element to abr
Appending element to tdr
Appending element to tdrab
Appending element to almod
Appending element to beep
Appending element to timeout
Appending element to voice
Appending element to screv
Appending element to mdfa
Appending element to mdfb
Appending element to bcl
Appending element to autolk
Appending element to extra.fmradio
Appending element to wtled
Appending element to rxled
Appending element to txled
Appending element to roger
Appending element to ani.code
Appending element to ani.code
Appending element to ani.code
Appending element to ani.code
Appending element to ani.code
Appending element to ste
Appending element to rpste
Appending element to rptrl
Appending element to extra.reset
Appending element to extra.menu
Appending element to sixpoweron_msg.line1
Appending element to sixpoweron_msg.line2
Appending element to poweron_msg.line1
Appending element to poweron_msg.line2
Appending element to ponmsg
Appending element to limits_new.vhf.lower
Appending element to limits_new.vhf.upper
Appending element to limits_new.vhf.enable
Appending element to limits_new.uhf.lower
Appending element to limits_new.uhf.upper
Appending element to limits_new.uhf.enable
Appending element to extra.displayab
Appending element to extra.workmode
Appending element to extra.keylock
Appending element to wmchannel.mrcha
Appending element to wmchannel.mrchb
Appending element to vfoa.band
Appending element to vfob.band
Appending element to vfoa.txpower
Appending element to vfob.txpower
Appending element to vfoa.widenarr
Appending element to vfob.widenarr
-- Exception: --
Traceback (most recent call last):
File "chirpui\clone.pyo", line 225, in run
File "chirp\uv5r.pyo", line 452, in sync_in
File "chirp\uv5r.pyo", line 443, in process_mmap
File "chirp\uv5r.pyo", line 920, in get_settings

IndexError: list index out of range

Clone failed: list index out of range
Clone thread ended
--- Exception Dialog: list index out of range ---
Traceback (most recent call last):
File "chirpw", line 71, in

AttributeError: 'NoneType' object has no attribute 'split'

Actions #3

Updated by Tom Hayward almost 12 years ago

  • Platform changed from Windows to All
Actions #4

Updated by Dan Smith almost 12 years ago

NOTE: The problem is similar to what we saw with the later revisions to the UV-5R, which is just a failure to parse the settings block.

Actions #5

Updated by Dan Smith almost 12 years ago

  • Status changed from New to Feedback

I just pushed a change for tomorrow that should let the download proceed, and skip the settings if they don't parse properly. Please grab tomorrow's build, acquire a radio image if possible, and attach it to this issue.

Actions #6

Updated by Chris Toensing almost 12 years ago

Issue resolved, thanks. Donation on its way.

Actions #7

Updated by Dan Smith almost 12 years ago

Thanks!

We're looking for the .img file, which is the result of a File->Save As operation. It gives us an exact mapping of the radio's internals. We need this in order to support the radio's settings in addition to the memories.

Just to confirm, did it upload to the radio as well?

Actions #8

Updated by Chris Toensing almost 12 years ago

Think the attached .img file is what you asked for. If not, let me know.

Actions #9

Updated by Jim Unroe almost 12 years ago

  • Status changed from Feedback to In Progress
  • Assignee set to Jim Unroe

Thanks for the image file Chris. After reviewing the image file I have located where the "List index out of range" is occurring. I will work on a patch and submit it in the next few days.

Actions #10

Updated by Jim Unroe almost 12 years ago

  • Status changed from In Progress to Closed
Actions #11

Updated by Jim Unroe almost 12 years ago

  • Status changed from Closed to In Progress

Reopened do to a mistake in the vfoa and vfob structures.
A mistake in these structures caused the VFO A Tuning Step and VFO B Tuning Step settings of the Work Mode Settings tab to stop working.

Actions #12

Updated by Jim Unroe about 11 years ago

  • Status changed from In Progress to Closed
  • Target version set to 0.4.0

This issue has been addressed.

Actions

Also available in: Atom PDF