Mailing List Archive

[DBMail 0000983]: dbmail Python module not working with Python 2.7 and dbmail 3
A NOTE has been added to this issue.
======================================================================
http://www.dbmail.org/mantis/view.php?id=983
======================================================================
Reported By: cmayo
Assigned To:
======================================================================
Project: DBMail
Issue ID: 983
Category: General
Reproducibility: always
Severity: major
Priority: normal
Status: new
target:
======================================================================
Date Submitted: 09-Sep-12 22:29 CEST
Last Modified: 22-Jul-16 21:07 CEST
======================================================================
Summary: dbmail Python module not working with Python 2.7 and
dbmail 3
Description:
Some suggestions for improvements to the Python module:

0001 - pyflakes reported unused imports and filter variable
0002 - use Python's built in ConfigParser to read dbmail.conf. Only used
inside the module, the external interface is preserved
0003 - driver name in dbmail 3 is postgresql not pgsql
0004 - raising strings was deprecated in Python 2.5 and is not supported in
Python 2.7
0005 - update testDbmail.py for changes in dbmail.conf and remove unused
error strings.
I haven't tested autoreply.

======================================================================

----------------------------------------------------------------------
(0003485) paul (administrator) - 10-Sep-12 10:40
http://www.dbmail.org/mantis/view.php?id=983#c3485
----------------------------------------------------------------------
Why the 'major' severity? Is anyone actually using that - very old - code?

----------------------------------------------------------------------
(0003486) cmayo (reporter) - 11-Sep-12 20:40
http://www.dbmail.org/mantis/view.php?id=983#c3486
----------------------------------------------------------------------
I would say the severity couldn't be more major - it doesn't work any
more!

But the priority may well be a lot less. I agree it seems unlikely anyone
is trying to use it. I'm not - I just tried it out as a result of an
installation.

I do suggest to either fix it up or remove it.

----------------------------------------------------------------------
(0003739) cmayo (reporter) - 22-Jul-16 21:07
http://www.dbmail.org/mantis/view.php?id=983#c3739
----------------------------------------------------------------------
python directory removed before 3.1.0:
http://git.dbmail.eu/paul/dbmail/commit/?id=306b095ac11d3075da8ed6c155b8df6330af64cb


Issue History
Date Modified Username Field Change
======================================================================
09-Sep-12 22:29 cmayo New Issue
09-Sep-12 22:29 cmayo File Added:
0001-Python-remove-unused-imports-and-variable.patch
09-Sep-12 22:29 cmayo Note Added: 0003484
09-Sep-12 22:29 cmayo Note Deleted: 0003484
09-Sep-12 22:30 cmayo File Added:
0002-Python-replace-bespoke-configuration-file-parsing.patch
09-Sep-12 22:30 cmayo File Added:
0003-Python-Update-storage-check-from-pgsql-to-postgresql.patch

09-Sep-12 22:30 cmayo File Added:
0004-Python-raise-exceptions-as-Exception-objects.patch
09-Sep-12 22:30 cmayo File Added:
0005-Python-bring-test-script-up-to-date.patch
10-Sep-12 10:40 paul Note Added: 0003485
11-Sep-12 20:40 cmayo Note Added: 0003486
22-Jul-16 21:07 cmayo Note Added: 0003739
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev