From: SourceForge.net <no...@so...> - 2007-03-08 15:02:52
|
Bugs item #1676463, was opened at 2007-03-08 05:05 Message generated for change (Comment added) made by miesfeld You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=1676463&group_id=119701 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: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: oorexxpert (oorexxpert) >Assigned to: Mark Miesfeld (miesfeld) Summary: 80004005 Processing Outlook on busy system Initial Comment: My REXX script processes a Microsoft Outlook folder. Randomly, I receive a syntax error trying to retrieve the body of an email. The dump of condition("O") is: INSTRUCTION....SIGNAL PROGRAM........C:\Documents and Settings\John Bodoh\my documents\imdb\testole.REX CONDITION......SYNTAX MESSAGE........An unknown OLE error occured (HRESULT=80004005). DESCRIPTION.... PROPAGATED.....0 ADDITIONAL.....An Array: 80004005 POSITION.......23 TRACEBACK......A List: 23 *-* body = mail_obj~body; CODE...........92.901 RC.............92 ERRORTEXT......OLE error Running the script repeatedly will result in errors on different records and a different count of records. But, it seems to always be when getting the body of the email. After much testing, I discovered that the error occurred mostly when something else was going on on the system. While the script is running (the Outlook folder I process has over 900 emails and it takes awhile for the program to run), if I start some other program (e.g., Freecell) or interact with another program (e.g., scrolling an editor) the errors will begin occurring. My program handles the errors by putting out a messsage and skipping the email. When I caused some other activity on the system, I would usually get three or four errors in a row. Then, when the other activity settled down, the errors would no longer be occurring. I have included a stripped down version of my program that will reproduce the errors. However, as I was developing the stripped down version, the more I stripped it down, the less the errors would occur. Originally, I thought it was an error in Outlook. I reproduced the program in VB and tried it as an outlook macro. I could not get the failure with the VB. The system I am running on is a Dell dual processor running Windows XP professional. I am running ooREXX version 3.1.0. ---------------------------------------------------------------------- >Comment By: Mark Miesfeld (miesfeld) Date: 2007-03-08 07:02 Message: Logged In: YES user_id=191588 Originator: NO John, Thanks for the detailed report. I'll work on this and see if I can find the root cause of the problem. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=1676463&group_id=119701 |