Modify ↓
Opened 15 years ago
Closed 15 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)
Changed 15 years ago by anonymous
Changed 15 years ago by anonymous
comment:1 Changed 15 years ago by DaleHohm
comment:2 Changed 15 years ago by Valik
- Resolution set to No Bug
- Status changed from new to closed
Closing due to Dale's comments, thanks Dale.
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
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