Page 1 of 1

"Grid index out of range." error in IR

Posted: Wed Oct 07, 2009 8:41 pm
by lordfoul
Whenever I try to edit or clone a Key Move I get the "Grid index out of range." error.

I couldn't find anything in search. Does anyone have any advice?
I am using Version 8.01 RC8

Thank You

Posted: Thu Oct 08, 2009 2:35 am
by mathdon
Can you please post the .ir file you are using in the Diagnostics part of the File Section and post a link to it in this thread. It is not a general error, as I've just tried it once again in case I had introduced a bug since the original testing, so I think it must be something specific to your data.
_______________
Graham

Posted: Thu Oct 08, 2009 3:52 am
by lordfoul
I uploaded my .ir file here

https://www.hifi-remote.com/forums/dload ... le_id=7351

Thank you

Posted: Thu Oct 08, 2009 7:36 am
by mathdon
Thank you for the .ir file, and thank you also for helping me to debug IR 8.01. There was a bug in RC8 that is also present in all earlier IR 8.01 drafts and even in IR 8.00, but it only affects remotes that have a nonzero Device Code Offset. This is not common among remotes, which is why it has escaped detection before now. I have corrected it and issued IR 8.01 RC9.

Please try this and let us know if it has solved your problem. If you find any other problems with IR 8.01 RC9, do please report them. It is always good when someone tries development versions on an unusual remote such as yours, as it can bring issues to light that have remained un-noticed.

The thread in which the development of IR 8.01 is being discussed is this one, though it is not obvious as its title is now out of date. That would be the best place to report any other bugs while it is still in development. When it is officially issued, bugs should be reported in the Annoucement that will be posted in the Software forum.
________________
Graham

Posted: Thu Oct 08, 2009 7:52 am
by lordfoul
Excellent, I can now edit and clone Key Moves. So far everything else seems to be working. I will put it through it's paces when my JP1 cable arrives.


Thank You

Posted: Thu Oct 08, 2009 8:21 am
by mathdon
I'm very pleased it works, but you will see that it opens on the wrong page. It should open on the General tab, but it actually opens on the Key Moves tab as that's the one I was working on. I've put that right, and if you download it again you will get the amended one.
_______________
Graham

Posted: Thu Oct 08, 2009 8:33 am
by lordfoul
Ahh.. I hadn't noticed as Key Moves were on my mind.. got the new one now.. opens on General.

Posted: Thu Oct 08, 2009 8:50 am
by mathdon
lordfoul wrote:Ahh.. I hadn't noticed as Key Moves were on my mind.
Not only is that why I didn't notice, either, but it's even why it happened! :) It opens on the last tab I was working on before I compile it. I have to be very careful to make sure that is the General tab, and this time I forgot! :)
______________
Graham

Posted: Thu Oct 08, 2009 3:35 pm
by mdavej
lordfoul,

This is OT, but I looked at your IR file as well. Looks good. I have some suggestions and comments though.

Your all-off macro is on the on/off button. But this will prevent you from ever being able to turn just one device off at a time. Better to change that one to Shift-On/Off. So Shift-On/Off is all-off, and On/Off functions normally in all device modes.

I also noticed you had a lot of shifted number keys. That's perfectly fine, but they work a little different from other shifted keys. When you use them on the remote, you have to press shift TWICE. This is because when you press one shift and followed by a number, the remote thinks you're trying to enter a code. To get around this, you have to press shift twice. However, shifted numbers in macros work like all shifted keys, without the double shift. So you don't have to do anything special for those.

Posted: Thu Oct 08, 2009 5:45 pm
by Capn Trips
mdavej wrote: lordfoul,

This is OT, but I looked at your IR file as well. Looks good. I have some suggestions and comments though.

Your all-off macro is on the on/off button. But this will prevent you from ever being able to turn just one device off at a time.
Not exactly. "On/Off" will of course run the macro, but shift-"on/off" will execute the underlying function for the current device mode.
mdavej wrote: Better to change that one to Shift-On/Off. So Shift-On/Off is all-off, and On/Off functions normally in all device modes.
So doing what mdave suggests will result in the behavior he describes, while leaving it the way you currently have it, will yield the REVERSE behavior, so either way you still have acces to the individual Power commands as well as the All Off macro.

It's your choice.

Posted: Thu Oct 08, 2009 7:17 pm
by mdavej
Good point. I almost mentioned that, but I've been using extenders for so long, I couldn't remember if shift cloaking worked outside of extenders or not :oops:

Posted: Thu Oct 08, 2009 8:18 pm
by lordfoul
I feel a little naked.. I didn't think anyone would look at my "not ready for prime time" config.

Regarding shifted number keys. When using them in a macro will i have to do a shift twice also?.
I will probably not use these keys outside of macros as I will keymap the TV "Source" button to each device.

Posted: Thu Oct 08, 2009 8:33 pm
by ElizabethD
Set-Set-number needed for use from the keyboard, not in macros. In macros Shift-number (set-number) is ok.

Posted: Thu Oct 08, 2009 8:37 pm
by ElizabethD
mdavej wrote:Good point. I almost mentioned that, but I've been using extenders for so long, I couldn't remember if shift cloaking worked outside of extenders or not :oops:
I don't think it does. Just few days ago I used something unextended and I'm pretty sure it didn't, but it may have been some other bug I did.

Posted: Thu Oct 08, 2009 9:04 pm
by lordfoul
I do plan on using the extender 2 for the RCU810 (I am rebuilding on IR using the Extender 2 profile now). Does it support shift cloaking?