Bugs item #1255370, was opened at 2005-08-10 09:33
Message generated for change (Comment added) made by mhammond
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1255370&group_id=78018
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: com
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: David Ward (dpward)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problem using MS Collaboration Data Objects with build 204
Initial Comment:
We are having problems using Microsoft's Collaboration
Data Objects (CDO) to send e-mail with pywin32 build
204. Our Python code works perfectly with win32all
build 163. Preliminary testing with pywin32 build 200
seemed to indicate that our code works with that as
well. This is the end of the traceback message we are
getting:
File "C:\Program
Files\NeTTS\ctb\common\eventplugins\emailoutlook\RAg
ent.py", line 604, in SendEmail
msg.Update()
File "<COMObject <unknown>>", line 3, in Update
File "C:\Python23\Lib\site-
packages\win32com\client\dynamic.py", line 251, in
_ApplyTypes_
result = self._oleobj_.InvokeTypes(*(dispid, LCID,
wFlags, retType, argTypes) + args)
com_error: (-2147352567, 'Exception occurred.',
(1087, 'Collaboration Data Objects', ' [Collaboration Data
Objects - [E_INVALIDARG(80070057)]]', None, 0, -
2147024809), None)
Do you know what change in pywin32 is causing this?
Thanks for your help.
----------------------------------------------------------------------
>Comment By: Mark Hammond (mhammond)
Date: 2005-10-23 22:23
Message:
Logged In: YES
user_id=14198
Did you try providing the optional args? Did it help?
Thanks.
----------------------------------------------------------------------
Comment By: David Ward (dpward)
Date: 2005-08-10 14:06
Message:
Logged In: YES
user_id=1326408
No, the only difference is pywin32 itself. Something in
pywin32 has changed between builds 200 and 204 that is
breaking CDO.
To test this, we started with a clean VMware image with
Windows XP and Office XP. We booted from this image and
installed Python and pywin32 build 204. We ran our code,
and it returned the error above. Then we reverted to the
clean VMware image again. We did everything *exactly* the
same, except that we installed win32all build 163, but this
time our code worked perfectly. We reverted VMware again to
the base image, and then used win32all build 200, and also
did not notice any problems. The *only* difference in all
of these three situations was the pywin32/win32all build
version.
----------------------------------------------------------------------
Comment By: Mark Hammond (mhammond)
Date: 2005-08-10 12:36
Message:
Logged In: YES
user_id=14198
I've never heard anything similar. You could try explicitly
providing any optional args to "Update()", as I believe a
subtle change was made to the way default arguments are
passed. If it possible something else changed - eg, new CDO
version, or the code now using makepy when it previously was
not, etc?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1255370&group_id=78018
|