This question about Configuration: Answered

Cannot load package 'Email::MIME::Header::AddressList'

-- ScottDungan45 - 15 Jul 2019

I have Foswiki v2.1.6 up and running on Alpine linux in a Docker container. So far everything is working fine with the excption of email.

The email settings are correctly configured (no warning or error messages). Test emails to the Webmaster Email do not send and there is no

error message either in ui or in logs. However, when I attempt to rest a user password, I get the following on a blank html page:
Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information.

Cannot load package 'Email::MIME::Header::AddressList': Attempt to reload Emailpath aborted.
Compilation failed in require

I checked that the Email::MIME::Header::AddressList perl module is installed:
cpan Email::MIME::Header::AddressList

Email::MIME::Header::AddressList is up to date (1.946).

I also verified that the module in in the @INC path:
perl -MFile::Find=find -MFile::Spec::Functions -Tlwe 'find { wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => 1 }, @INC' | grep AddressList
<snip>
/usr/share/perl5/vendor_perl/Email/MIME/Header/AddressList.pm
</snip>

Any help would be appreciated.

Take a look at the packages installed by https://github.com/timlegge/docker-foswiki

-- TimothyLegge - 13 Oct 2019

This is part of Email::MIME, a core dependency.

-- MichaelDaum - 19 Feb 2020

To clarify my earlier comment. If you have a docker container using Alpine Linux where that module is missing you can review the modules included with https://github.com/timlegge/docker-foswiki as that container includes the proper module

-- TimothyLegge - 20 Feb 2020

Found the issue in timlegge/docker-foswiki Email::Address:XS is a dependency of Email::MIME. A new package for Alpine has been created and submitted to Alpine for approval. v1.10 of timlegge/docker-foswiki has a temporary fix

-- TimothyLegge - 21 Feb 2020
 

QuestionForm edit

Subject Configuration
Extension
Version Foswiki 2.1.6
Status Answered
Related Topics
Topic revision: r5 - 21 Feb 2020, TimothyLegge
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy