COM Error -- Urgent help
Teja
tejovathi.p at gmail.com
Tue Oct 17 09:32:55 EDT 2006
This is the trae back ,can you help me please.....
Traceback (most recent call last):
File "C:\Documents and Settings\dzxbrn\Desktop\Stop Test\13
Oct\MainThread.py", line 13, in threadFunction
obj.MyNavigate(dest) # this is gving an error.
File "C:\Documents and Settings\dzxbrn\Desktop\Stop Test\13
Oct\GenericFunctions.py", line 9, in MyNavigate
ie.Navigate(dest)
File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line
489, in __getattr__
raise AttributeError, "%s.%s" % (self._username_, attr)
AttributeError: internetexplorer.application.Navigate
None
Fredrik Lundh wrote:
> Teja wrote:
>
> > s=pythoncom.CoMarshalInterThreadInterfaceInStream(pythoncom.IID_IDispatch,ie)
> >
> > thread.start_new_thread(self.nav, (s,'www.google.com')
> >
> > I am getting an attribute error
>
> the traceback tells you what attribute Python was looking for, and may also provide
> additional clues. can you post the traceback too? make sure you include all of it.
>
> </F>
More information about the Python-list
mailing list