Package: alot
Version: 0.10-1
Severity: important

Dear Maintainer,

Trying to attach a microsoft word .doc document, alot throws the following
error:


INFO:envelope:editable headers: ['From', 'To', 'Subject']
INFO:globals:calling external command: ['vim', '+5', '/tmp/alot.ydvdzjr9.eml']
INFO:globals:open command shell
INFO:envelope:attaching: ['/tmp/attachment.doc']
ERROR:ui:Traceback (most recent call last):
  File "/usr/share/alot/alot/ui.py", line 723, in apply_command
    cmd.apply(self)
  File "/usr/share/alot/alot/commands/envelope.py", line 66, in apply
    envelope.attach(path)
  File "/usr/share/alot/alot/db/envelope.py", line 173, in attach
    part = helper.mimewrap(path, filename, ctype)
  File "/usr/share/alot/alot/helper.py", line 458, in mimewrap
    not libmagic_version_at_least(513)):
  File "/usr/share/alot/alot/helper.py", line 414, in libmagic_version_at_least
    magic_wrapper = magic._libraries['magic']
AttributeError: module 'magic' has no attribute '_libraries'



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

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

Versions of packages alot depends on:
ii  python3             3.9.8-1
ii  python3-configobj   5.0.6-5
ii  python3-gpg         1.17.1-4
pn  python3-magic       2:0.4.26-2
ii  python3-notmuch2    0.36-1
ii  python3-twisted     22.4.0-2
ii  python3-urwid       2.1.2-2
ii  python3-urwidtrees  1.0.3.dev0-2

Versions of packages alot recommends:
ii  notmuch  0.36-1
ii  w3m      0.5.3+git20220429-1+b1

Versions of packages alot suggests:
pn  alot-doc  <none>

-- no debconf information

Reply via email to