[Pkg-mailman-hackers] Bug#1082541: mailman3-web: Still with Debian-13-Trixie

Philipp Matthias Hahn pmhahn at debian.org
Tue Aug 12 13:35:30 BST 2025


Package: mailman3-web
Version: 0+20240312-1
Followup-For: Bug #1082541
X-Debbugs-Cc: 1078661 at bugs.debian.org

Dear fellow Maintainer,

as of today I got 2.8k mails from cron because of failing jobs:
- /var/run/mailman3-web/cron.minutely
- /var/run/mailman3-web/cron.quarter_hourl
- /var/run/mailman3-web/cron.hourly
- /var/run/mailman3-web/cron.daily

This time caused by
  python3-robot-detection: /usr/lib/python3/dist-packages/robot_detection.py

> /usr/lib/python3/dist-packages/robot_detection.py:13: SyntaxWarning: invalid escape sequence '\-'
>   'google\-sitemaps',
> /usr/lib/python3/dist-packages/robot_detection.py:27: SyntaxWarning: invalid escape sequence '\/'
>   '^voyager\/',
> /usr/lib/python3/dist-packages/robot_detection.py:34: SyntaxWarning: invalid escape sequence '\-'
>   'fast\-webcrawler',
> /usr/lib/python3/dist-packages/robot_detection.py:35: SyntaxWarning: invalid escape sequence '\-'
>   'ia_archiver\-web\.archive\.org', # Must be before ia_archiver to avoid confusion with alexa
...

I have patched my /etc/cron.d/mailman3-web to have an '2>/dev/null'
after each cron command to silence this for now.

This is sub-optimal as now all errors are lost. Maybe better redirect
those errors to some log file.
Even better would be rate-limiting to one messeage per time-unit.


python3-robot-detection should also be fixed, but as mailman3-web seems
to have a similar problem after each Debian update, do not just hope
that all Python-3 packages will be fixed next time.
Maybe add a `autopkgtest` to check for those warnings automatically?

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078661

Philipp
-- System Information:
Debian Release: 13.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.38+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
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 | dbconfig-  <none>
    no-thanks
ii  debconf [debconf-2.0]                                           1.5.91
ii  init-system-helpers                                             1.68
ii  python3                                                         3.13.5-1
pn  python3-django-hyperkitty                                       <none>
pn  python3-django-postorius                                        <none>
ii  python3-mysqldb                                                 1.4.6-2+b5
ii  python3-psycopg2                                                2.9.10-1+b1
pn  python3-whoosh                                                  <none>
ii  ucf                                                             3.0052
pn  uwsgi-core                                                      <none>
pn  uwsgi-plugin-python3                                            <none>

Versions of packages mailman3-web recommends:
pn  libapache2-mod-proxy-uwsgi | nginx  <none>

Versions of packages mailman3-web suggests:
ii  default-mysql-server                   1.1.1
ii  mariadb-server [virtual-mysql-server]  1:11.8.2-1



More information about the Pkg-mailman-hackers mailing list