Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

win32com problem (146 and 2.2)

1 view
Skip to first unread message

Joe Smith

unread,
Mar 23, 2002, 3:25:28 PM3/23/02
to
A coworker gets the following error:


Traceback (most recent call last):
File "C:\My Stuff\V3\GotoYahoo.py", line 7, in ?
ie.Navigate('http://www.yahoo.com')
File "<COMObject InternetExplorer.Application>", line 2, in Navigate

pywintypes.com_error: (-2147352567, 'Exception occurred.', (0, None,
None, None,
0, -2147467259), None)


The script:


import win32com.client

ie = win32com.client.Dispatch("InternetExplorer.Application")
ie.Visible = 1

ie.Navigate('http://www.yahoo.com')


A script similar to this one was working on his machine and all of a
sudden these sort of error started occuring. So, he uninstalled
win32com (146) and python 2.2 and then reinstalled them. He was still
having the problem, so I wrote the small script above to reproduce the
proble. He says that he has not changed the configuration on his
machine and I am stumped.

Mark Hammond

unread,
Mar 24, 2002, 5:13:12 PM3/24/02
to

IE has probably just started failing. Write a WSH version, and I expect
you will find the exact same thing happening.

Check for dead and invisible IE processes.

Mark.

0 new messages