Modify ↓
Opened 16 years ago
Closed 16 years ago
#1292 closed Bug (No Bug)
_IETagNameGetCollection
| Reported by: | Wooltown | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.0.0 | Severity: | None |
| Keywords: | Cc: |
Description
I have a script which is downloading the anti virus files from symantec, but if the script doesn't reach internet I get an error calling _IETagNameGetCollection, that function is calling _IEDocGetObj and that is where the error occur.
Attaching script and erro message.
Attachments (2)
Change History (4)
by , 16 years ago
| Attachment: | IE_error.jpg added |
|---|
by , 16 years ago
| Attachment: | DownloadAVDefs.zip added |
|---|
comment:1 by , 16 years ago
comment:2 by , 16 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
Closing due to Dale's comments, thanks Dale.
Note:
See TracTickets
for help on using tickets.

This is not considered a bug.
These errors can occur in many places in IE.au3 due to the asynchronous nature of the browser and IE.au3. To prevent them from being fatal and allowing you to trap for them, please use _IEErrorHandlerRegister.
This error comes from attempting to access the tags in the document before the document is even instantiated. You make it much more likely for this to occur by turning off the call to _IELoadWait in _IECreate as you have and attempting to replace it with an arbitrary 3 second delay. Suggest you let it call loadwait and use _IELoadWaitTimeout to reduce the time it pauses waiting for the page to load if that is an issue for you. You can then check the return status from _IECreate for a timeout.
Dale
p.s. This would have been a good discussion in the forum rather than in Trac