<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Error in generating report in Linux (Ubuntu 16.04) VPS]]></title><description><![CDATA[<p>Iam using Linux VPS(ubuntu 16.04), with NodeJS server which is using jsreport and phantom PDF recipe for dynamic PDF generation.<br />
Please find the versions of packages that I have installed for this</p>
<pre><code class="language-js">&quot;jsreport&quot;: &quot;^2.5.0&quot;,
&quot;jsreport-phantom-pdf&quot;: &quot;^2.3.0&quot;
</code></pre>
<p>But on rendering,  this is failing with below error.</p>
<p>Please Note :- This is working fine in my Local Windows Server.</p>
<pre><code class="language-js">{ Error: Command failed: /node_modules/phantomjs/lib/phantom/bin/phantomjs --ignore-ssl-errors=yes --web-security=false --ssl-protocol=any /node_modules/phantom-html-to-pdf/lib/scripts/standaloneScript.js /tmp/jsreport/autocleanup/74d65374-d25e-4300-8f37-0d4e52911c59settings.html
PhantomJS has crashed. Please read the crash reporting guide at https://github.com/ariya/phantomjs/wiki/Crash-Reporting and file a bug report at https://github.com/ariya/phantomjs/issues/new with the crash dump file attached: /tmp/7dee0f27-259c-8454-34e1fe34-16cf8734.dmp
, Segmentation fault error: if you are using macOS Sierra with phantomjs &lt; 2 remember that phantomjs &lt; 2 does not work there and has bugs (https://github.com/ariya/phantomjs/issues/14558), try to upgrade to phantom 2 if using macOS Sierra
    at ChildProcess.exithandler (child_process.js:294:12)
    at ChildProcess.emit (events.js:198:13)
    at maybeClose (internal/child_process.js:982:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
  cause:
   { Error: Command failed: /node_modules/phantomjs/lib/phantom/bin/phantomjs --ignore-ssl-errors=yes --web-security=false --ssl-protocol=any /node_modules/phantom-html-to-pdf/lib/scripts/standaloneScript.js /tmp/jsreport/autocleanup/74d65374-d25e-4300-8f37-0d4e52911c59settings.html
   PhantomJS has crashed. Please read the crash reporting guide at https://github.com/ariya/phantomjs/wiki/Crash-Reporting and file a bug report at https://github.com/ariya/phantomjs/issues/new with the crash dump file attached: /tmp/7dee0f27-259c-8454-34e1fe34-16cf8734.dmp
   , Segmentation fault error: if you are using macOS Sierra with phantomjs &lt; 2 remember that phantomjs &lt; 2 does not work there and has bugs (https://github.com/ariya/phantomjs/issues/14558), try to upgrade to phantom 2 if using macOS Sierra
       at ChildProcess.exithandler (child_process.js:294:12)
       at ChildProcess.emit (events.js:198:13)
       at maybeClose (internal/child_process.js:982:16)
       at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
     killed: false,
     code: null,
     signal: 'SIGSEGV',
     cmd:
      '/node_modules/phantomjs/lib/phantom/bin/phantomjs --ignore-ssl-errors=yes --web-security=false --ssl-protocol=any /node_modules/phantom-html-to-pdf/lib/scripts/standaloneScript.js /tmp/jsreport/autocleanup/74d65374-d25e-4300-8f37-0d4e52911c59settings.html' },
  isOperational: true,
  killed: false,
  code: null,
  signal: 'SIGSEGV',
  cmd:
   '/node_modules/phantomjs/lib/phantom/bin/phantomjs --ignore-ssl-errors=yes --web-security=false --ssl-protocol=any /node_modules/phantom-html-to-pdf/lib/scripts/standaloneScript.js /tmp/jsreport/autocleanup/74d65374-d25e-4300-8f37-0d4e52911c59settings.html',
  logged: true }
</code></pre>
]]></description><link>https://forum.jsreport.net/topic/1223/error-in-generating-report-in-linux-ubuntu-16-04-vps</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 15:17:38 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/1223.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Aug 2019 07:47:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error in generating report in Linux (Ubuntu 16.04) VPS on Invalid Date]]></title><description><![CDATA[<p>Iam using Linux VPS(ubuntu 16.04), with NodeJS server which is using jsreport and phantom PDF recipe for dynamic PDF generation.<br />
Please find the versions of packages that I have installed for this</p>
<pre><code class="language-js">&quot;jsreport&quot;: &quot;^2.5.0&quot;,
&quot;jsreport-phantom-pdf&quot;: &quot;^2.3.0&quot;
</code></pre>
<p>But on rendering,  this is failing with below error.</p>
<p>Please Note :- This is working fine in my Local Windows Server.</p>
<pre><code class="language-js">{ Error: Command failed: /node_modules/phantomjs/lib/phantom/bin/phantomjs --ignore-ssl-errors=yes --web-security=false --ssl-protocol=any /node_modules/phantom-html-to-pdf/lib/scripts/standaloneScript.js /tmp/jsreport/autocleanup/74d65374-d25e-4300-8f37-0d4e52911c59settings.html
PhantomJS has crashed. Please read the crash reporting guide at https://github.com/ariya/phantomjs/wiki/Crash-Reporting and file a bug report at https://github.com/ariya/phantomjs/issues/new with the crash dump file attached: /tmp/7dee0f27-259c-8454-34e1fe34-16cf8734.dmp
, Segmentation fault error: if you are using macOS Sierra with phantomjs &lt; 2 remember that phantomjs &lt; 2 does not work there and has bugs (https://github.com/ariya/phantomjs/issues/14558), try to upgrade to phantom 2 if using macOS Sierra
    at ChildProcess.exithandler (child_process.js:294:12)
    at ChildProcess.emit (events.js:198:13)
    at maybeClose (internal/child_process.js:982:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
  cause:
   { Error: Command failed: /node_modules/phantomjs/lib/phantom/bin/phantomjs --ignore-ssl-errors=yes --web-security=false --ssl-protocol=any /node_modules/phantom-html-to-pdf/lib/scripts/standaloneScript.js /tmp/jsreport/autocleanup/74d65374-d25e-4300-8f37-0d4e52911c59settings.html
   PhantomJS has crashed. Please read the crash reporting guide at https://github.com/ariya/phantomjs/wiki/Crash-Reporting and file a bug report at https://github.com/ariya/phantomjs/issues/new with the crash dump file attached: /tmp/7dee0f27-259c-8454-34e1fe34-16cf8734.dmp
   , Segmentation fault error: if you are using macOS Sierra with phantomjs &lt; 2 remember that phantomjs &lt; 2 does not work there and has bugs (https://github.com/ariya/phantomjs/issues/14558), try to upgrade to phantom 2 if using macOS Sierra
       at ChildProcess.exithandler (child_process.js:294:12)
       at ChildProcess.emit (events.js:198:13)
       at maybeClose (internal/child_process.js:982:16)
       at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
     killed: false,
     code: null,
     signal: 'SIGSEGV',
     cmd:
      '/node_modules/phantomjs/lib/phantom/bin/phantomjs --ignore-ssl-errors=yes --web-security=false --ssl-protocol=any /node_modules/phantom-html-to-pdf/lib/scripts/standaloneScript.js /tmp/jsreport/autocleanup/74d65374-d25e-4300-8f37-0d4e52911c59settings.html' },
  isOperational: true,
  killed: false,
  code: null,
  signal: 'SIGSEGV',
  cmd:
   '/node_modules/phantomjs/lib/phantom/bin/phantomjs --ignore-ssl-errors=yes --web-security=false --ssl-protocol=any /node_modules/phantom-html-to-pdf/lib/scripts/standaloneScript.js /tmp/jsreport/autocleanup/74d65374-d25e-4300-8f37-0d4e52911c59settings.html',
  logged: true }
</code></pre>
]]></description><link>https://forum.jsreport.net/post/5675</link><guid isPermaLink="true">https://forum.jsreport.net/post/5675</guid><dc:creator><![CDATA[jacob-san]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error in generating report in Linux (Ubuntu 16.04) VPS on Wed, 28 Aug 2019 09:26:43 GMT]]></title><description><![CDATA[<p>Does it fail only for particular templates or even for &quot;Hello world&quot; pdf?</p>
<p>Please try to install the required phantomjs deps mentioned in the docs <a href="https://jsreport.net/learn/ubuntu" rel="nofollow">https://jsreport.net/learn/ubuntu</a></p>
<pre><code>sudo apt-get install -y --no-install-recommends gnupg git curl wget ca-certificates
sudo apt-get install -y --no-install-recommends xfonts-base xfonts-75dpi
</code></pre>
]]></description><link>https://forum.jsreport.net/post/5678</link><guid isPermaLink="true">https://forum.jsreport.net/post/5678</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Wed, 28 Aug 2019 09:26:43 GMT</pubDate></item><item><title><![CDATA[Reply to Error in generating report in Linux (Ubuntu 16.04) VPS on Invalid Date]]></title><description><![CDATA[<p>Thanks <a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/2">@jan_blaha</a> for the quick response. Resolved the issue. The error was due to insufficient memory on the VPS.</p>
]]></description><link>https://forum.jsreport.net/post/5683</link><guid isPermaLink="true">https://forum.jsreport.net/post/5683</guid><dc:creator><![CDATA[jacob-san]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>