Your message dated Fri, 10 Jul 2020 12:33:32 +0000
with message-id <[email protected]>
and subject line Bug#964501: fixed in alot 0.9.1-2
has caused the Debian Bug report #964501,
regarding alot: Fix mailcap rendering for e-mails without `Content-Type` header
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 [email protected]
immediately.)


-- 
964501: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964501
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: alot
Version: 0.9.1-1
Severity: normal

Hi,

currently, alot is unable to handle emails without a Content-Type
header (traceback at the end of this mail).

Luckily there is a patch that fixes this problem:

https://github.com/pazz/alot/commit/2348014eb6d654ef123c6c353d2dc4306f226305

Can we backport this patch?

If you don't have time in the next few days, then I can also do an NMU,
just tell me what works for you. :)

Thanks!

cheers, josch


Traceback (most recent call last):
  File "/home/josch/git/alot/alot/ui.py", line 277, in apply_commandline
    await apply_this_command(c)
  File "/home/josch/git/alot/alot/ui.py", line 725, in apply_command
    self._error_handler(e)
  File "/home/josch/git/alot/alot/ui.py", line 160, in _error_handler
    self.notify(msg, priority='error')
  File "/home/josch/git/alot/alot/ui.py", line 624, in notify
    self.update()
  File "/home/josch/git/alot/alot/ui.py", line 668, in update
    self.mainloop.draw_screen()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 586, in 
draw_screen
    canvas = self._topmost_widget.render(self.screen_size, focus=True)
  File "/usr/lib/python3/dist-packages/urwid/widget.py", line 144, in 
cached_render
    canv = fn(self, size, focus=focus)
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 226, in render
    canv = self._original_widget.render(size, focus=focus)
  File "/usr/lib/python3/dist-packages/urwid/widget.py", line 144, in 
