Thread "to whom it concernss // phantomjs: PhantomJS fails to run headless"

Tabs

  • rabah
    rabah | rabah | 18. Jan 2018, 11:11
    Edited on: 9. Feb 2018, 10:33 - by rabah | rabah
    to whom it concerns / phantomjs: PhantomJS fails to run headless
  • mirco.hilbert
    Mirco Hilbert | mirco.hilbert | 12. Jun 2019, 12:23
    Edited on: 12. Jun 2019, 12:32 - by Mirco Hilbert | mirco.hilbert
    Re: to whom it concerns / phantomjs: PhantomJS fails to run headless
    Workaround in ILIAS 5.3 with PhantomJS 2.1.1

    1. Go to Administration >> PDF Generation
    2. For each entry:
      If "Selected Renderer" is set to PhantomJS:
      1. Configure Renderer
      2. Set "Path" to: /usr/bin/phantomjs -platform offscreen

  • miriamwegener
    miriamwegener | miriamwegener | 13. Jun 2019, 12:51
    Re (2): to whom it concerns / phantomjs: PhantomJS fails to run headless
    Thanks for these posts. Unfortunately it does not work in our installation: we get PDFs without text (only images are exported). Do you have an idea what we could do?
  • kinimodmeyer
    kinimodmeyer | kinimodmeyer | 22. Apr 2020, 17:26
    Re: Re (2): to whom it concerns / phantomjs: PhantomJS fails to run headless
    We have the same problem. did you solved the issue?
    After the change Mirco Hilbert said we get a pdf document.
    But it is empty and i see the following in our logs:

    ilPhantomJSRenderer::createPDFFileFromHTMLFile:323 ilPhantomJSRenderer return value line 0 : TypeError: Attempting to change the setter of an unconfigurable property.

  • Deleted
    Deleted | 5. May 2021, 16:13
    Edited on: 5. May 2021, 16:14 - by Deleted
    Re (2): Re (2): to whom it concerns / phantomjs: PhantomJS fails to run headless

    Just remove the phantomjs Ubuntu Package.
    Install the latetest phantomjs version from https://phantomjs.org/download.html to /usr/local/bin/phantomjs
    Set the "Path" within Ilias to: /usr/local/bin/phantomjs