← Back to team overview

mahara-contributors team mailing list archive

[Bug 1914298] A change has been merged

 

Reviewed:  https://reviews.mahara.org/11537
Committed: https://git.mahara.org/mahara/mahara/commit/cb6e4b1c556e5054599c778aa898b14c9a543246
Submitter: Lisa Seeto (lisaseeto@xxxxxxxxxxxxxxx)
Branch:    master

commit cb6e4b1c556e5054599c778aa898b14c9a543246
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Tue Feb 2 11:18:30 2021 +1300

Bug 1914298: pdfexport fetch fails due to path changes

Change-Id: Id400b17fed284a3c5833d163717074b75189b178
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1914298

Title:
  running make pdfexport in terminal produces error

Status in Mahara:
  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