win32com problem (146 and 2.2)

Joe Smith JoeSmith at bogusaddress.com
Sat Mar 23 15:25:28 EST 2002


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.




More information about the Python-list mailing list