Debian Bug report logs - #920304
mailman3-web: mailman3web / django does not like python3-pymysql

version graph

Package: mailman3-web; Maintainer for mailman3-web is Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>; Source for mailman3-web is src:mailman-suite (PTS, buildd, popcon).

Reported by: Bjoern Franke <bjo@nord-west.org>

Date: Wed, 23 Jan 2019 21:18:02 UTC

Severity: grave

Found in versions mailman-suite/0+20180916-2~bpo9+1, mailman-suite/0+20180916-4

Fixed in version mailman-suite/0+20180916-5

Done: Pierre-Elliott Bécue <peb@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>:
Bug#920304; Package mailman3-web. (Wed, 23 Jan 2019 21:18:04 GMT) (full text, mbox, link).


Acknowledgement sent to Bjoern Franke <bjo@nord-west.org>:
New Bug report received and forwarded. Copy sent to Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>. (Wed, 23 Jan 2019 21:18:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Bjoern Franke <bjo@nord-west.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: mailman3-web: mailman3web / django does not like python3-pymysql
Date: Wed, 23 Jan 2019 22:08:23 +0100
Package: mailman3-web
Version: 0+20180916-2~bpo9+1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

upgrading mailman3-web lead to
  File
  "/usr/lib/python3/dist-packages/django/db/backends/mysql/base.py",
  line 30, in <module>
      'Did you install mysqlclient or MySQL-python?' % e
      django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb
      module: No module named 'MySQLdb'.
      Did you install mysqlclient or MySQL-python?

Somehow python3-pymysql does not provide the required module.


-- System Information:
Debian Release: 9.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mailman3-web depends on:
ii  dbconfig-sqlite3           2.0.8
ii  debconf [debconf-2.0]      1.5.61
ii  lsb-base                   9.20161125
ii  node-less                  1.6.3~dfsg-2
ii  python3                    3.5.3-1
ii  python3-django-hyperkitty  1.2.1-4~bpo9+1
ii  python3-django-postorius   1.2.2-4~bpo9+2
ii  python3-psycopg2           2.6.2-1
ii  python3-pymysql            0.7.10-1
ii  python3-whoosh             2.7.0-2
ii  ruby-sass                  3.4.23-1
ii  ucf                        3.0036
ii  uwsgi                      2.0.14+20161117-3+deb9u2
ii  uwsgi-plugin-python3       2.0.14+20161117-3+deb9u2

Versions of packages mailman3-web recommends:
ii  nginx               1.10.3-1+deb9u2
ii  nginx-full [nginx]  1.10.3-1+deb9u2

Versions of packages mailman3-web suggests:
pn  postgresql | default-mysql-server | virtual-mysql-server  <none>

-- Configuration Files:
/etc/mailman3/uwsgi.ini changed [not included]

-- debconf information:
  mailman3-web/install-error: abort
  mailman3-web/remote/host: localhost
  mailman3-web/emailname: localhost.local
  mailman3-web/pgsql/method: TCP/IP
  mailman3-web/pgsql/authmethod-admin: ident
  mailman3-web/pgsql/no-empty-passwords:
  mailman3-web/remote/newhost:
  mailman3-web/configure-webserver: none
  mailman3-web/mysql/admin-user:
  mailman3-web/missing-db-package-error: abort
  mailman3-web/remote/port:
  mailman3-web/internal/reconfiguring: false
  mailman3-web/restart-webserver: true
  mailman3-web/dbconfig-upgrade: true
  mailman3-web/django-site: lists.ffnw.de
  mailman3-web/nginx-choice:
  mailman3-web/db/app-user: mailman3web@localhost
  mailman3-web/db/dbname: mailman3web
  mailman3-web/db/basepath: /var/lib/mailman3/web
  mailman3-web/dbconfig-reinstall: false
  mailman3-web/upgrade-backup: true
  mailman3-web/database-type:
  mailman3-web/upgrade-error: abort
  mailman3-web/superuser-mail: root@localhost
  mailman3-web/internal/skip-preseed: false
  mailman3-web/pgsql/manualconf:
  mailman3-web/purge: false
  mailman3-web/pgsql/authmethod-user: password
  mailman3-web/dbconfig-remove: true
  mailman3-web/remove-error: abort
* mailman3-web/dbconfig-install: false
  mailman3-web/pgsql/admin-user: postgres
  mailman3-web/mysql/method: Unix socket
  mailman3-web/pgsql/changeconf: false
  mailman3-web/passwords-do-not-match:
  mailman3-web/superuser-name: admin



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>:
Bug#920304; Package mailman3-web. (Thu, 24 Jan 2019 20:21:14 GMT) (full text, mbox, link).


Acknowledgement sent to Bjoern Franke <bjo@nord-west.org>:
Extra info received and forwarded to list. Copy sent to Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>. (Thu, 24 Jan 2019 20:21:14 GMT) (full text, mbox, link).


Message #10 received at 920304@bugs.debian.org (full text, mbox, reply):

From: Bjoern Franke <bjo@nord-west.org>
To: 920304@bugs.debian.org
Subject: Re: Bug#920304: Acknowledgement (mailman3-web: mailman3web / django does not like python3-pymysql)
Date: Thu, 24 Jan 2019 21:09:53 +0100
Hi,


> If you wish to submit further information on this problem, please
> send it to 920304@bugs.debian.org.
> 

I got further information from the mailman3-mailinglist. The dependency
of mailman3-web is wrong, it needs python3-mysqldb, not python3-pymysql:

"You need both pymysql and mysqlclient. The former is used by Mailman
core and the latter by Django.

These can be installed with pip via

pip3 install pymysql
pip3 install mysqlclient

or apt via

apt install python3-pymysql python3-mysqldb"

Kind regards
Bjoern



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>:
Bug#920304; Package mailman3-web. (Sat, 02 Feb 2019 00:36:05 GMT) (full text, mbox, link).


Acknowledgement sent to Antoine Beaupre <anarcat@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>. (Sat, 02 Feb 2019 00:36:05 GMT) (full text, mbox, link).


Message #15 received at 920304@bugs.debian.org (full text, mbox, reply):

From: Antoine Beaupre <anarcat@debian.org>
To: Debian Bug Tracking System <920304@bugs.debian.org>
Subject: Re: mailman3-web: mailman3web / django does not like python3-pymysql
Date: Fri, 01 Feb 2019 18:13:40 -0500
Package: mailman3-web
Version: 0+20180916-4
Followup-For: Bug #920304

This actually also occurs in buster at the time of writing and should
definitely be fixed in unstable, not just in backports.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mailman3-web depends on:
pn  dbconfig-sqlite3 | dbconfig-pgsql | dbconfig-mysql | dbconfi  <none>
ii  debconf [debconf-2.0]                                         1.5.70
ii  lsb-base                                                      10.2018112800
pn  node-less                                                     <none>
ii  python3                                                       3.7.2-1
pn  python3-django-hyperkitty                                     <none>
pn  python3-django-postorius                                      <none>
ii  python3-pymysql                                               0.9.3-1
pn  python3-whoosh                                                <none>
ii  ruby-sass                                                     3.5.6-1
ii  ucf                                                           3.0038+nmu1
pn  uwsgi                                                         <none>
ii  uwsgi-plugin-python3                                          2.0.17.1-11

Versions of packages mailman3-web recommends:
ii  libapache2-mod-proxy-uwsgi  2.4.37-1

Versions of packages mailman3-web suggests:
ii  mariadb-server-10.3 [virtual-mysql-server]  1:10.3.12-2



Message sent on to Bjoern Franke <bjo@nord-west.org>:
Bug#920304. (Sat, 02 Feb 2019 17:00:03 GMT) (full text, mbox, link).


Message #18 received at 920304-submitter@bugs.debian.org (full text, mbox, reply):

From: Pierre-Elliott Bécue <peb@debian.org>
To: 920304-submitter@bugs.debian.org
Subject: Bug #920304 in mailman-suite marked as pending
Date: Sat, 02 Feb 2019 16:56:30 +0000
Control: tag -1 pending

Hello,

Bug #920304 in mailman-suite reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/mailman-team/mailman-suite/commit/3f33a8345980aec6586ce7d667d124e56cd7a63e

------------------------------------------------------------------------
d/control: Replaces python3-pymysql dependency by python3-mysqldb

This is the appropriate dependency for Mailman3 django projects.

Closes: #920304
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/920304



Added tag(s) pending. Request was from Pierre-Elliott Bécue <peb@debian.org> to 920304-submitter@bugs.debian.org. (Sat, 02 Feb 2019 17:00:03 GMT) (full text, mbox, link).


Reply sent to Pierre-Elliott Bécue <peb@debian.org>:
You have taken responsibility. (Sat, 02 Feb 2019 17:39:03 GMT) (full text, mbox, link).


Notification sent to Bjoern Franke <bjo@nord-west.org>:
Bug acknowledged by developer. (Sat, 02 Feb 2019 17:39:03 GMT) (full text, mbox, link).


Message #25 received at 920304-close@bugs.debian.org (full text, mbox, reply):

From: Pierre-Elliott Bécue <peb@debian.org>
To: 920304-close@bugs.debian.org
Subject: Bug#920304: fixed in mailman-suite 0+20180916-5
Date: Sat, 02 Feb 2019 17:34:24 +0000
Source: mailman-suite
Source-Version: 0+20180916-5

We believe that the bug you reported is fixed in the latest version of
mailman-suite, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 920304@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pierre-Elliott Bécue <peb@debian.org> (supplier of updated mailman-suite package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 02 Feb 2019 17:54:27 +0100
Source: mailman-suite
Architecture: source
Version: 0+20180916-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>
Changed-By: Pierre-Elliott Bécue <peb@debian.org>
Closes: 920304
Changes:
 mailman-suite (0+20180916-5) unstable; urgency=medium
 .
   * d/control:
     - Replaces python3-pymysql dependency by python3-mysqldb which is the
       appropriate one for Mailman3 django projects. (Closes: #920304)
Checksums-Sha1:
 68047240b2cffd1e89616ce2ca8ecdd1549cdfa8 2053 mailman-suite_0+20180916-5.dsc
 acbdd0cbf24e3bacc4319acd6fa19f140e8a3a21 25896 mailman-suite_0+20180916-5.debian.tar.xz
 b9f1448b92c5fa96197a4ea66ab3f3f09a134678 5505 mailman-suite_0+20180916-5_amd64.buildinfo
Checksums-Sha256:
 fbb7be1c94ff55d03de5be92ce7d9143052fef1d27acdff466ac0fd33f34917c 2053 mailman-suite_0+20180916-5.dsc
 ced002d743748259b3588f5fb5bf0ed443dbbf979df6967ed9766bc221adc16d 25896 mailman-suite_0+20180916-5.debian.tar.xz
 310f857b168701f11388bb2ce83714d5f324cfc9b6330deaf88360850d68a1a4 5505 mailman-suite_0+20180916-5_amd64.buildinfo
Files:
 5b016cdc7553936ded8c26a5336214f7 2053 web optional mailman-suite_0+20180916-5.dsc
 d63ee39d03be3966ccf372d31b9b39de 25896 web optional mailman-suite_0+20180916-5.debian.tar.xz
 c1b8c3f0b022c3de08cadef749981e11 5505 web optional mailman-suite_0+20180916-5_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEESYqTBWsFJgT6y8ijKb+g0HkpCsoFAlxV0UwACgkQKb+g0Hkp
Csr5axAAtlLEZBCOrLPl4+7YehgOqB4A0k4eJ28YHNtfqBsOmSzMNjyGv1/oO1Eb
OogBm7r9VzJ/RyavKmJFe60af+DQqEDGMgjWSia0yOwl7oOjav5G6x2ACB0PFAwe
AKebEaDFnekobubM6J3k8SlnKUz0JKOHySqTpbykC7rT1n8Z5foHpY6iPTmz4efL
gApAqlLBB/3Gkm9mVwSvuEOMKIZideOJfiVHuJPYs1Cz2Vr1jYKfKotyDGYqyc5C
PQF6KGAgAYAjsGvrfPwfYYwfhVAcSTKzmFrBdzCHjfa618fRx9GzbFEL6CLUZl6Z
M6jk91xM/mTrRAvlEieYCcYz3+g37LKAekE4UyJaapG6dnDOvLhMn2kPK5TzSiUE
SxzYM2UVJSvDdL+uciReAJWkvrTLiyo1f+73YBcSDUQia7T/SaZJnHpC3asFuqVW
Jc7F4nyu6YJPhWWHy4BF59oDTagnFDxKVZklQRSWzo7YALZNoAnzGw6i2R7hcAfa
7JGuo4j6p4N4J0Ukz9KbkWSJOSDiubaaq73TqK2lo1rj2oqp3W8klZXnl8YLOrYg
aiBkMsL5Brcs5Awyidha894DNArWKbFCLp+Jtq0sk23CN6ExuFJBOJmeHVQux4jP
9xjALr9bebrcG1+oGPfRQy3VgSt7Qpg9hHzNoxwFx8KNfvJsnho=
=GYcB
-----END PGP SIGNATURE-----




Information stored :
Bug#920304; Package mailman3-web. (Sat, 02 Feb 2019 18:03:07 GMT) (full text, mbox, link).


Acknowledgement sent to Antoine Beaupré <anarcat@debian.org>:
Extra info received and filed, but not forwarded. (Sat, 02 Feb 2019 18:03:07 GMT) (full text, mbox, link).


Message #30 received at 920304-quiet@bugs.debian.org (full text, mbox, reply):

From: Antoine Beaupré <anarcat@debian.org>
To: Pierre-Elliott Bécue <peb@debian.org>, 920304-quiet@bugs.debian.org, 920304-submitter@bugs.debian.org
Subject: Re: Bug#920304: Bug #920304 in mailman-suite marked as pending
Date: Sat, 02 Feb 2019 12:58:15 -0500
On 2019-02-02 16:56:30, Pierre-Elliott Bécue wrote:
> Control: tag -1 pending
>
> Hello,
>
> Bug #920304 in mailman-suite reported by you has been fixed in the
> Git repository and is awaiting an upload. You can see the commit
> message below and you can check the diff of the fix at:
>
> https://salsa.debian.org/mailman-team/mailman-suite/commit/3f33a8345980aec6586ce7d667d124e56cd7a63e

Hum. The previous comment said that pymysql was *also* required... Is
this really going to work?

A.

-- 
The flesh you so fancifully fry
Is not succulent, tasty or kind
It's death for no reason
And death for no reason is murder
                        - Morrissey



Information stored :
Bug#920304; Package mailman3-web. (Sat, 02 Feb 2019 18:03:08 GMT) (full text, mbox, link).


Acknowledgement sent to Pierre-Elliott Bécue <peb@debian.org>:
Extra info received and filed, but not forwarded. (Sat, 02 Feb 2019 18:03:08 GMT) (full text, mbox, link).


Message #35 received at 920304-quiet@bugs.debian.org (full text, mbox, reply):

From: Pierre-Elliott Bécue <peb@debian.org>
To: Antoine Beaupré <anarcat@debian.org>,920304-quiet@bugs.debian.org,920304-submitter@bugs.debian.org
Subject: Re: Bug#920304: Bug #920304 in mailman-suite marked as pending
Date: Sat, 02 Feb 2019 18:59:41 +0100
Le 2 février 2019 18:58:15 GMT+01:00, "Antoine Beaupré" <anarcat@debian.org> a écrit :
>On 2019-02-02 16:56:30, Pierre-Elliott Bécue wrote:
>> Control: tag -1 pending
>>
>> Hello,
>>
>> Bug #920304 in mailman-suite reported by you has been fixed in the
>> Git repository and is awaiting an upload. You can see the commit
>> message below and you can check the diff of the fix at:
>>
>>
>https://salsa.debian.org/mailman-team/mailman-suite/commit/3f33a8345980aec6586ce7d667d124e56cd7a63e
>
>Hum. The previous comment said that pymysql was *also* required... Is
>this really going to work?
>
>A.

pymysql is needed by mailman3, according to the forementioned comment. 
-- 
PEB from my phone.



Information stored :
Bug#920304; Package mailman3-web. (Sat, 02 Feb 2019 18:03:10 GMT) (full text, mbox, link).


Acknowledgement sent to Antoine Beaupré <anarcat@debian.org>:
Extra info received and filed, but not forwarded. (Sat, 02 Feb 2019 18:03:10 GMT) (full text, mbox, link).


Message #40 received at 920304-quiet@bugs.debian.org (full text, mbox, reply):

From: Antoine Beaupré <anarcat@debian.org>
To: Pierre-Elliott Bécue <peb@debian.org>, 920304-quiet@bugs.debian.org, 920304-submitter@bugs.debian.org
Subject: Re: Bug#920304: Bug #920304 in mailman-suite marked as pending
Date: Sat, 02 Feb 2019 13:01:27 -0500
On 2019-02-02 18:59:41, Pierre-Elliott Bécue wrote:
> Le 2 février 2019 18:58:15 GMT+01:00, "Antoine Beaupré" <anarcat@debian.org> a écrit :
>>On 2019-02-02 16:56:30, Pierre-Elliott Bécue wrote:
>>> Control: tag -1 pending
>>>
>>> Hello,
>>>
>>> Bug #920304 in mailman-suite reported by you has been fixed in the
>>> Git repository and is awaiting an upload. You can see the commit
>>> message below and you can check the diff of the fix at:
>>>
>>>
>>https://salsa.debian.org/mailman-team/mailman-suite/commit/3f33a8345980aec6586ce7d667d124e56cd7a63e
>>
>>Hum. The previous comment said that pymysql was *also* required... Is
>>this really going to work?
>>
>>A.
>
> pymysql is needed by mailman3, according to the forementioned comment. 

Ah, and presumably that dependency is correct. Nevermind then! :)

a.

-- 
L'homme construit des maisons parce qu'il est vivant, mais il écrit des
livres parce qu'il se sait mortel.
                        - Daniel Pennac, Comme un roman



Message sent on to Bjoern Franke <bjo@nord-west.org>:
Bug#920304. (Sat, 02 Feb 2019 18:03:12 GMT) (full text, mbox, link).


Message sent on to Bjoern Franke <bjo@nord-west.org>:
Bug#920304. (Sat, 02 Feb 2019 18:03:13 GMT) (full text, mbox, link).


Message sent on to Bjoern Franke <bjo@nord-west.org>:
Bug#920304. (Sat, 02 Feb 2019 18:03:14 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 08 Mar 2019 07:25:21 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Nov 21 22:40:39 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.