-1000 Index is out of range.

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
Jandi Lee
Posts: 11
Joined: Wed Jan 16, 2019 6:44 am

-1000 Index is out of range.

Post by Jandi Lee » Wed Jun 08, 2022 6:23 pm

Hi. Pls help me.

I want to extract some data in URL by loop.
Loop is working well from 1st time to 60~66th times.
But in 67th time, -1000 index error pop up as below.
This error bother me.

## error message ##
2:33:19 AM: Error: "-1000: Unspecified" at line 40
SAVEAS TYPE=EXTRACT FOLDER=D: FILE=IKEA_PRODUCT_INFO1.csv
The index is out of range. The index must be non-negative and must be less than the size of the collection.
Parameter name: index


## My code ##
VERSION BUILD=2021.0
TAB T=1
TAB CLOSEALLOTHERS
SET !ERRORIGNORE YES
SET !EXTRACT_TEST_POPUP NO
SET WAIT_TEMP 1

SET !LOOP 1
SET !DATASOURCE URL.csv
SET !DATASOURCE_LINE {{!LOOP}}

URL GOTO={{!COL1}}
WAIT SECONDS={{WAIT_Temp}}

EVENT TYPE=CLICK SELECTOR="#pip-product-information-section>div:nth-child(1)>button" BUTTON=0
WAIT SECONDS={{WAIT_Temp}}

EVENT TYPE=CLICK SELECTOR="#product-details-compliance>div:nth-child(1)>button>span>span" BUTTON=0
WAIT SECONDS={{WAIT_Temp}}

TAG SELECTOR="#SEC_product-details-compliance>div:nth-child(1)>p" EXTRACT=TXT
TAG SELECTOR="#SEC_product-details-compliance>div:nth-child(6)>p" EXTRACT=TXT
TAG SELECTOR="#SEC_product-details-compliance>div:nth-child(7)>p" EXTRACT=TXT
TAG SELECTOR="#SEC_product-details-compliance>div:nth-child(8)>p" EXTRACT=TXT
TAG SELECTOR="#SEC_product-details-compliance>div:nth-child(12)>p" EXTRACT=TXT
TAG SELECTOR="#SEC_product-details-compliance>div:nth-child(13)>p" EXTRACT=TXT
WAIT SECONDS={{WAIT_Temp}}

TAG POS=1 TYPE=link ATTR=rel:canonical EXTRACT=href
WAIT SECONDS={{WAIT_Temp}}

SAVEAS TYPE=EXTRACT FOLDER=D: FILE=RESULT.csv
WAIT SECONDS={{WAIT_Temp}}


## URL ##
https://www.ikea.com/kr/ko/p/lixhult-ca ... -60476518/
https://www.ikea.com/kr/ko/p/lixhult-ca ... -00476521/
https://www.ikea.com/kr/ko/p/rashult-tr ... -50445990/
https://www.ikea.com/kr/ko/p/rashult-tr ... -90490136/
https://www.ikea.com/kr/ko/p/raskog-tro ... -00466961/
https://www.ikea.com/kr/ko/p/hoegsma-ch ... -10425611/
https://www.ikea.com/kr/ko/p/hoegsma-ch ... -90425612/
https://www.ikea.com/kr/ko/p/langsted-r ... -00495176/
https://www.ikea.com/kr/ko/p/toftlund-r ... -20481017/
https://www.ikea.com/kr/ko/p/stavreby-d ... -60481015/
https://www.ikea.com/kr/ko/p/regnskur-p ... -40482638/
https://www.ikea.com/kr/ko/p/regnskur-p ... -10437949/
https://www.ikea.com/kr/ko/p/spiken-led ... -90469149/
https://www.ikea.com/kr/ko/p/skurup-pen ... -70489520/
https://www.ikea.com/kr/ko/p/skottorp-l ... -10509564/
https://www.ikea.com/kr/ko/p/ryet-led-b ... -20447617/
https://www.ikea.com/kr/ko/p/ryet-led-b ... -90447628/
https://www.ikea.com/kr/ko/p/ryet-led-b ... -40438725/
https://www.ikea.com/kr/ko/p/strafly-ch ... -10479208/
https://www.ikea.com/kr/ko/p/justina-ch ... -20472824/
https://www.ikea.com/kr/ko/p/malinda-ch ... -50479188/
https://www.ikea.com/kr/ko/p/kapkrusbae ... -20476817/
https://www.ikea.com/kr/ko/p/borstad-sp ... -00461218/
https://www.ikea.com/kr/ko/p/buskbo-pla ... -90455374/
https://www.ikea.com/kr/ko/p/stuk-box-w ... -40474426/
https://www.ikea.com/kr/ko/p/stuk-box-w ... -00474433/
https://www.ikea.com/kr/ko/p/stuk-box-w ... -10474437/
https://www.ikea.com/kr/ko/p/stuk-box-w ... -10474442/
https://www.ikea.com/kr/ko/p/stuk-box-w ... -20474446/
https://www.ikea.com/kr/ko/p/spantad-va ... -60488984/
https://www.ikea.com/kr/ko/p/jaettelik- ... -60490091/
https://www.ikea.com/kr/ko/p/tjog-stora ... -20477666/
https://www.ikea.com/kr/ko/p/tjog-stora ... -50474609/
https://www.ikea.com/kr/ko/p/tjog-stora ... -00473914/
https://www.ikea.com/kr/ko/p/tjog-stora ... -40474619/
https://www.ikea.com/kr/ko/p/tjog-stora ... -60477669/
https://www.ikea.com/kr/ko/p/dvala-fitt ... -60482449/
https://www.ikea.com/kr/ko/p/dvala-fitt ... -60482454/
https://www.ikea.com/kr/ko/p/gurli-cush ... -60479183/
https://www.ikea.com/kr/ko/p/tromma-wal ... -60454291/
https://www.ikea.com/kr/ko/p/taggad-wal ... -80466293/
https://www.ikea.com/kr/ko/p/plira-alar ... -10466296/
https://www.ikea.com/kr/ko/p/mala-scissors-70477616/
https://www.ikea.com/kr/ko/p/mala-apron ... -10485351/
https://www.ikea.com/kr/ko/p/boerja-tra ... -00213884/
https://www.ikea.com/kr/ko/p/boerja-fee ... -20199288/
https://www.ikea.com/kr/ko/p/fabler-3-p ... -10158189/
https://www.ikea.com/kr/ko/p/annons-pot ... -50298475/
https://www.ikea.com/kr/ko/p/annons-5-p ... -30207400/
https://www.ikea.com/kr/ko/p/aptitlig-c ... -40233427/
https://www.ikea.com/kr/ko/p/aptitlig-b ... -60233431/
https://www.ikea.com/kr/ko/p/proppmaett ... -60300350/
https://www.ikea.com/kr/ko/p/mopsig-16- ... -80343004/
https://www.ikea.com/kr/ko/p/ikea-365-o ... -30286732/
https://www.ikea.com/kr/ko/p/ikea-365-o ... -60286735/
https://www.ikea.com/kr/ko/p/vardagen-o ... -90289313/
https://www.ikea.com/kr/ko/p/vardagen-o ... -30289306/
https://www.ikea.com/kr/ko/p/korken-jar ... -10213548/
https://www.ikea.com/kr/ko/p/vardagen-j ... -20291927/
https://www.ikea.com/kr/ko/p/vardagen-j ... -60291925/
https://www.ikea.com/kr/ko/p/vardagen-j ... -80291929/
https://www.ikea.com/kr/ko/p/dyrgrip-re ... -00309301/
https://www.ikea.com/kr/ko/p/dyrgrip-gl ... -10309305/
https://www.ikea.com/kr/ko/p/foersiktig ... -00300206/
https://www.ikea.com/kr/ko/p/godis-glas ... -40174588/
https://www.ikea.com/kr/ko/p/godis-glas ... -20137846/
https://www.ikea.com/kr/ko/p/ikea-365-g ... -90278362/
https://www.ikea.com/kr/ko/p/ivrig-glas ... -30258324/
https://www.ikea.com/kr/ko/p/mjoed-beer ... -40179604/
https://www.ikea.com/kr/ko/p/oanvaend-b ... -10242032/
https://www.ikea.com/kr/ko/p/pokal-snap ... -60137849/
https://www.ikea.com/kr/ko/p/reko-glass ... -20137851/
https://www.ikea.com/kr/ko/p/svalka-win ... -40137812/
https://www.ikea.com/kr/ko/p/svalka-cha ... -80137805/
https://www.ikea.com/kr/ko/p/grunka-4-p ... -50174465/
https://www.ikea.com/kr/ko/p/direkt-3-p ... -60295400/
https://www.ikea.com/kr/ko/p/fullaendad ... -20393087/
https://www.ikea.com/kr/ko/p/fullaendad ... -60393090/
https://www.ikea.com/kr/ko/p/fullaendad ... -60392986/
https://www.ikea.com/kr/ko/p/fullaendad ... -00392994/
https://www.ikea.com/kr/ko/p/ikea-365-h ... -50161590/
https://www.ikea.com/kr/ko/p/ikea-365-h ... -20161582/
https://www.ikea.com/kr/ko/p/ikea-365-h ... -00161644/
https://www.ikea.com/kr/ko/p/ikea-365-h ... -50161585/
https://www.ikea.com/kr/ko/p/idealisk-f ... -50174516/
https://www.ikea.com/kr/ko/p/koncis-tur ... -40225960/
https://www.ikea.com/kr/ko/p/koncis-can ... -80166124/
https://www.ikea.com/kr/ko/p/staem-pota ... -40233253/
https://www.ikea.com/kr/ko/p/vardagen-b ... -40309827/
https://www.ikea.com/kr/ko/p/vardagen-c ... -70309816/
https://www.ikea.com/kr/ko/p/ikea-365-v ... -50175139/
https://www.ikea.com/kr/ko/p/ikea-365-v ... -60163602/
https://www.ikea.com/kr/ko/p/vardagen-p ... -40294717/
https://www.ikea.com/kr/ko/p/vardagen-c ... -60294721/
https://www.ikea.com/kr/ko/p/vardagen-c ... -20294723/
https://www.ikea.com/kr/ko/p/voerda-par ... -90289266/
https://www.ikea.com/kr/ko/p/voerda-uti ... -90289247/
https://www.ikea.com/kr/ko/p/voerda-cle ... -40289160/
https://www.ikea.com/kr/ko/p/voerda-coo ... -00289237/
https://www.ikea.com/kr/ko/p/voerda-chi ... -80289163/


