Comments (3)
I had to add both settings to fix the two problems.
- QT_QPA_PLATFORM=
- OPENSSL_CONF=/etc/ssl
from codimd.
I add - OPENSSL_CONF=/etc/ssl/
to environment ,then the function export pdf returns to normal.
from codimd.
Here PDF download crashes with a different error (2.5.3)
This application failed to start because it could not find or load the Qt platform plugin "offscreen".
2024-03-28T08:39:20.068Z error: uncaughtException: Command failed: /home/hackmd/app/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs /home/hackmd/app/node_modules/markdown-pdf/phantom/render.js /tmp/tmp-35cN7C20mELfC1.html /tmp/tmp-35P4ICXwFmojGW.pdf /home/hackmd/app /home/hackmd/app/node_modules/markdown-pdf/runnings.js /home/hackmd/app/node_modules/markdown-pdf/css/pdf.css /home/hackmd/app/node_modules/highlight.js/styles/github-gist.css A4 portrait 2cm 0 10000
This application failed to start because it could not find or load the Qt platform plugin "offscreen".
Available platform plugins are: phantom.
Reinstalling the application may fix this problem.
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.
Error: Command failed: /home/hackmd/app/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs /home/hackmd/app/node_modules/markdown-pdf/phantom/render.js /tmp/tmp-35cN7C20mELfC1.html /tmp/tmp-35P4ICXwFmojGW.pdf /home/hackmd/app /home/hackmd/app/node_modules/markdown-pdf/runnings.js /home/hackmd/app/node_modules/markdown-pdf/css/pdf.css /home/hackmd/app/node_modules/highlight.js/styles/github-gist.css A4 portrait 2cm 0 10000
This application failed to start because it could not find or load the Qt platform plugin "offscreen".
Available platform plugins are: phantom.
Reinstalling the application may fix this problem.
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.
at ChildProcess.exithandler (node:child_process:402:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1100:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
2024-03-28T08:39:20.068Z error: An uncaught exception has occured.
2024-03-28T08:39:20.068Z error: Command failed: /home/hackmd/app/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs /home/hackmd/app/node_modules/markdown-pdf/phantom/render.js /tmp/tmp-35cN7C20mELfC1.html /tmp/tmp-35P4ICXwFmojGW.pdf /home/hackmd/app /home/hackmd/app/node_modules/markdown-pdf/runnings.js /home/hackmd/app/node_modules/markdown-pdf/css/pdf.css /home/hackmd/app/node_modules/highlight.js/styles/github-gist.css A4 portrait 2cm 0 10000
This application failed to start because it could not find or load the Qt platform plugin "offscreen".
Available platform plugins are: phantom.
Reinstalling the application may fix this problem.
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.
Error: Command failed: /home/hackmd/app/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs /home/hackmd/app/node_modules/markdown-pdf/phantom/render.js /tmp/tmp-35cN7C20mELfC1.html /tmp/tmp-35P4ICXwFmojGW.pdf /home/hackmd/app /home/hackmd/app/node_modules/markdown-pdf/runnings.js /home/hackmd/app/node_modules/markdown-pdf/css/pdf.css /home/hackmd/app/node_modules/highlight.js/styles/github-gist.css A4 portrait 2cm 0 10000
This application failed to start because it could not find or load the Qt platform plugin "offscreen".
Available platform plugins are: phantom.
Reinstalling the application may fix this problem.
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.
at ChildProcess.exithandler (node:child_process:402:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1100:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) {
code: null,
killed: false,
signal: 'SIGABRT',
cmd: '/home/hackmd/app/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs /home/hackmd/app/node_modules/markdown-pdf/phantom/render.js /tmp/tmp-35cN7C20mELfC1.html /tmp/tmp-35P4ICXwFmojGW.pdf /home/hackmd/app /home/hackmd/app/node_modules/markdown-pdf/runnings.js /home/hackmd/app/node_modules/markdown-pdf/css/pdf.css /home/hackmd/app/node_modules/highlight.js/styles/github-gist.css A4 portrait 2cm 0 10000',
level: 'error',
timestamp: '2024-03-28T08:39:20.068Z',
[Symbol(level)]: 'error',
2024-03-28T08:39:20.069Z error: Process will exit now.
[Symbol(message)]: '2024-03-28T08:39:20.068Z error: \tCommand failed: /home/hackmd/app/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs /home/hackmd/app/node_modules/markdown-pdf/phantom/render.js /tmp/tmp-35cN7C20mELfC1.html /tmp/tmp-35P4ICXwFmojGW.pdf /home/hackmd/app /home/hackmd/app/node_modules/markdown-pdf/runnings.js /home/hackmd/app/node_modules/markdown-pdf/css/pdf.css /home/hackmd/app/node_modules/highlight.js/styles/github-gist.css A4 portrait 2cm 0 10000\n' +
'This application failed to start because it could not find or load the Qt platform plugin "offscreen".\n' +
'\n' +
'Available platform plugins are: phantom.\n' +
'\n' +
'Reinstalling the application may fix this problem.\n' +
'PhantomJS has crashed. Please read the bug reporting guide at\n' +
'<http://phantomjs.org/bug-reporting.html> and file a bug report.\n'
}
from codimd.
Related Issues (20)
- Error during docker build HOT 1
- Next release date
- Cannot Rename Note HOT 5
- Everything Is Pasted Twice
- Lack of Security file
- Action list `Following` is too small
- Can't Upload images HOT 2
- Cannot build a Docker image on Apple Silicon
- Release 2.5.0 not available as docker image HOT 2
- Denial of Service in actionPandoc. HOT 2
- Docker image version 2.5.2 does not have CJK font HOT 1
- I'm also running into this issue. It appears there's no way to search notes by content?
- 双栏模式下编辑scroll bar会回到顶部
- accidentally created issue, delete this
- It seems like you're encountering an issue where the deployed server's webpage isn't loading, and you'd like to directly access the server to save the completed Markdown documents. HOT 14
- [security] The interface for uploading files does not require parameters and may be maliciously exploited
- export word through pandoc fail(2.5.3) HOT 1
- altgr (aka right option on macs) interpreted as alt (left option)
- Export user data fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codimd.