Calibre eBook Viewer doesn't open in Ubuntu 20.04 LTS

Bug #1885348 reported by Martin Fulgueiras

This bug report was converted into a question: question #691611: Calibre eBook Viewer doesn't open in Ubuntu 20.04 LTS.

10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
calibre (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

1) LSB Version: core-11.1.0ubuntu2-noarch:printing-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch

2) calibre:
  Installed: 4.99.4+dfsg+really4.12.0-1build1
  Candidate: 4.99.4+dfsg+really4.12.0-1build1
  Version table:
 *** 4.99.4+dfsg+really4.12.0-1build1 500
        500 http://mx.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        500 http://mx.archive.ubuntu.com/ubuntu focal/universe i386 Packages
        100 /var/lib/dpkg/status

3) Hi, newbie here, thanks for the help. Calibre ebook viewer doesn't open and no message is displayed. Books in formats not selected to be opened by viewer open fine in document viewer. Run in debug, the report is at the end (5).

4)Nothing happened.

5) Calibre Debug log
calibre 4.99.4 embedded-python: False is64bit: True
Linux-5.4.0-37-generic-x86_64-with-glibc2.29 Linux ('64bit', 'ELF')
('Linux', '5.4.0-37-generic', '#41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020')
Python 3.8.2
Interface language: en_GB
calibre 4.99.4 embedded-python: False is64bit: True
Linux-5.4.0-37-generic-x86_64-with-glibc2.29 Linux ('64bit', 'ELF')
('Linux', '5.4.0-37-generic', '#41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020')
Python 3.8.2
Interface language: en_GB
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 141.7674418604651 x 141.4020618556701
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Showing splash screen...
[0.04] splash screen shown
[0.04] Initializing db...
[0.05] db initialized
[0.05] Constructing main UI...
Looking for desktop notifier support from: org.freedesktop.Notifications
org.freedesktop.Notifications found in 0.0 seconds
[0.64] main UI initialized...
[0.64] Hiding splash screen
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
[40.10] splash screen hidden
[40.10] Started up in 40.10 seconds with 159 books
Worker Launch took: 0.10670876502990723

6) Context: I had been having issues with the Epson printer (printed blank pages) and was fiddling in the /etc/apt/source.list and apt-get upgrade some things. The printer now works fine if you were wondering hehe.

Thanks

Revision history for this message
Martin Fulgueiras (mart1nf) wrote :

Ok newbie error here. The solution was just updating the opengl drivers which apparently went missing.

Changed in calibre (Ubuntu):
status: New → Invalid
Revision history for this message
Laurent Malod-Panisset (laluciol6990) wrote :

Hi

Same problem of Calibre not openning but the terminal output is

Traceback (most recent call last):
  File "/usr/bin/calibre", line 20, in <module>
    sys.exit(calibre())
  File "/usr/lib/calibre/calibre/gui_launch.py", line 73, in calibre
    main(args)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 543, in main
    listener = create_listener()
  File "/usr/lib/calibre/calibre/gui2/main.py", line 514, in create_listener
    return Listener(address=gui_socket_address())
  File "/usr/lib/calibre/calibre/utils/ipc/server.py", line 110, in __init__
    self._listener._unlink.cancel()
AttributeError: 'NoneType' object has no attribute 'cancel'

Not related to opengl

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.