## I installed below. ##
iMacros Professional Edition
iMacros Browser 2021.0
Windows10 Pro-64 (v.19044.1706)


Pls help me.
Thank you!

Jandi Lee
chivracq
Posts: 10134
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: -1000 Index is out of range.

Post by chivracq » Wed Jun 08, 2022 7:54 pm

Jandi Lee wrote:
Wed Jun 08, 2022 6:23 pm
Hi. Pls help me.

I want to extract some data in URL by loop.
Loop is working well from 1st time to 60~66th times.
But in 67th time, -1000 index error pop up as below.
This error bother me.

## error message ##

Code: Select all

2:33:19 AM: Error: "-1000: Unspecified" at line 40
SAVEAS TYPE=EXTRACT FOLDER=D: FILE=IKEA_PRODUCT_INFO1.csv
The index is out of range. The index must be non-negative and must be less than the size of the collection.
Parameter name: index

## My code ##

Code: Select all

VERSION BUILD=2021.0
TAB T=1
TAB CLOSEALLOTHERS
SET !ERRORIGNORE YES
SET !EXTRACT_TEST_POPUP NO
SET WAIT_TEMP 1

SET !LOOP 1
SET !DATASOURCE URL.csv
SET !DATASOURCE_LINE {{!LOOP}}

URL GOTO={{!COL1}}
WAIT SECONDS={{WAIT_Temp}}

EVENT TYPE=CLICK SELECTOR="#pip-product-information-section>div:nth-child(1)>button" BUTTON=0
WAIT SECONDS={{WAIT_Temp}}

EVENT TYPE=CLICK SELECTOR="#product-details-compliance>div:nth-child(1)>button>span>span" BUTTON=0
WAIT SECONDS={{WAIT_Temp}}

TAG SELECTOR="#SEC_product-details-compliance>div:nth-child(1)>p" EXTRACT=TXT
TAG SELECTOR="#SEC_product-details-compliance>div:nth-child(6)>p" EXTRACT=TXT
TAG SELECTOR="#SEC_product-details-compliance>div:nth-child(7)>p" EXTRACT=TXT
TAG SELECTOR="#SEC_product-details-compliance>div:nth-child(8)>p" EXTRACT=TXT
TAG SELECTOR="#SEC_product-details-compliance>div:nth-child(12)>p" EXTRACT=TXT
TAG SELECTOR="#SEC_product-details-compliance>div:nth-child(13)>p" EXTRACT=TXT
WAIT SECONDS={{WAIT_Temp}}

