Bug 38845 - [EasyHack] Make python / mail-merge debuggable
Summary: [EasyHack] Make python / mail-merge debuggable
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Hardware: Other All
: medium normal
Assignee: Caolán McNamara
Keywords: difficultyBeginner, easyHack, skillPython
Depends on:
Reported: 2011-06-30 09:43 UTC by Björn Michaelsen
Modified: 2015-12-15 23:18 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Björn Michaelsen 2011-06-30 09:43:05 UTC
Make python / mail-merge debuggable

Background: We have a mail-merge module, which uses the python mail API that we bundle. The code lives in scripting/source/pyprov/ and (of course) can be edited and tweaked at run time. Unfortunately, we have a steady flow of bugs from this code - which are primarily around error reporting: if people enter bad server information, or wrong port numbers, or have any number of problems - the error reporting is terrible. Thus we get lots of reports of the form "it doesn't work". We really need better diagnostic, and preferably GUI feedback from the delivery code to help here.

Skills: python
Comment 1 Caolán McNamara 2011-08-19 16:04:12 UTC
Prior to http://cgit.freedesktop.org/libreoffice/core/commit/?id=d5e37900cd73f838abd663b8e93a57c5a991e790 all failures at send time were claimed to be invalid addresses. Now at least on failure to send the exception should be shown in the message area of that dialog.

Probably the same approach for the configuration test dialog would be sufficient.
Comment 3 Caolán McNamara 2011-11-16 05:15:22 UTC
set dbg = True at the top, and log will be put in pymailmerge.log in the root dir of the install under windows
Comment 4 Robinson Tryon (qubit) 2015-12-15 23:18:26 UTC
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyBeginner SkillPython)