Your message dated Wed, 27 Apr 2022 15:38:05 +0200
with message-id <87h76eprx1....@janja.pimeys.fr>
and subject line Re: Bug#1008929: python3-django-hyperkitty: Error gone with 
python3-django update
has caused the Debian Bug report #1008929,
regarding ModuleNotFoundError: No module named 'mistune.plugins'; 'mistune' is 
not a package
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1008929: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008929
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-django-hyperkitty
Version: 1.3.5.0-2
Severity: normal

Dear Maintainer,

Thanks for your work on this package. After the most recent upgrade to the 
version above, which also brought in python3-mistune as below, I am 
unfortunately finding my inbox flooded by cron errors, to the extent that I 
disabled "by minute" cron jobs. I'm not really sure why since mistune is 
installed. I have tried restarting the mailman3-web service but to no avail.

Traceback as below:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/django/template/backends/django.py", line 
121, in get_package_libraries
module = import_module(entry[1])
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/hyperkitty/templatetags/decorate.py", line 
4, in <module>
from hyperkitty.lib.renderer import markdown_renderer, text_renderer
File "/usr/lib/python3/dist-packages/hyperkitty/lib/renderer.py", line 6, in 
<module>
from mistune.plugins.extra import plugin_url
ModuleNotFoundError: No module named 'mistune.plugins'; 'mistune' is not a 
package

The above exception was the direct cause of the following exception:

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 
419, in execute_from_command_line
utility.execute()
File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 
413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 354, 
in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 393, 
in execute
self.check()
File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 419, 
in check
all_issues = checks.run_checks(
File "/usr/lib/python3/dist-packages/django/core/checks/registry.py", line 76, 
in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "/usr/lib/python3/dist-packages/django/contrib/admin/checks.py", line 78, 
in check_dependencies
for engine in engines.all():
File "/usr/lib/python3/dist-packages/django/template/utils.py", line 90, in all
return [self[alias] for alias in self]
File "/usr/lib/python3/dist-packages/django/template/utils.py", line 90, in 
<listcomp>
return [self[alias] for alias in self]
File "/usr/lib/python3/dist-packages/django/template/utils.py", line 81, in 
__getitem__
engine = engine_cls(params)
File "/usr/lib/python3/dist-packages/django/template/backends/django.py", line 
25, in __init__
options['libraries'] = self.get_templatetag_libraries(libraries)
File "/usr/lib/python3/dist-packages/django/template/backends/django.py", line 
43, in get_templatetag_libraries
libraries = get_installed_libraries()
File "/usr/lib/python3/dist-packages/django/template/backends/django.py", line 
108, in get_installed_libraries
for name in get_package_libraries(pkg):
File "/usr/lib/python3/dist-packages/django/template/backends/django.py", line 
123, in get_package_libraries
raise InvalidTemplateLibrary(
django.template.library.InvalidTemplateLibrary: Invalid template library 
specified. ImportError raised when trying to load 
'hyperkitty.templatetags.decorate': No module named 'mistune.plugins'; 
'mistune' is not a package

A similar error is occuring on web access causing a 500 HTTP Error.

Kind regards,

CT.


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.16.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-django-hyperkitty depends on:
ii  fonts-glyphicons-halflings   1.009~3.4.1+dfsg-2
ii  libjs-bootstrap4             4.6.1+dfsg1-1
ii  libjs-sphinxdoc              4.3.2-1
ii  python3                      3.9.8-1
ii  python3-dateutil             2.8.1-6
ii  python3-django               2:3.2.12-2
ii  python3-django-compressor    2.4.1-2
ii  python3-django-extensions    3.1.5-2
ii  python3-django-gravatar2     1.4.4-2
ii  python3-django-haystack      3.1.1-1
ii  python3-django-mailman3      1.3.7-1
ii  python3-django-q             1.3.9-3
ii  python3-djangorestframework  3.12.4-2.1
ii  python3-elasticsearch        7.16.2-1
ii  python3-flufl.lock           5.0.1-1
ii  python3-mailmanclient        3.3.3-1
ii  python3-mistune              2.0.0-1+really0.8.4-1
ii  python3-networkx             2.5+ds-2
ii  python3-robot-detection      0.4.0-2
ii  python3-tz                   2022.1-1

Versions of packages python3-django-hyperkitty recommends:
ii  mailman3-web  0+20200530-2

python3-django-hyperkitty suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
I wonder if there was some shenanigans in the way imports were resolved.

Closing for now, feel free to reopen if needed.

Cheers,
-- 
PEB

Colin Turner <c...@piglets.com> wrote on 23/04/2022 at 19:21:55+0200:

> Package: python3-django-hyperkitty
> Followup-For: Bug #1008929
>
> Dear Maintainer,
>
> This seems to have gone as of a python3-django update or some similar update. 
> I don't really know why?
>
> I did have to run a "migrate" but that seemed to be related to a different 
> SQL cron complaint.
>
> Kind regards,
>
> CT.
>
> -- System Information:
> Debian Release: bookworm/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 5.16.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
> LANGUAGE=en_GB:en
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages python3-django-hyperkitty depends on:
> ii  fonts-glyphicons-halflings   1.009~3.4.1+dfsg-2
> ii  libjs-bootstrap4             4.6.1+dfsg1-1
> ii  libjs-sphinxdoc              4.5.0-3
> ii  python3                      3.10.4-1
> ii  python3-dateutil             2.8.1-6
> ii  python3-django               2:3.2.13-1
> ii  python3-django-compressor    2.4.1-2
> ii  python3-django-extensions    3.1.5-2
> ii  python3-django-gravatar2     1.4.4-2
> ii  python3-django-haystack      3.1.1-1
> ii  python3-django-mailman3      1.3.7-1
> ii  python3-django-q             1.3.9-3
> ii  python3-djangorestframework  3.12.4-2.1
> ii  python3-elasticsearch        7.16.2-1
> ii  python3-flufl.lock           5.0.1-1
> ii  python3-mailmanclient        3.3.3-1
> ii  python3-mistune              2.0.2-1
> ii  python3-networkx             2.5+ds-2
> ii  python3-robot-detection      0.4.0-2
> ii  python3-tz                   2022.1-1
>
> Versions of packages python3-django-hyperkitty recommends:
> ii  mailman3-web  0+20200530-2
>
> python3-django-hyperkitty suggests no packages.
>
> -- no debconf information

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to