[Tutor] Catching OLE error
Danny Yoo
dyoo at hkn.eecs.berkeley.edu
Fri Jul 15 02:52:46 CEST 2005
> > So the errors are getting raised before Python even knows there is a
> > problem, so it cannot catch them in an except block. From my very
> > limited expoerience of COM programming I'd guess that there is a type
> > mismatch somewhere either in the data you are passing in or in the
> > data you are getting back.
> >
> > But thats just a guess based on the fact that at lreast 80% of my COM
> > programming errors have been data type inconsistencies!
> I'll check it out.
Hi Bernard,
There was some previous discussion about this on the main Python newsgroup
around 2002:
http://mail.python.org/pipermail/python-list/2002-May/106238.html
http://mail.python.org/pipermail/python-list/2002-May/106257.html
I'm not sure if this situation has improved much since then; you may want
to check with the python-win32 list and see what they say:
http://mail.python.org/mailman/listinfo/python-win32
Good luck to you!
More information about the Tutor
mailing list