this.dataSource[(line - 1)] is undefined, line: 11 (Error co

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
Download
Posts: 89
Joined: Thu Jun 02, 2011 2:08 pm

this.dataSource[(line - 1)] is undefined, line: 11 (Error co

Post by Download » Thu Feb 09, 2017 1:06 pm

Error: this.dataSource[(line - 1)] is undefined, line: 11 (Error code: -1001)
Firefox Plugin

Code: Select all

SET !DATASOURCE X:\Test2.csv
SET !LOOP 1
SET !DATASOURCE_COLUMNS 1
SET !DATASOURCE_LINE {{!LOOP}}
SET !VAR1 {{!COL1}}
ADD !EXTRACT {{!LOOP}}
'--------- test2
SET !DATASOURCE X:\Test1.csv
SET !DATASOURCE_COLUMNS 2
SET !LOOP 1
SET !VAR3 {{!COL2}}
SET !VAR2 {{!COL1}}
URL GOTO=http://XXXXXXXXXXXX.com/xxxxx/{{!VAR3}}?xxxxxxx{{!VAR2}}{{!VAR1}}xxxxxxxxxx
ADD !EXTRACT {{!VAR2}}{{!VAR1}}
WAIT SECONDS=0.25
TAG POS=1 TYPE=P ATTR=CLASS:rateType EXTRACT=TXT
TAG POS=1 TYPE=P ATTR=CLASS:rateAmount EXTRACT=TXT
TAG POS=1 TYPE=DIV ATTR=ID:requestedRateText EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER=X:\ FILE=Output_{{!VAR2}}.csv
So the run first work but on the second the error shows.
Test1.csv contain only 1 line with "test123,test456"
Post Reply