running make pdfexport in terminal produces error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Robert Lyon | ||
20.04 |
Fix Released
|
Medium
|
Unassigned | ||
20.10 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
In order to enable PDF exports on the site we must enable the pdf plugin which requires "chrome-php" via the terminal command: "make pdfexport". While running this command an error is produced and the process fails with the following:
make pdfexport
Composer already installed...
Updating external dependencies with Composer...
Loading composer repositories with package information
Warning from https:/
Updating dependencies (including require-dev)
Nothing to install or update
Package phpunit/
Package phpunit/
Generating autoload files
Pulling Headless-
Archive: pdf_tmp.zip
End-of-
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of pdf_tmp.zip or
Makefile:108: recipe for target 'pdfexport' failed
make: *** [pdfexport] Error 9
It appears that there has been a change in the availability of the master.zip file upstream- this will require us to fetch the correct files in our Makefile (and any other places it's pulled) in a different way.
Changed in mahara: | |
status: | In Progress → Fix Committed |
milestone: | none → 21.04.0 |
Changed in mahara: | |
importance: | Undecided → Medium |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /reviews. mahara. org/11537 /git.mahara. org/mahara/ mahara/ commit/ cb6e4b1c556e505 4599c778aa898b1 4c9a543246
Committed: https:/
Submitter: Lisa Seeto (<email address hidden>)
Branch: master
commit cb6e4b1c556e505 4599c778aa898b1 4c9a543246
Author: Robert Lyon <email address hidden>
Date: Tue Feb 2 11:18:30 2021 +1300
Bug 1914298: pdfexport fetch fails due to path changes
Change-Id: Id400b17fed284a 3c5833d16371707 4b75189b178
Signed-off-by: Robert Lyon <email address hidden>