cached_render
    canv = fn(self, size, focus=focus)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1085, in render
    body = self.body.render((maxcol, maxrow-ftrim-htrim),
  File "/home/josch/git/alot/alot/buffers/buffer.py", line 19, in render
    return self.body.render(size, focus)
  File "/usr/lib/python3/dist-packages/urwid/widget.py", line 144, in 
cached_render
    canv = fn(self, size, focus=focus)
  File "/usr/lib/python3/dist-packages/urwid/listbox.py", line 470, in render
    middle, top, bottom = self.calculate_visible(
  File "/usr/lib/python3/dist-packages/urwid/listbox.py", line 356, in 
calculate_visible
    focus_widget, focus_pos = self._body.get_focus()
  File "/home/josch/git/alot/alot/walker.py", line 39, in get_focus
    return self._get_at_pos(self.focus)
  File "/home/josch/git/alot/alot/walker.py", line 72, in _get_at_pos
    widget = self._get_next_item()
  File "/home/josch/git/alot/alot/walker.py", line 85, in _get_next_item
    next_widget = self.containerclass(next_obj, **self.kwargs)
  File "/home/josch/git/alot/alot/widgets/search.py", line 26, in __init__
    self.rebuild()
  File "/home/josch/git/alot/alot/widgets/search.py", line 60, in rebuild
    width, part = build_text_part(partname, self.thread,
  File "/home/josch/git/alot/alot/widgets/search.py", line 145, in 
build_text_part
    content = prepare_string(name, thread, maxw)
  File "/home/josch/git/alot/alot/widgets/search.py", line 213, in 
prepare_string
    s = content(thread)
  File "/home/josch/git/alot/alot/widgets/search.py", line 188, in 
prepare_content_string
    lastcontent = ' '.join(m.get_body_text() for m in msgs)
  File "/home/josch/git/alot/alot/widgets/search.py", line 188, in <genexpr>
    lastcontent = ' '.join(m.get_body_text() for m in msgs)
  File "/home/josch/git/alot/alot/db/message.py", line 280, in get_body_text
    return extract_body_part(self.mime_part)
  File "/home/josch/git/alot/alot/db/utils.py", line 501, in extract_body_part
    rendered_payload = render_part(
  File "/home/josch/git/alot/alot/db/utils.py", line 368, in render_part
    parms = tuple('='.join(p) for p in part.get_params())
TypeError: 'NoneType' object is not iterable

--- End Message ---
--- Begin Message ---
Source: alot
Source-Version: 0.9.1-2
Done: Johannes 'josch' Schauer <[email protected]>

We believe that the bug you reported is fixed in the latest version of
alot, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Johannes 'josch' Schauer <[email protected]> (supplier of updated alot 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 [email protected])


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

Format: 1.8
Date: Fri, 10 Jul 2020 14:06:29 +0200
Source: alot
Architecture: source
Version: 0.9.1-2
Distribution: unstable
Urgency: medium
Maintainer: Python Applications Packaging Team 
<[email protected]>
Changed-By: Johannes 'josch' Schauer <[email protected]>
Closes: 964391 964501
Changes:
 alot (0.9.1-2) unstable; urgency=medium
 .
   * Backport two commits from upstream
      - Fix utf8 encoding with a text/plain mailcap entry (closes: #964391)
      - Fix mailcap rendering for e-mails without `Content-Type` header
        (closes: #964501)
Checksums-Sha1:
 bfa50886fa6ddeb51c0456df969e7c800a3ef73f 2717 alot_0.9.1-2.dsc
 3c8c495cc50db4f35232ade1b93bade8c6b60594 10000 alot_0.9.1-2.debian.tar.xz
Checksums-Sha256:
 bba489b1844f43381910ca17c3da811f14b4f1f21bb8fcc9701d1931b8cda1ed 2717 
alot_0.9.1-2.dsc
 eb2ad94c1ec1bacd8d1934b7ee122741bc392eef9f5fcc95486e94b00c8d7460 10000 
alot_0.9.1-2.debian.tar.xz
Files:
 399b5a565d49918c3057565864ee60ba 2717 mail optional alot_0.9.1-2.dsc
 222211057cc39da8d7384a5a7814590a 10000 mail optional alot_0.9.1-2.debian.tar.xz

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

iQIzBAEBCAAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAl8IWxIACgkQ8sulx4+9
g+HvRRAAuKDjHn96SECLEnEfHiiexh3/1mW4eznAQiCqAx2DCs3Nrr7KRQsZKYH9
olMbrkalFCpSjM7rYfPJImrlgHWNygDePq8Y5uKmFW+Rq5xiTI9bh3a3DVA/zLAY
heNeYiVglFi+Sf+eISJaN3YfS1h001Wn+tAxKiOhttTotOwrqdRiC4z6NeqrfaVY
R5HCWq3EnEbi7xPNlBMyEzgM8t24t3sV7+Ius341Vid3VYSVHydGW4oskHY2Si8y
v7mjz7g7VFmWZ1k36g4+qNL/mTJeu1IbySyv97gMbUwYeKqtZS/3eReeE6MdY982
69a6RWz1Mgtm0bfBAXjFD7EWUaPs+iLJ+6i0by1U4XICJ0VZ4DSJYkkci0pYAHzk
UG4niyRJZRnXz1YUj+ArsLEI6g5abG7a9dSwes+RvH1/ismYQKSc1jCN3xYtCIaT
A+p8zn6MgUm1mO8NfKjqgeI3Db+Xri/ERZf+ocxtKSs5pBFtD+rYNFzQ7AQrOL4J
1KXeBlL8H+CzuWFswSkgztn74W1UGZJMMKaLQPmPdxNi58P+LpH+97ohZ4s5+MnK
B6FQIZGr+cTRXnuhTom3SyilwC2WqXx/A8taQ5sN4u6TGPg4qrTjOLcw9Ie6BoJy
gveF5rSu/iTVDvwhVqb55owGT7qAOh50s5I031tEuGqqG5srC40=
=Nw5O
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to