what does error msg "list index out of bounds(-1)"

General JP1 chit-chat. Developing special protocols, decoding IR signals, etc. Also a place to discuss Tips, Tricks, and How-To's.

Moderator: Moderators

Post Reply
jims
Posts: 5
Joined: Wed Feb 18, 2004 9:57 pm

what does error msg "list index out of bounds(-1)"

Post by jims »

I am trying to load Samsung_SIR-TS160_tuner.txt into a URC-8800. When I am all done after indicating which button should accept the code, I get the message indicated.

I have no trouble loading into a URC-8811 (as Sat: 1276).

By the way, the information I recieved from UEIC.com is that the code for TS160 is Sat : 1276. I offer this as I see that the .txt file shows Cable: 1160 which, I imagine might be an already existing code for possibly another model. I don't know about this, but I do know that 1109 is already in my URC-8811, and it does not control the TS160.

Thanks for any help.
Jim S
The Robman
Site Owner
Posts: 21893
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Typically it means you've made a reference to something that isn't defined in the RDF. For example, if your remote has 8 device buttons and you make reference to the 9th device button, that'll do it. Or, if the remote supports 10 device modes and you refer to the 11th, etc.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
gjarboni
Expert
Posts: 294
Joined: Sat Sep 20, 2003 4:55 pm
Location: Columbia, MD

Post by gjarboni »

Actually, in this instance, I think it's an IR bug when the following conditions are met.

1) You are pasting in a device with combined key move code
2) You have not yet assigned the device code to a device
3) The RDF has a "device-specific" upgrade section defined

I've just verified that the bug still exists in IR 4.02. The work around is simple -- just assign the device code you are pasting to a button BEFORE you paste it on the device tab.
jims
Posts: 5
Joined: Wed Feb 18, 2004 9:57 pm

Post by jims »

Hey, thank you gjarboni and the robman.
The solution was as gjarboni indicated.
BTY I was using IR 4.10.
The program went in beautifully, and the control handles the T160 just fine, at least with minor checking of only several commands.

Thank you verra much.

Jim S
:P :P
Jim S
jims
Posts: 5
Joined: Wed Feb 18, 2004 9:57 pm

Post by jims »

That is IR 4.01 not 4.10
Jim S
Jim S
Post Reply