Opened 14 years ago

Closed 14 years ago

#1292 closed Bug (No Bug)


Reported by: Wooltown Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


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 14 years ago. (1006 bytes) - added by anonymous 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by anonymous

Changed 14 years ago by anonymous

comment:1 Changed 14 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.


p.s. This would have been a good discussion in the forum rather than in Trac

comment:2 Changed 14 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

as closed The ticket will remain with no owner.

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

Note: See TracTickets for help on using tickets.