geary stops syncing via imap
Describe your issue
What's the expected behaviour?
Geary syncs periodically via imap
What's the current behaviour?
After launching the app, it syncs once, then there are no new mails fetched or sent until the app is killed/restarted
How to reproduce your issue?
-
run geary
-
email yourself from a different system (or have someone send you emails)
-
send mails from geary
-
no new mails are received, and sent mails are stuck in the local
outbox
folder
What device are you using?
pinephone
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
stable ( v20.05
branch)
On what environment did you encounter the issue?
Phone environments
-
Phosh -
Plasma Mobile -
Sxmo
Other
-
No environment -
GNOME -
KDE Plasma -
Kodi -
MATE -
Shelli -
Sway -
Weston -
Xfce4 -
fbkeyboard -
i3wm
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
Uh, it's old, but regularly upgraded :)
Additional information
These asserts are logged when starting geary:
*[wrn] 23:41:47.0009 Gdk:Event with type 4 not holding a GdkSeat. It is most likely synthesized outside Gdk/GTK+
![crt] 23:41:49.0056 Atk:atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
![crt] 23:41:49.0059 GLib-GObject:g_object_unref: assertion 'G_IS_OBJECT (object)' failed
![crt] 23:41:49.0059 Atk:atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
![crt] 23:41:49.0059 GLib-GObject:g_object_unref: assertion 'G_IS_OBJECT (object)' failed
![crt] 23:41:49.0105 Atk:atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
![crt] 23:41:49.0106 GLib-GObject:g_object_unref: assertion 'G_IS_OBJECT (object)' failed
![crt] 23:41:49.0106 Atk:atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
![crt] 23:41:49.0106 GLib-GObject:g_object_unref: assertion 'G_IS_OBJECT (object)' failed
![crt] 23:41:51.0169 GLib-GObject:g_object_ref: assertion '!object_already_finalized' failed
![crt] 23:41:51.0916 geary:geary_imap_command_wait_until_complete: assertion 'G_TYPE_CHECK_INSTANCE_TYPE (cancellable, g_cancellable_get_type ())' failed
The geary:geary_imap_command_wait_until_complete
assert then shows up periodically afterwards, making me think that it's the culprit. The assert is from the generated C code (geary is written in vala), which I believe comes from here:
https://source.puri.sm/Librem5/geary/-/blob/pureos/sloppy/src/engine/imap/command/imap-command.vala#L257
if (this.cancelled_cause != null) {
throw this.cancelled_cause;
}
This app seems to use a different logging mechanism (G_MESSAGES_DEBUG
and G_DEBUG
were ignored when I set them...), so the ImapError
(this.cancelled_cause
) is eaten by something and we don't actually see the text from that.. sigh.