TAG POS=1 TYPE=link ATTR=rel:canonical EXTRACT=href
WAIT SECONDS={{WAIT_Temp}}

SAVEAS TYPE=EXTRACT FOLDER=D: FILE=RESULT.csv
WAIT SECONDS={{WAIT_Temp}}

## URL ##

Code: Select all

https://www.ikea.com/kr/ko/p/lixhult-cabinet-metal-blue-60476518/
https://www.ikea.com/kr/ko/p/lixhult-cabinet-metal-anthracite-00476521/
https://www.ikea.com/kr/ko/p/rashult-trolley-white-50445990/
https://www.ikea.com/kr/ko/p/rashult-trolley-pink-red-90490136/
https://www.ikea.com/kr/ko/p/raskog-trolley-red-00466961/
https://www.ikea.com/kr/ko/p/hoegsma-chopping-board-bamboo-10425611/
https://www.ikea.com/kr/ko/p/hoegsma-chopping-board-bamboo-90425612/
https://www.ikea.com/kr/ko/p/langsted-rug-low-pile-light-blue-00495176/
https://www.ikea.com/kr/ko/p/toftlund-rug-grey-20481017/
https://www.ikea.com/kr/ko/p/stavreby-door-mat-indoor-handmade-braided-natural-60481015/
https://www.ikea.com/kr/ko/p/regnskur-pendant-lamp-shade-oval-pink-40482638/
https://www.ikea.com/kr/ko/p/regnskur-pendant-lamp-shade-round-white-10437949/
https://www.ikea.com/kr/ko/p/spiken-led-night-light-otter-shaped-battery-operated-multicolour-90469149/
https://www.ikea.com/kr/ko/p/skurup-pendant-lamp-dark-green-70489520/
https://www.ikea.com/kr/ko/p/skottorp-lamp-shade-light-grey-10509564/
https://www.ikea.com/kr/ko/p/ryet-led-bulb-e26-1055-lumen-globe-opal-white-20447617/
https://www.ikea.com/kr/ko/p/ryet-led-bulb-e26-1521-lumen-globe-opal-white-90447628/
https://www.ikea.com/kr/ko/p/ryet-led-bulb-e26-806-lumen-globe-opal-white-40438725/
https://www.ikea.com/kr/ko/p/strafly-chair-pad-black-10479208/
https://www.ikea.com/kr/ko/p/justina-chair-pad-red-20472824/
https://www.ikea.com/kr/ko/p/malinda-chair-cushion-dark-brown-red-50479188/
https://www.ikea.com/kr/ko/p/kapkrusbaer-hanging-planter-grey-green-20476817/
https://www.ikea.com/kr/ko/p/borstad-spray-bottle-00461218/
https://www.ikea.com/kr/ko/p/buskbo-plant-stand-rattan-90455374/
https://www.ikea.com/kr/ko/p/stuk-box-with-compartments-white-40474426/
https://www.ikea.com/kr/ko/p/stuk-box-with-compartments-white-00474433/
https://www.ikea.com/kr/ko/p/stuk-box-with-compartments-white-10474437/
https://www.ikea.com/kr/ko/p/stuk-box-with-compartments-white-10474442/
https://www.ikea.com/kr/ko/p/stuk-box-with-compartments-white-20474446/
https://www.ikea.com/kr/ko/p/spantad-vacuum-sealed-bag-light-grey-60488984/
https://www.ikea.com/kr/ko/p/jaettelik-box-patterned-60490091/
https://www.ikea.com/kr/ko/p/tjog-storage-box-with-lid-dark-grey-20477666/
https://www.ikea.com/kr/ko/p/tjog-storage-box-with-lid-dark-beige-50474609/
https://www.ikea.com/kr/ko/p/tjog-storage-box-with-lid-dark-beige-00473914/
https://www.ikea.com/kr/ko/p/tjog-storage-box-with-lid-dark-beige-40474619/
https://www.ikea.com/kr/ko/p/tjog-storage-box-with-lid-dark-grey-60477669/
https://www.ikea.com/kr/ko/p/dvala-fitted-sheet-light-grey-60482449/
https://www.ikea.com/kr/ko/p/dvala-fitted-sheet-light-grey-60482454/
https://www.ikea.com/kr/ko/p/gurli-cushion-cover-brown-yellow-60479183/
https://www.ikea.com/kr/ko/p/tromma-wall-clock-white-60454291/
https://www.ikea.com/kr/ko/p/taggad-wall-clock-white-grey-80466293/
https://www.ikea.com/kr/ko/p/plira-alarm-clock-turquoise-10466296/
https://www.ikea.com/kr/ko/p/mala-scissors-70477616/
https://www.ikea.com/kr/ko/p/mala-apron-with-long-sleeves-yellow-10485351/
https://www.ikea.com/kr/ko/p/boerja-training-beaker-00213884/
https://www.ikea.com/kr/ko/p/boerja-feeding-spoon-and-baby-spoon-20199288/
https://www.ikea.com/kr/ko/p/fabler-3-piece-cutlery-set-stainless-steel-10158189/
https://www.ikea.com/kr/ko/p/annons-pot-with-lid-glass-stainless-steel-50298475/
https://www.ikea.com/kr/ko/p/annons-5-piece-cookware-set-glass-stainless-steel-30207400/
https://www.ikea.com/kr/ko/p/aptitlig-chopping-board-bamboo-40233427/
https://www.ikea.com/kr/ko/p/aptitlig-butchers-block-bamboo-60233431/
https://www.ikea.com/kr/ko/p/proppmaett-chopping-board-60300350/
https://www.ikea.com/kr/ko/p/mopsig-16-piece-cutlery-set-80343004/
https://www.ikea.com/kr/ko/p/ikea-365-oven-dish-white-30286732/
https://www.ikea.com/kr/ko/p/ikea-365-oven-dish-white-60286735/
https://www.ikea.com/kr/ko/p/vardagen-oven-dish-oval-off-white-90289313/
https://www.ikea.com/kr/ko/p/vardagen-oven-dish-oval-off-white-30289306/
https://www.ikea.com/kr/ko/p/korken-jar-with-lid-clear-glass-10213548/
https://www.ikea.com/kr/ko/p/vardagen-jar-with-lid-clear-glass-20291927/
https://www.ikea.com/kr/ko/p/vardagen-jar-with-lid-clear-glass-60291925/
https://www.ikea.com/kr/ko/p/vardagen-jar-with-lid-clear-glass-80291929/
https://www.ikea.com/kr/ko/p/dyrgrip-red-wine-glass-clear-glass-00309301/
https://www.ikea.com/kr/ko/p/dyrgrip-glass-clear-glass-10309305/
https://www.ikea.com/kr/ko/p/foersiktigt-wine-glass-00300206/
https://www.ikea.com/kr/ko/p/godis-glass-clear-glass-40174588/
https://www.ikea.com/kr/ko/p/godis-glass-clear-glass-20137846/
https://www.ikea.com/kr/ko/p/ikea-365-goblet-clear-glass-90278362/
https://www.ikea.com/kr/ko/p/ivrig-glass-clear-glass-30258324/
https://www.ikea.com/kr/ko/p/mjoed-beer-tankard-clear-glass-40179604/
https://www.ikea.com/kr/ko/p/oanvaend-beer-glass-clear-glass-10242032/
https://www.ikea.com/kr/ko/p/pokal-snaps-glass-clear-glass-60137849/
https://www.ikea.com/kr/ko/p/reko-glass-clear-glass-20137851/
https://www.ikea.com/kr/ko/p/svalka-wine-glass-clear-glass-40137812/
https://www.ikea.com/kr/ko/p/svalka-champagne-glass-clear-glass-80137805/
https://www.ikea.com/kr/ko/p/grunka-4-piece-kitchen-utensil-set-stainless-steel-50174465/
https://www.ikea.com/kr/ko/p/direkt-3-piece-kitchen-utensil-set-60295400/
https://www.ikea.com/kr/ko/p/fullaendad-whisk-grey-20393087/
https://www.ikea.com/kr/ko/p/fullaendad-soup-ladle-grey-60393090/
https://www.ikea.com/kr/ko/p/fullaendad-turner-grey-60392986/
https://www.ikea.com/kr/ko/p/fullaendad-pasta-server-grey-00392994/
https://www.ikea.com/kr/ko/p/ikea-365-hjaelte-skimmer-stainless-steel-black-50161590/
https://www.ikea.com/kr/ko/p/ikea-365-hjaelte-cooking-tweezers-stainless-steel-black-20161582/
https://www.ikea.com/kr/ko/p/ikea-365-hjaelte-wok-spatula-stainless-steel-black-00161644/
https://www.ikea.com/kr/ko/p/ikea-365-hjaelte-deep-fry-skimmer-stainless-steel-black-50161585/
https://www.ikea.com/kr/ko/p/idealisk-flour-sifter-stainless-steel-50174516/
https://www.ikea.com/kr/ko/p/koncis-turner-stainless-steel-40225960/
https://www.ikea.com/kr/ko/p/koncis-can-opener-stainless-steel-80166124/
https://www.ikea.com/kr/ko/p/staem-potato-peeler-red-green-blue-40233253/
https://www.ikea.com/kr/ko/p/vardagen-balloon-whisk-40309827/
https://www.ikea.com/kr/ko/p/vardagen-cooking-tweezers-70309816/
https://www.ikea.com/kr/ko/p/ikea-365-vaerdefull-potato-peeler-black-50175139/
https://www.ikea.com/kr/ko/p/ikea-365-vaerdefull-garlic-press-black-60163602/
https://www.ikea.com/kr/ko/p/vardagen-paring-knife-dark-grey-40294717/
https://www.ikea.com/kr/ko/p/vardagen-cooks-knife-dark-grey-60294721/
https://www.ikea.com/kr/ko/p/vardagen-cooks-knife-dark-grey-20294723/
https://www.ikea.com/kr/ko/p/voerda-paring-knife-black-90289266/
https://www.ikea.com/kr/ko/p/voerda-utility-knife-black-90289247/
https://www.ikea.com/kr/ko/p/voerda-cleaver-black-40289160/
https://www.ikea.com/kr/ko/p/voerda-cooks-knife-black-00289237/
https://www.ikea.com/kr/ko/p/voerda-chinese-chopper-black-80289163/

