OpenERP Outlook Plugin: Error at pushing an e-mail to e.g. a parnter

Bug #798607 reported by SanKat
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
In Progress
Medium
OpenERP Publisher's Warranty Team

Bug Description

Hello,

we tried out the the OpenERP Outlook Plugin unfortunately without success. If we try to push an e-mail to a partner, product, lead, account invoice or sales order, an error occurs:

(-2147352567, 'Ausnahmefehler aufgetreten.', (1271, u'Collaboration Data Objects', u' [Collaboration Data Objects - [MAPI_E_NOT_FOUND(8004010F)]]', None, 0, -2147221233), None)

-> "Ausnahmefehler aufgetreten" is German and means: exception error occurred

Used System Properties:

Outlook Plugin Vers. 1.0 (trunk revision 4396)
Outlook 2003 SP3
Python 2.6.6 + pywin32 2.6 (build 214)

Please advise how to proceed.

Regards

Revision history for this message
SanKat (sandra-kattge) wrote :

Please see the attachment for more information and screenshots of the error message

affects: launchpad → openerp-outlook-plugin
Revision history for this message
Marco Dieckhoff (dieck) wrote :

I don't know if this is directly related or a distinct error:

We are using Outlook with an Exchange Server.

My colleague found out, we are missing headers:

In plugin/tiny_xmlrpc.py, you're looking for a MAPI headers tag, which does not exist if the mail was sent locally via Exchange Server connection, without using SMTP as transportation.
For the same reason, no Message-ID headers exists (as _no_ usual internet header exists at all).

Thus strheader = objFields.Item(mapitags.PR_TRANSPORT_MESSAGE_HEADERS) or temp1 = headers.get('Message-ID') would not work.
(If the message came in via Internet connection, we have PR_TRANSPORT_MESSAGE_HEADERS_W, but no PR_TRANSPORT_MESSAGE_HEADERS.

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Sandra, Marco,

Let me first re-assign this bug to the normal addons, as the oulook plugin is now located in the official addons (this old project is kind of deprecated and not watched anymore, so the bug was not picked up in our bug triage process).

Secondly, thanks for the great analysis Marco. Looking at Microsoft's KB [1] about the error message does not yield much more info except that it could be triggered by accessing a missing property... indeed.
Based on the scenario you are describing and the availability of the PR_TRANSPORT_MESSAGE_HEADERS(_W) properties, we should thus be able to make the plugin handle more gracefully the various cases (around here: [2]).
Perhaps in the case of local exchange messages (within PR_TRANSPORT_MESSAGE_HEADERS_W if I understand correctly), there is another header value with a unique ID we could use instead of the usual Message-ID. If you have any further info or references about these headers and their values, do not hesitate to comment.

In any case, I'm correcting the bug status to indicate that it is currently under investigation by OPW.

Thanks!

[1] http://support.microsoft.com/kb/179639
[2] http://bazaar.launchpad.net/~openerp/openobject-addons/6.0/view/head:/outlook/plugin/openerp-outlook-plugin/tiny_xmlrpc.py#L154

affects: openerp-outlook-plugin → openobject-addons
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Marco Dieckhoff (dieck) wrote :

Hi!
Thanks for investigating this bug further.

A colleague of mine will compile a set of information regarding the headers mentioned above.

Best Regards,
Marco

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.