~migadu/alps#165: 
500: error calling PathString: value method (...) called using nil *IMAPPartNode pointer

Hi,

Thanks for sharing alps publicly, it's very cool and nice.

For some emails received (specifically a DMARC error report from google.com's server) I get a 500 error code in the alps web interface and this message on stderr:

2022-05-15T05:12:23Z ERROR template: message.html:189:29: executing "message.html" at <$text.PathString>: error calling PathString: value method git.sr.ht/~migadu/alps/plugins/base.IMAPPartNode.PathString called using nil *IMAPPartNode pointer

It's repeatable whenever viewing this message, maybe something wrong in the IMAP parser?

I am using alps built from master a few weeks ago,

Regards mappu

Status
REPORTED
Submitter
~mappu04
Assigned to
No-one
Submitted
6 months ago
Updated
6 months ago
Labels
No labels applied.

~mappu04 6 months ago

This is still happening on current master, 6f578aa894.

~kon 6 months ago

This could happen because the email contains no text MIME parts. Does this patch fix the error?

Register here or Log in to comment, or comment via email.