## I installed below. ##

Code: Select all

iMacros Professional Edition
iMacros Browser 2021.0
Windows10 Pro-64 (v.19044.1706)

Pls help me.
Thank you!

Jandi Lee

Yeah..., "Pls help me", but without me, I'm afraid, this time...:
I had "been nice" in your last/previous Thread by doing quite some Testing in that Thread and posting a full Script..., to "realize" a bit later that you had not followed up in your 2 previous Threads, ... that I asked to follow up and finish "a bit correctly", but again, no Follow-up at all..., then I guess, I'll "pass on this one"... The Forum is mostly "(Advanced) Users helping Users", we are all Volunteers helping other Users in our "Free Time"... :|

But OK, I'll ping @TechSup if they want to have a look at your Case, especially for using iMB v2021 with a 'Pro' License..., you should have "Direct Access" to Support for 1 year actually, if you have a 'Pro' License... :o
And I "suspect" this Error Msg you are getting about "-1000: Unspecified" + "Index is out of range." is specific to iMB v14.x/v2021, I wouldn't be able to test anyway..., your Script probably works correctly in the FCI('s) I use myself... :P

(And you'd still have to follow up and finish your 3 previous Threads "correctly" for me to help you again for any "future Thread(s)"... :idea: )
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- I don't even read the Qt if that (required) Info is not mentioned...!
- Script & URL help a lot for more "educated" Help...
Jandi Lee
Posts: 11
Joined: Wed Jan 16, 2019 6:44 am

Re: -1000 Index is out of range.

Post by Jandi Lee » Mon Jun 13, 2022 5:03 am

Hello, Chivracq
First of all, always thank you for your kind support and explanation and sorry for my no good manner in previous thread.
At that time, I didn't understand the meaning of thread. and I was so busy and read it and passed it.
I just realized the meaning of 2 previous thread. I'm so sorry about it. I just got your point.
I follow it up today. sorry, it's tooooo late. Pls forgive my no good manner.

FYI, I'm normal person. not programmer.
In order to do business more efficiency, I found out Imacros, it is really helpful.
Sometimes unsuspected error pop up, it is still difficult for me.
But I believe this forum help me, so I love Imacros and forum.
Always thank you so much this good program and kind support.

My license is mentioned below.
iMacrosEdition=Professional
Service Expires=08/12/2022

I hope to know what I should do.
Thank you a lot.

Best regards
Jandi Lee
chivracq
Posts: 10134
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: -1000 Index is out of range.

Post by chivracq » Mon Jun 13, 2022 9:43 am

Jandi Lee wrote:
Mon Jun 13, 2022 5:03 am
Hello, Chivracq
First of all, always thank you for your kind support and explanation and sorry for my no good manner in previous thread.
At that time, I didn't understand the meaning of thread. and I was so busy and read it and passed it.
I just realized the meaning of 2 previous thread. I'm so sorry about it. I just got your point.
I follow it up today. sorry, it's tooooo late. Pls forgive my no good manner.

FYI, I'm normal person. not programmer.
In order to do business more efficiency, I found out Imacros, it is really helpful.
Sometimes unsuspected error pop up, it is still difficult for me.
But I believe this forum help me, so I love Imacros and forum.
Always thank you so much this good program and kind support.

My license is mentioned below.

Code: Select all

iMacrosEdition=Professional
Service Expires=08/12/2022
I hope to know what I should do.
Thank you a lot.

Best regards
Jandi Lee

Ah...!, alright, Thanks for your Reply, ... and following up and finishing your 3 previous Threads (= "Topics" on the Forum :wink: ) neatly and useful for the Community... :D

Then well..., concerning this one, I "really" suspect the Error you are getting will be specific to iMB v14.x that you are using, => @TechSup will need to have a look, I cannot do any Testing myself as I don't have this Version... :|

"Service Expires=08/12/2022", not sure what Date Format you use in Asia and if "08/12/2022" means "2022-12-08" (European Date Format) or "2022-08-12" (US Date Format), but in both Cases, you would still have Direct Access to Support, and I "think", here is the Link to open a Support Ticket... :idea:

I had already pinged @TechSup, 5 days ago now already, when I had posted my previous Reply, but they still haven't checked the Forum since, so you might get quicker Support if you open a Ticket yourself..., and it would be "nice" if you then "later" could still post the "Solution" in this current Thread, as it could still help other Users, ... and I'll be "curious" myself also... :idea:
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- I don't even read the Qt if that (required) Info is not mentioned...!
- Script & URL help a lot for more "educated" Help...
Tom, Tech Support
Posts: 3779
Joined: Mon May 31, 2010 4:59 pm

Re: -1000 Index is out of range.

Post by Tom, Tech Support » Tue Jun 14, 2022 8:53 am

chivracq wrote:
Mon Jun 13, 2022 9:43 am
I had already pinged @TechSup, 5 days ago now already, when I had posted my previous Reply, but they still haven't checked the Forum since, so you might get quicker Support if you open a Ticket yourself..., and it would be "nice" if you then "later" could still post the "Solution" in this current Thread, as it could still help other Users, ... and I'll be "curious" myself also... :idea:
Yes, the best course of action for an issue like this since you are an existing customer is to open a tech support case (use the link chivracq already posted).

@Jandi Lee, have you already done this?
Regards,

Tom, iMacros Support
Jandi Lee
Posts: 11
Joined: Wed Jan 16, 2019 6:44 am

Re: -1000 Index is out of range.

Post by Jandi Lee » Tue Jun 14, 2022 12:23 pm

Hello, Chivracq and Tom.
I done it and the case number is 01146818.
Once any answer from tech support, I'll share it in forum. Hope to solve this soon.
Thank you so much for kind help. :D

By the way, what is latest version of iMacros Browser?
I'm using below.
iMacros version 14.2.2.1
Released on 2021-07-31

When I have direct access, it seems to be iMacros latest version 14.2.4.
I hope to know how to upgrade this (if possible)

Thank you and Best regards
Jandi Lee
Tom, Tech Support
Posts: 3779
Joined: Mon May 31, 2010 4:59 pm

Re: -1000 Index is out of range.

Post by Tom, Tech Support » Wed Jun 15, 2022 12:39 pm

Yes, the latest version 14.2.4. You just need to download and run the installer to upgrade.
Regards,

Tom, iMacros Support
Tom, Tech Support
Posts: 3779
Joined: Mon May 31, 2010 4:59 pm

Re: -1000 Index is out of range.

Post by Tom, Tech Support » Thu Jun 23, 2022 9:20 am

Jandi Lee wrote:
Tue Jun 14, 2022 12:23 pm
Hello, Chivracq and Tom.
I done it and the case number is 01146818.
Once any answer from tech support, I'll share it in forum. Hope to solve this soon.
Thank you so much for kind help. :D
Hi Jandi,

This issue was confirmed to be a bug by one of our support techs and they are logging it for further investigation by the development team. Unfortunately, I can't provide any time frame for when the issue might be addressed. In the meantime, I would suggest only doing a smaller number of loops at one time (20 to 30 iterations), and playing the macro multiple times in order to process the entire file. You can achieve this by passing in a value for !LOOP and starting the macro via the command line:

In the macro:

Code: Select all

SET !LOOP {{startRow}}
From a command prompt or in batch file:

Code: Select all

iMacros.exe -macro MyMacro -loop 30 -vars {startRow:1}
iMacros.exe -macro MyMacro -loop 60 -vars {startRow:31}
iMacros.exe -macro MyMacro -loop 90 -vars {startRow:61}
iMacros.exe -macro MyMacro -loop 120 -vars {startRow:91}
Or, if you have an Enterprise Edition and a little bit of scripting/programming knowledge, you can write a script using the iMacros scripting interface to have more fine-grained control over the looping.
Last edited by Tom, Tech Support on Thu Jun 23, 2022 11:45 am, edited 1 time in total.
Reason: Fixed -loop values in example (per chivracq's comment)
Regards,

Tom, iMacros Support
chivracq
Posts: 10134
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: -1000 Index is out of range.

Post by chivracq » Thu Jun 23, 2022 10:58 am

Tom, Tech Support wrote:
Thu Jun 23, 2022 9:20 am
Jandi Lee wrote:
Tue Jun 14, 2022 12:23 pm
Hello, Chivracq and Tom.
I done it and the case number is 01146818.
Once any answer from tech support, I'll share it in forum. Hope to solve this soon.
Thank you so much for kind help. :D
Hi Jandi,

This issue was confirmed to be a bug by one of our support techs and they are logging it for further investigation by the development team. Unfortunately, I can't provide any time frame for when the issue might be addressed. In the meantime, I would suggest only doing a smaller number of loops at one time (20 to 30 iterations), and playing the macro multiple times in order to process the entire file. You can achieve this by passing in a value for !LOOP and starting the macro via the command line:

In the macro:

Code: Select all

SET !LOOP {{startRow}}
From a command prompt or in batch file:

Code: Select all

iMacros.exe -macro MyMacro -loop 30 -vars {startRow:1}
iMacros.exe -macro MyMacro -loop 30 -vars {startRow:31}
iMacros.exe -macro MyMacro -loop 30 -vars {startRow:61}
iMacros.exe -macro MyMacro -loop 30 -vars {startRow:91}
Or, if you have an Enterprise Edition and a little bit of scripting/programming knowledge, you can write a script using the iMacros scripting interface to have more fine-grained control over the looping.

Oh...!, Thanks for the Update @Tom... :D

>>>

But hum..., I'm not "convinced" your '-loop 30' is correct for the last 3 Lines in the Batch File, I would rather expect:

Code: Select all

iMacros.exe -macro MyMacro -loop 30 -vars {startRow:1}
iMacros.exe -macro MyMacro -loop 60 -vars {startRow:31}
iMacros.exe -macro MyMacro -loop 90 -vars {startRow:61}
iMacros.exe -macro MyMacro -loop 120 -vars {startRow:91}
... or I'm "afraid" only the 1st Line will do 30 Loops [1-30], (in your Script), but the next 3 Lines will all run only 1 Loop each and abort directly after the 1st Loop, or this is at least how Looping works from "within" the iMacros Side Panel with v8.8.2 for FF + v8.9.7 for FF that I "know" better... But maybe iMB v14.x (and this '-loop' Switch) work(s) differently, that I don't know... :?
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- I don't even read the Qt if that (required) Info is not mentioned...!
- Script & URL help a lot for more "educated" Help...
Tom, Tech Support
Posts: 3779
Joined: Mon May 31, 2010 4:59 pm

Re: -1000 Index is out of range.

Post by Tom, Tech Support » Thu Jun 23, 2022 11:43 am

Yes, good catch chivracq, iMacros 2021 behaves the same way! I will edit my reply with the correct version.
Regards,

Tom, iMacros Support
chivracq
Posts: 10134
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: -1000 Index is out of range.

Post by chivracq » Thu Jun 23, 2022 11:52 am

Tom, Tech Support wrote:
Thu Jun 23, 2022 11:43 am
Yes, good catch chivracq, iMacros 2021 behaves the same way! I will edit my reply with the correct version.

Ah-ah...! :wink: :twisted:

(I leave your "original" Script in my Quote, or my Reply would miss some "Context"...)
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- I don't even read the Qt if that (required) Info is not mentioned...!
- Script & URL help a lot for more "educated" Help...
Post Reply