mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #62111
[Bug 1914298] Re: running make pdfexport in terminal produces error
** Changed in: mahara/20.04
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1914298
Title:
running make pdfexport in terminal produces error
Status in Mahara:
Fix Released
Status in Mahara 20.04 series:
Fix Released
Status in Mahara 20.10 series:
Fix Committed
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://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2
Updating dependencies (including require-dev)
Nothing to install or update
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
Pulling Headless-chromium-php from download ...
Archive: pdf_tmp.zip
End-of-central-directory signature not found. Either this file is not
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
pdf_tmp.zip.zip, and cannot find pdf_tmp.zip.ZIP, period.
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1914298/+subscriptions
References