Download raw body.
Muttprint perl runtime error
On 2025/09/24 18:10, Aric Gregson wrote:
> Hello,
>
> Running muttprint (inst:muttprint-0.73p2) from Neomutt I receive a runtime error:
>
> "Attempt to call undefined import method with arguments
> ("tmpdir") via package "File::Spec" (Perhaps you forgot to load
> the package?) at /usr/local/bin/muttprint line 50"
>
> I have found another person noting this at
> <https://aur.archlinux.org/packages/muttprint> and it suggests
> that there is a patch available for it.
I've just committed a fix for this. The AUR patch isn't enough because
it will break when writing a logfile in some cases.
Some of the other patches might also be useful (from AUR, two_edge.patch
and regex.patch) but I've left that for now.
Muttprint perl runtime error