Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-23-2020, 06:14 PM   #1
grantbarrett
Junior Member
grantbarrett began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2020
Device: Kindle
OpenGL not found error 5.5 on macOS Big Sur

I don't see a way to file an issue ticket on Github, so I hope this will do.

I've run up against an issue that may have to do with changes Apple made to the location (or absence) of OpenGL frameworks on macOS 11 (Big Sur).

Calibre 5.5 was fine until I activated its web server. Now launch does not complete. The splash screen appears, then the app stops trying to load.

I then launched it from the terminal with the debug option to see what I could learn. The final line in the terminal before stopping is "FileNotFoundError: [Errno 2] No such file or directory." I am attaching that terminal session here.

In the system logs, there are these three Calibre-related lines at the same time:

Nov 23 13:54:19 My-Server-Name com.apple.xpc.launchd[1]: Coalition Cache Hit: app<application.net.kovidgoyal.calibre.12930261220 .12930261347(501)> [856]

Nov 23 13:54:26 My-Server-Name calibre[816]: getattrlist failed for /System/Library/Extensions/AppleIntelHD5000GraphicsGLDriver.bundle/Contents/MacOS/AppleIntelHD5000GraphicsGLDriver: #2: No such file or directory

Nov 23 13:54:26 My-Server-Name calibre[816]: getattrlist failed for /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat: #2: No such file or directory

A quick Google search for relevant terms turns up many other projects running up against this problem. This discussion here seems relevant and enlightening:

https://github.com/ziglang/zig/issues/2208

I hope this is helpful. Thanks for the project and all the hard work over the years.
Attached Files
File Type: txt debug-terminal.txt (3.8 KB, 225 views)
grantbarrett is offline   Reply With Quote
Old 11-23-2020, 06:23 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,272
Karma: 126042366
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
That GitHub link is not what you want. Big Sur was not released in 2019.
JSWolf is offline   Reply With Quote
Advert
Old 11-23-2020, 07:19 PM   #3
grantbarrett
Junior Member
grantbarrett began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2020
Device: Kindle
Quote:
Originally Posted by JSWolf View Post
That GitHub link is not what you want. Big Sur was not released in 2019.
Oops! You're right. I think these may be helfpul:

https://bugzilla.mozilla.org/show_bug.cgi?id=1651455
grantbarrett is offline   Reply With Quote
Old 11-23-2020, 11:54 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,662
Karma: 22446730
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This doesnt have anything to do with OpenGL which neither calibre nor the calibre server use. This looks like an issue with something on your computer deleting the socket calibre uses to communicate with its worker processes. Probably a security program, which was triggerred by the starting of the webserver. Security programs often think servers are malware, since plebians are supposed to only consume content, not serve it.
kovidgoyal is offline   Reply With Quote
Old 11-24-2020, 12:57 AM   #5
grantbarrett
Junior Member
grantbarrett began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2020
Device: Kindle
Quote:
Originally Posted by kovidgoyal View Post
This doesnt have anything to do with OpenGL which neither calibre nor the calibre server use. This looks like an issue with something on your computer deleting the socket calibre uses to communicate with its worker processes. Probably a security program, which was triggerred by the starting of the webserver. Security programs often think servers are malware, since plebians are supposed to only consume content, not serve it.
Thank you, Kovid. I'll look into the firewall, the security permissions, and a few other things.
grantbarrett is offline   Reply With Quote
Advert
Old 11-24-2020, 08:05 AM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,272
Karma: 126042366
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by grantbarrett View Post
Thank you, Kovid. I'll look into the firewall, the security permissions, and a few other things.
Any AV program that thinks Calibre is an issue should be deleted and replaced with one that works.
JSWolf is offline   Reply With Quote
Old 11-24-2020, 02:53 PM   #7
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 33,558
Karma: 142904165
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
Any AV program that thinks Calibre is an issue should be deleted and replaced with one that works.
What is your suggested replacement for Big Sur?
DNSB is online now   Reply With Quote
Old 11-24-2020, 03:52 PM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,272
Karma: 126042366
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
What is your suggested replacement for Big Sur?
That I cannot say as I don't have experience with OS X AV. I just know the rule of thumb regarding Calibre and false positivities.
JSWolf is offline   Reply With Quote
Old 12-18-2020, 12:42 AM   #9
grantbarrett
Junior Member
grantbarrett began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2020
Device: Kindle
Just to follow up, I am still having this problem. There are no antivirus or security applications running or installed. No firewall, no anti-malware, nothing. I've completely removed Calibre as far as I can tell. Is there more than the Calibre app to delete? I didn't find anything else. I reinstalled it using the latest version, 5.7.2. I've moved the books and database so it should be starting from scratch and not trying to load them. Yet, consistently it gives me these lines in the system log not long after start.

Dec 17 20:34:54 My-Computer-Name com.apple.xpc.launchd[1]: Coalition Cache Hit: app<application.net.kovidgoyal.calibre.12933608386 .12933608513(501)> [10200]
Dec 17 20:34:56 My-Computer-Name calibre[6050]: getattrlist failed for /System/Library/Extensions/AppleIntelHD5000GraphicsGLDriver.bundle/Contents/MacOS/AppleIntelHD5000GraphicsGLDriver: #2: No such file or directory
Dec 17 20:34:56 My-Computer-Name calibre[6050]: getattrlist failed for /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat: #2: No such file or directory
grantbarrett is offline   Reply With Quote
Old 01-06-2021, 06:07 PM   #10
grantbarrett
Junior Member
grantbarrett began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2020
Device: Kindle
One step further: if I change

"autolaunch_server": true

to

"autolaunch_server": false

in

/Users/username/Library/Preferences/calibre/gui.py.json

Then Calibre starts just fine. So it's something to do with the book server.
grantbarrett is offline   Reply With Quote
Old 01-07-2021, 01:33 AM   #11
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,662
Karma: 22446730
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The server most definitely doesnt use OopenGL.
kovidgoyal is offline   Reply With Quote
Reply

Tags
big sur, launch, mac, macos, opengl

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Big Sur on Intel Macs leebase Apple Devices 53 12-04-2020 01:55 AM
Issues removing DRM on Big Sur & Calibre DeDRM Kindle for Mac lisainIL Conversion 1 11-20-2020 09:30 PM
OpenGL context error dan2the6th Calibre 4 07-10-2020 12:56 AM
Sigil crashes with fatal OpenGL error Banjo Sigil 42 04-10-2020 01:25 PM
Startup Error macOS Catalina madmartigan Calibre 8 06-29-2019 05:48 PM


All times are GMT -4. The time now is 08:29 PM.


MobileRead.com is a privately owned, operated and funded community.