View Single Post
Old 10-24-2020, 09:24 PM   #2
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,195
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by midol View Post
For no apparent reason I'm now getting this error when starting calibre on my Mint 20 laptop, does anyone know why?

dave@dave-900X1B:~$ calibre
qt5ct: using qt5ct plugin
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'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_bin_calibre.1000.crash'

Original exception was:
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'
dave@dave-900X1B:~$ uname -a
Linux dave-900X1B 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
dave@dave-900X1B:~$
Using a terminal start calibre in debug mode"

Code:
calibre-debug -g
Post the result.

Spoiler:
Should look like this using mint 20
Code:
calibre-debug -g
calibre 5.3  embedded-python: True is64bit: True
Linux-5.4.0-52-generic-x86_64-with-glibc2.2.5 Linux ('64bit', 'ELF')
('Linux', '5.4.0-52-generic', '#57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020')
Python 3.8.5
Interface language: None
Successfully initialized third party plugins: DeDRM (7, 0, 0) && Baen (1, 2, 0) && Barnes & Noble (1, 2, 16) && Diaps Editing Toolbag (0, 3, 7) && EpubSplit (2, 9, 0) && Goodreads (1, 5, 1) && Hyphenate This! (0, 1, 3) && KindleUnpack - The Plugin (0, 82, 3) && Kobo Books (1, 8, 0) && Modify ePub (1, 6, 1) && Quality Check (1, 10, 1) && Webscription (1, 2, 0)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 85.08374384236453 x 85.18427947598252
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Showing splash screen...
[0.08] splash screen shown
[0.08] Initializing db...
[0.32] db initialized
[0.32] Constructing main UI...
libpng warning: iCCP: known incorrect sRGB profile
Looking for desktop notifier support from: org.freedesktop.Notifications
org.freedesktop.Notifications found in 0.0 seconds
[1.66] main UI initialized...
[1.66] Hiding splash screen
Starting QuickView
[2.04] splash screen hidden
[2.04] Started up in 2.04 seconds with 3406 books


bernie
gbm is offline   Reply With Quote