Author |
|
GadgetGuy Super User
Joined: June 01 2008 Location: United States
Online Status: Offline Posts: 942
|
Posted: January 07 2015 at 07:44 | IP Logged
|
|
|
Dave -
This morning, for some reason, I started getting a Trigger on my URLScraper1 plugin, but not sure what is in the various TEMPS passed back by the error.
Could you define the content definitions so I can debug what is happening?
Thanks.
__________________ Ken B - Live every day like it's your last. Eventually, you'll get it right!
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: January 07 2015 at 17:59 | IP Logged
|
|
|
Ken,
Scoured the source code and compiled the data below:
For URLSCRAPE1 errors, the variables of interest are:
TEMP1 = Trigger ID
TEMP2 = 0
TEMP3 = Error number
TEMP4 = scrape count that caused error
TEMP5 = blank
TEMP6 = Trigger type (27 for plugins)
TEMP7 = ID of plugin
TEMP8 = 256 (Error)
TEMP9 = Trigger number
TEMP10 = Scrape URL
TEMP3 error numbers:
1 = Error occurred while initializing the socket to retrieve URL
2 = Error occurred while attempting to connect to URL
3 = Timeout while connecting to URL
4 = Error sending request to URL
5 = Timeout waiting for data to return from URL
6 = No matches found for regex
7 = No snaps returned from regex
8 = Error parsing returned HTML header
9 = Server error returning HTML
10 = General runtime error occurred while performing regex search
So TEMP3 is error number 6 which shows that not an error per se but that no matches were found for your regex expression. With a TEMP4 value of 1 and a TEMP9 value of 1, that means the particular regex expression that did not find a match is the one under [URL_1_1].
Dave.
|
Back to Top |
|
|
GadgetGuy Super User
Joined: June 01 2008 Location: United States
Online Status: Offline Posts: 942
|
Posted: January 08 2015 at 17:54 | IP Logged
|
|
|
Thanks Dave - that was a big help. Discovered my Alarm System had an error condition and that resulted in an extra space in the searched string that I had not planned on.
Easy fix, once discovered, to rework the scraper formula.
__________________ Ken B - Live every day like it's your last. Eventually, you'll get it right!
|
Back to Top |
|
|