Modify

#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)

IE_error.jpg (28.0 KB ) - added by anonymous on Nov 9, 2009 at 7:13:51 AM.
DownloadAVDefs.zip (1006 bytes ) - added by anonymous on Nov 9, 2009 at 7:14:13 AM.

Download all attachments as: .zip

Change History (4)

by anonymous, on Nov 9, 2009 at 7:13:51 AM

Attachment: IE_error.jpg added

by anonymous, on Nov 9, 2009 at 7:14:13 AM

Attachment: DownloadAVDefs.zip added

comment:1 by DaleHohm, on Nov 11, 2009 at 9:02:51 PM

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

comment:2 by Valik, on Nov 11, 2009 at 9:08:10 PM

Resolution: No Bug
Status: newclosed

Closing due to Dale's comments, thanks Dale.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.