Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-24-2020, 08:38 PM   #1
midol
Junior Member
midol began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2020
Device: a linux laptop
what's this? everything used to work but now this error won't go away

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:~$
midol is offline   Reply With Quote
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,165
Karma: 8800000
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
Advert
Old 10-24-2020, 11:23 PM   #3
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: 45,176
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It's Ubuntu publishing broken software as usual. Uninstall the Ubuntu calibre and install the official binaries from https://calibre-ebook.com/download_linux and you will be fine.
kovidgoyal is offline   Reply With Quote
Old 10-26-2020, 10:01 PM   #4
midol
Junior Member
midol began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2020
Device: a linux laptop
yes, worked fine, thanks so much! nice software!
midol is offline   Reply With Quote
Old 10-28-2020, 04:27 PM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,616
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Moderator Notice

Later posts move to The Lounge

BR
BetterRed is offline   Reply With Quote
Advert
Reply

Tags
attribute error


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help -- new Calibre won't work on my OS RevSpyder Apple Devices 10 06-29-2020 06:14 PM
Sidelaunchers won't work for me pwright2 Kindle Fire 7 04-02-2013 01:02 PM
Updated Calibre...now it won't work. Bookworm1487 Conversion 1 06-05-2012 12:29 AM
Kindle for PC won't work vermontcathy Amazon Kindle 7 10-06-2010 01:15 PM
SD Card won't work... pemilahu Bookeen 31 01-04-2008 05:00 PM


All times are GMT -4. The time now is 05:19 AM.


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