Automated Report Services Update
We use the NWEA Web-based MAP Automated Report Services to retrieve data export files and recently moved the scripts to a new linux server. We had some difficulty getting these scripts to run; I think adding some additional instructions may help.
The first issue was retrieving the required Perl packages via the cpanm utility, per the recommendation on https://www.cpan.org/modules/INSTALL.html. That approach yields a failure during the building and testing step for the package WWW:Curl::Easy. To work around this, we used the system package manager to install the curl related dependencies for retrieve_dex.pl:
sudo dnf update
sudo dnf install perl-WWW-Curl
Additionally, we noticed that the retrievedex.pl script was not creating a zip file despite one appearing on the header data. We found that the subroutine getatt_fname() is doing a case-sensitive regex match for a line containing "Content-Disposition", and it skips assigning a filename if that isn't found. We changed the regex to be case insensitive:
if( $ln =~ /content-disposition/i ){
This seems to have fixed the issue.