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.
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.
set dbg = True at the top, and log will be put in pymailmerge.log in the root dir of the install under windows
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyBeginner SkillPython)