pimalaya / himalaya

CLI to manage emails
https://pimalaya.org
MIT License
3.18k stars 96 forks source link

`himalaya list` hangs with maildir and notmuch backends #329

Closed polyzen closed 2 years ago

polyzen commented 2 years ago

It gets to the following stage and doesn't go further:

[2022-03-06T23:10:32Z DEBUG himalaya::backends::notmuch::notmuch_backend] envelopes len: 73
[2022-03-06T23:10:32Z DEBUG himalaya::backends::notmuch::notmuch_backend] page begin: 0
[2022-03-06T23:10:32Z DEBUG himalaya::backends::notmuch::notmuch_backend] page end: 10
soywod commented 2 years ago

Could you link your himalaya config, the exact command you ran (was it just himalaya list?) and all the logs?

polyzen commented 2 years ago

notmuch backend:

soywod commented 2 years ago

Thank you, I will investigate whenever I have time. I just tried quickly but I cannot reproduce, I will have to dig a bit more.

soywod commented 2 years ago

I fixed the issue on the development branch. I found an infinite loop due to bad variable naming… what a shame :sweat_smile: