Modify

Opened 10 years ago

Closed 10 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)

IE_error.jpg (28.0 KB) - added by anonymous 10 years ago.
DownloadAVDefs.zip (1006 bytes) - added by anonymous 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by anonymous

Changed 10 years ago by anonymous

comment:1 Changed 10 years ago by DaleHohm

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 Changed 10 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.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.