NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.38k stars 14.33k forks source link

astroid mail sending is broken #168381

Closed ehmry closed 2 years ago

ehmry commented 2 years ago

Describe the bug

The astroid mail client is no longer able to send mail.

Astroid from release-21.11 still works and its version has not been updated since then, so I assume this is caused by some sort of Gnome/GTK bloatcancer.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Edit .config/astroid/config and set accounts: …: sendmail: to something like a script that can be verified if its been invoked.
  2. Open astroid and send a mail

Expected behavior

The sendmail command is invoked.

[10:00:00] [0x00007fa076142b40] [M] [info] mw: yes-no: got yes!
[10:00:00] [0x00007fa076142b40] [M] [info] em: sending message..
[10:00:00] [0x00007fa076142b40] [M] [info] msg: loading message from file (mid supplied): /home/cache/astroid/1649775597.ytgm3jlhd3.astroid@zuni.none
[10:00:00] [0x00007fa076142b40] [M] [warning] charset: not defined.
[10:00:00] [0x00007fa076142b40] [M] [info] cm: sending (threaded)..
[10:00:02] [0x00007f9ff61ff640] [M] [warning] cm: sending message from account: ########
[10:00:02] [0x00007f9ff61ff640] [M] [warning] cm: message sent successfully!

Actual behavior

[09:44:45] [0x00007fe68dc33b40] [M] [info] mw: Really send message?
[09:44:46] [0x00007fe68dc33b40] [M] [info] mw: yes-no: got yes!
[09:44:46] [0x00007fe68dc33b40] [M] [info] em: sending message..
[09:44:46] [0x00007fe68dc33b40] [M] [info] msg: loading message from file (mid supplied): /home/cache/astroid/1649774680.10ybmgdaux.astroid@zuni.none
[09:44:46] [0x00007fe68dc33b40] [M] [warning] charset: not defined.

** (astroid:44115): CRITICAL **: 09:44:46.095: 
unhandled exception (type Glib::Error) in signal handler:
domain: gtk-icon-theme-error-quark
code  : 0
what  : Icon 'mail-send' not present in theme Adwaita

[09:44:46] [0x00007fe68dc33b40] [M] [info] mw: yes-no: got yes!
[09:44:46] [0x00007fe68dc33b40] [M] [info] em: sending message..
[09:44:46] [0x00007fe68dc33b40] [M] [info] msg: loading message from file (mid supplied): /home/cache/astroid/1649774680.10ybmgdaux.astroid@zuni.none
[09:44:46] [0x00007fe68dc33b40] [M] [warning] charset: not defined.

** (astroid:44115): CRITICAL **: 09:44:46.099: 
unhandled exception (type Glib::Error) in signal handler:
domain: gtk-icon-theme-error-quark
code  : 0
what  : Icon 'mail-send' not present in theme Adwaita

Notify maintainers

@bdimcheff @SuprDewd

Metadata

ehmry commented 2 years ago

Related? #163107

tkerber commented 2 years ago

Related to astroidmail/astroid#715 which is fixed in astroidmail/astroid#716.