![]() |
#1 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jun 2018
Device: Various
|
Fresh install "No suitable graphics backend found" error message
I have installed Calibre as an "isolated" install so it does not require root access.
For testing, I'm using a CLI (SSH). The PDF never gets made. An error message is "No suitable graphics backend found" (search didn't find an instance of that phrase on the forum). What can I do to get past this point? Thank you! Here is a copy of a session: [ds1363]$ /home/willbont/bontragercgi.com/calibre/calibre/ebook-convert /home/willbont/bontragercgi.com/CalibreTest/22/page.html /home/willbont/bontragercgi.com/CalibreTest/22/index.pdf 1% Converting input to HTML... qt.webenginecontext: GL Type: disabled Surface Type: DefaultRenderableType Surface Profile: NoProfile Surface Version: 2.0 QSG RHI Backend: OpenGL Using Supported QSG Backend: yes Using Software Dynamic GL: no Using Multithreaded OpenGL: no Init Parameters: * application-name ebook-convert * browser-subprocess-path /home/willbont/bontragercgi.com/calibre/calibre/libexec/QtWebEngineProcess * disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetc h,WebOTP,WebPayments,WebUSB,PictureInPicture * disable-gpu * disable-setuid-sandbox * disable-speech-api * enable-features NetworkServiceInProcess,TracingServiceInProcess * enable-threaded-compositing * in-process-gpu * use-gl disabled InputFormatPlugin: HTML Input running on /home/willbont/bontragercgi.com/CalibreTest/22/page.html Language not specified Creator not specified Building file list... IgnoreFile("Could not read from file: / with error: [Errno 21] Is a directory: '/'") Normalizing filename cases Rewriting HTML links / is a link to a directory. Ignoring. 34% Running transforms on e-book... Merging user specified metadata... Detecting structure... Auto generated TOC with 2 entries. Flattening CSS and remapping font sizes... Stylesheet 'https://lightfocus.com/17includes/17lightfocus.css?recache' referenced by file 'page.html' not in manifest Source base font size is 12.00000pt Removing fake margins... Cleaning up manifest... Trimming unused files from manifest... Creating PDF Output... 67% Running PDF Output plugin 68% Parsed all content for markup transformation 70% Completed markup transformation No suitable graphics backend found Load of clbr://internal.invalid/book/page.html failed [ds1363]$ |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jun 2018
Device: Various
|
Followup
In case it is needed for addressing the issue (and thank you so much!), here is the session when Calbre was installed.
[ds1363]$ wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sh /dev/stdin install_dir=~/bontragercgi.com/calibre isolated=y 2022-08-29 14:14:15 URL:https://download.calibre-ebook.com/linux-installer.sh [33493/33493] -> "-" [1] Using python executable: /usr/bin/python3 Installing to /home/willbont/bontragercgi.com/calibre/calibre Downloading tarball signature securely... Using previously downloaded calibre-6.3.0-x86_64.txz Extracting files to /home/willbont/bontragercgi.com/calibre/calibre ... Extracting application files... Run "/home/willbont/bontragercgi.com/calibre/calibre/calibre" to start calibre [ds1363]$ |
![]() |
![]() |
Advert | |
|
![]() |
#3 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,091
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
You are probly missing some of the required qt and x-11 libraries.
Quote:
bernie Quote:
|
||
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,028
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
conversion to pdf uses QtWebEngine, which needs a suitable graphics backend, which you are missing. Presumably this is some kind of headless VM/container?
Use the env var to tell qt webengine to disable hardware acceleration, as described at https://doc.qt.io/qt-6/qtwebengine-debugging.html |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jun 2018
Device: Various
|
(There is a question at the end.)
I am still getting errors related to desktop integration. I don't and can't use desktop. For the functionality I need, it would be CLI, specifically, using the PHP exec() command to interface with Calibre. My current impression is that the latest versions of Calibre won't work that way. The reason for the install is because I am changing servers. An older version works grand on the server I am abandoning. I don't know what Calibre version is installed there, but many files are dated 2018 May 31. It is an isolated install. The Python version is 2.7. Is there a way to install a previous version? Whatever version the above might be? |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,028
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
instructions for installing older versions are on the linux download page.
|
![]() |
![]() |
![]() |
#7 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 36,896
Karma: 147879470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
You might want to try calibre 3.48. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Don't Understand Error Message: ... but found '"liga" 0' | enuddleyarbl | Editor | 24 | 04-16-2022 03:43 PM |
lots of empty folders, "no suitable source format found" -- clueless | etitameh | Calibre | 11 | 08-08-2010 09:30 PM |
"No Suitable Format Found"? | Robotech_Master | Calibre | 4 | 05-27-2009 03:01 PM |