[Pkg-mailman-hackers] Bug#928388: Bug#928388: missing dependency on paintstore crashes cronjob

Jonas Meurer jonas at freesources.org
Thu Jun 6 18:00:39 BST 2019


Control: -1 moreinfo

Hey Antoine,

first, sorry for the late response. I didn't find time earlier to look
into this issue.

Antoine Beaupre:
> After the backports upgrade I performed last night, I was served with
> about 200 emails from cron this morning. Most look like this:
> 
> Subject: Cron <www-data at marcos>     [ -f /usr/bin/django-admin ] && flock -n /var/run/mailman3-web/cron.minutely /usr/share/mailman3-web/manage.py runjobs minutely
> To: www-data at anarc.at
> Date: Fri, 03 May 2019 09:02:04 -0400
> 
> Traceback (most recent call last):
>   File "/usr/share/mailman3-web/manage.py", line 10, in <module>
>     execute_from_command_line(sys.argv)
>   File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
>     utility.execute()
>   File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 338, in execute
>     django.setup()
>   File "/usr/lib/python3/dist-packages/django/__init__.py", line 27, in setup
>     apps.populate(settings.INSTALLED_APPS)
>   File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 85, in populate
>     app_config = AppConfig.create(entry)
>   File "/usr/lib/python3/dist-packages/django/apps/config.py", line 94, in create
>     module = import_module(entry)
>   File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
>   File "<frozen importlib._bootstrap>", line 986, in _gcd_import
>   File "<frozen importlib._bootstrap>", line 969, in _find_and_load
>   File "<frozen importlib._bootstrap>", line 956, in _find_and_load_unlocked
> ImportError: No module named 'paintstore'
> 
> [...]
> 
> I haven't had confirmation of that yet, but I suspect just installing
> python-django-paintstore fixes that problem.

Actually, the paintstore dependency was dropped from
python3-django-hyperkitty on purpose in hyperkitty 1.2.2-1 since it got
replaced by a HTML5 implementation.

Unfortunately, I'm unable to reproduce the bug both on a buster and on a
stretch-backports system. Do you still encounter it? Can you give
further details on which mailman3 django packages you have installed?

$ dpkg -l mailman3-web python3-django-hyperkitty \
        python3-django-postorius python3-django-mailman3

Cheers
 jonas


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-mailman-hackers/attachments/20190606/c1afec9b/attachment.sig>


More information about the Pkg-mailman-hackers mailing list