Your message dated Sun, 19 Jul 2020 07:31:48 +0100
with message-id <f628dd70-9de6-10af-2d83-428952dd9...@p10link.net>
and subject line Re: hyperkitty/django-mailman3: FTBFS: ValueError: max() arg 
is an empty sequence
has caused the Debian Bug report #964697,
regarding django-mailman3: FTBFS: ValueError: max() arg is an empty sequence
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.)


-- 
964697: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964697
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: django-mailman3
Version: 1.3.2-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200709 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> py3versions: no X-Python3-Version in control file, using supported versions
> set -e; \
> for python3 in python3.8; do \
>                 $python3 /usr/bin/django-admin test --pythonpath=. 
> --settings=django_mailman3.tests.settings_test django_mailman3; \
> done
> Creating test database for alias 'default'...
> ...........................................................EEEE.EEE...
> ======================================================================
> ERROR: test_attachment_3 (django_mailman3.tests.test_scrub.TestScrubber)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "./django_mailman3/tests/test_scrub.py", line 83, in test_attachment_3
>     contents, attachments = scrubber.scrub()
>   File "./django_mailman3/lib/scrub.py", line 77, in scrub
>     attachments = self._get_all_attachments()
>   File "./django_mailman3/lib/scrub.py", line 99, in _get_all_attachments
>     part.set_content('')
>   File "/usr/lib/python3.8/email/message.py", line 1171, in set_content
>     super().set_content(*args, **kw)
>   File "/usr/lib/python3.8/email/message.py", line 1101, in set_content
>     content_manager.set_content(self, *args, **kw)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 37, in set_content
>     handler(msg, obj, *args, **kw)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 185, in 
> set_text_content
>     cte, payload = _encode_text(string, charset, cte, msg.policy)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 149, in _encode_text
>     if max(len(x) for x in lines) <= policy.max_line_length:
> ValueError: max() arg is an empty sequence
> 
> ======================================================================
> ERROR: test_attachment_4 (django_mailman3.tests.test_scrub.TestScrubber)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "./django_mailman3/tests/test_scrub.py", line 161, in test_attachment_4
>     contents, attachments = scrubber.scrub()
>   File "./django_mailman3/lib/scrub.py", line 77, in scrub
>     attachments = self._get_all_attachments()
>   File "./django_mailman3/lib/scrub.py", line 99, in _get_all_attachments
>     part.set_content('')
>   File "/usr/lib/python3.8/email/message.py", line 1171, in set_content
>     super().set_content(*args, **kw)
>   File "/usr/lib/python3.8/email/message.py", line 1101, in set_content
>     content_manager.set_content(self, *args, **kw)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 37, in set_content
>     handler(msg, obj, *args, **kw)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 185, in 
> set_text_content
>     cte, payload = _encode_text(string, charset, cte, msg.policy)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 149, in _encode_text
>     if max(len(x) for x in lines) <= policy.max_line_length:
> ValueError: max() arg is an empty sequence
> 
> ======================================================================
> ERROR: test_attachment_5 (django_mailman3.tests.test_scrub.TestScrubber)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "./django_mailman3/tests/test_scrub.py", line 184, in test_attachment_5
>     contents, attachments = scrubber.scrub()
>   File "./django_mailman3/lib/scrub.py", line 77, in scrub
>     attachments = self._get_all_attachments()
>   File "./django_mailman3/lib/scrub.py", line 95, in _get_all_attachments
>     part.set_content('')
>   File "/usr/lib/python3.8/email/message.py", line 1171, in set_content
>     super().set_content(*args, **kw)
>   File "/usr/lib/python3.8/email/message.py", line 1101, in set_content
>     content_manager.set_content(self, *args, **kw)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 37, in set_content
>     handler(msg, obj, *args, **kw)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 185, in 
> set_text_content
>     cte, payload = _encode_text(string, charset, cte, msg.policy)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 149, in _encode_text
>     if max(len(x) for x in lines) <= policy.max_line_length:
> ValueError: max() arg is an empty sequence
> 
> ======================================================================
> ERROR: test_attachment_name_badly_encoded 
> (django_mailman3.tests.test_scrub.TestScrubber)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "./django_mailman3/tests/test_scrub.py", line 203, in 
> test_attachment_name_badly_encoded
>     attachments = scrubber.scrub()[1]
>   File "./django_mailman3/lib/scrub.py", line 77, in scrub
>     attachments = self._get_all_attachments()
>   File "./django_mailman3/lib/scrub.py", line 95, in _get_all_attachments
>     part.set_content('')
>   File "/usr/lib/python3.8/email/message.py", line 1171, in set_content
>     super().set_content(*args, **kw)
>   File "/usr/lib/python3.8/email/message.py", line 1101, in set_content
>     content_manager.set_content(self, *args, **kw)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 37, in set_content
>     handler(msg, obj, *args, **kw)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 185, in 
> set_text_content
>     cte, payload = _encode_text(string, charset, cte, msg.policy)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 149, in _encode_text
>     if max(len(x) for x in lines) <= policy.max_line_length:
> ValueError: max() arg is an empty sequence
> 
> ======================================================================
> ERROR: test_html_email_1 (django_mailman3.tests.test_scrub.TestScrubber)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "./django_mailman3/tests/test_scrub.py", line 102, in test_html_email_1
>     contents, attachments = scrubber.scrub()
>   File "./django_mailman3/lib/scrub.py", line 77, in scrub
>     attachments = self._get_all_attachments()
>   File "./django_mailman3/lib/scrub.py", line 99, in _get_all_attachments
>     part.set_content('')
>   File "/usr/lib/python3.8/email/message.py", line 1171, in set_content
>     super().set_content(*args, **kw)
>   File "/usr/lib/python3.8/email/message.py", line 1101, in set_content
>     content_manager.set_content(self, *args, **kw)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 37, in set_content
>     handler(msg, obj, *args, **kw)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 185, in 
> set_text_content
>     cte, payload = _encode_text(string, charset, cte, msg.policy)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 149, in _encode_text
>     if max(len(x) for x in lines) <= policy.max_line_length:
> ValueError: max() arg is an empty sequence
> 
> ======================================================================
> ERROR: test_html_only_email (django_mailman3.tests.test_scrub.TestScrubber)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "./django_mailman3/tests/test_scrub.py", line 121, in 
> test_html_only_email
>     contents = scrubber.scrub()[0]
>   File "./django_mailman3/lib/scrub.py", line 77, in scrub
>     attachments = self._get_all_attachments()
>   File "./django_mailman3/lib/scrub.py", line 99, in _get_all_attachments
>     part.set_content('')
>   File "/usr/lib/python3.8/email/message.py", line 1171, in set_content
>     super().set_content(*args, **kw)
>   File "/usr/lib/python3.8/email/message.py", line 1101, in set_content
>     content_manager.set_content(self, *args, **kw)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 37, in set_content
>     handler(msg, obj, *args, **kw)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 185, in 
> set_text_content
>     cte, payload = _encode_text(string, charset, cte, msg.policy)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 149, in _encode_text
>     if max(len(x) for x in lines) <= policy.max_line_length:
> ValueError: max() arg is an empty sequence
> 
> ======================================================================
> ERROR: test_name_unicode (django_mailman3.tests.test_scrub.TestScrubber)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "./django_mailman3/tests/test_scrub.py", line 229, in test_name_unicode
>     attachments = scrubber.scrub()[1]
>   File "./django_mailman3/lib/scrub.py", line 77, in scrub
>     attachments = self._get_all_attachments()
>   File "./django_mailman3/lib/scrub.py", line 99, in _get_all_attachments
>     part.set_content('')
>   File "/usr/lib/python3.8/email/message.py", line 1171, in set_content
>     super().set_content(*args, **kw)
>   File "/usr/lib/python3.8/email/message.py", line 1101, in set_content
>     content_manager.set_content(self, *args, **kw)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 37, in set_content
>     handler(msg, obj, *args, **kw)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 185, in 
> set_text_content
>     cte, payload = _encode_text(string, charset, cte, msg.policy)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 149, in _encode_text
>     if max(len(x) for x in lines) <= policy.max_line_length:
> ValueError: max() arg is an empty sequence
> 
> ----------------------------------------------------------------------
> Ran 70 tests in 3.565s
> 
> FAILED (errors=7)
> Destroying test database for alias 'default'...
> System check identified no issues (0 silenced).
> make[1]: *** [debian/rules:10: override_dh_auto_test] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/07/09/django-mailman3_1.3.2-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

--- End Message ---
--- Begin Message ---
On 13/07/2020 02:12, peter green wrote:

Looking at https://www.python.org/dev/peps/pep-0569/ it looks like 3.8.4 final 
is
due out today, I presume that will include the fix.

Python 3.8.4 final is now in Debian and reproducible-builds.org and the 
hyperkitty NMU
confirm that the issue is fixed. Closing the bugs.

--- End Message ---

Reply via email to