Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 05-01-2020, 09:27 PM   #1
reader_
Junior Member
reader_ began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2019
Device: debian linux
Exclamation Calibre doesn't startup at all on debian sid

This is what i get on running calibre-debug-g:

calibre-debug -g
calibre 4.99.4 embedded-python: False is64bit: True
Linux-5.6.0-1-amd64-x86_64-with-glibc2.29 Linux ('64bit', 'ELF')
('Linux', '5.6.0-1-amd64', '#1 SMP Debian 5.6.7-1 (2020-04-29)')
Python 3.8.3rc1
Interface language: None
Failed to initialize plugin: '/home/shadead/.config/calibre/plugins/Barnes & Noble.zip'
Traceback (most recent call last):
File "/usr/lib/calibre/calibre/customize/ui.py", line 703, in initialize_plugins
plugin = load_plugin(zfp) if not isinstance(zfp, type) else zfp
File "/usr/lib/calibre/calibre/customize/ui.py", line 61, in load_plugin
return loader.load(path_to_zip_file)
File "/usr/lib/calibre/calibre/customize/zipplugin.py", line 202, in load
m = importlib.import_module(plugin_module)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
File "<frozen importlib._bootstrap>", line 618, in _load_backward_compatible
File "/usr/lib/calibre/calibre/customize/zipplugin.py", line 184, in load_module
exec(compiled, mod.__dict__)
File "calibre_plugins.barnes_noble.__init__", line 11, in <module>
ImportError: cannot import name 'quote' from 'urllib' (/usr/lib/python3.8/urllib/__init__.py)
Successfully initialized third party plugins: Open With (1, 5, 12) && Reading List (1, 6, 7)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.11191135734073 x 96.09458128078816
physicalDpi: 102.04823529411765 x 102.66947368421053
Using calibre Qt style: True
Traceback (most recent call last):
File "/usr/bin/calibre-debug", line 20, in <module>
sys.exit(main())
File "/usr/lib/calibre/calibre/debug.py", line 277, in main
calibre(['calibre'] + args[1:])
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'

What does this mean? What can i do?
reader_ is offline   Reply With Quote
Old 05-01-2020, 11:25 PM   #2
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: 44,380
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Uninstall your distribution provided calibre and install the official binaries from https://calibre-ebook.com/download_linux
kovidgoyal is online now   Reply With Quote
Advert
Old 05-02-2020, 08:28 AM   #3
reader_
Junior Member
reader_ began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2019
Device: debian linux
Thankyou

:
reader_ is offline   Reply With Quote
Old 10-10-2020, 02:16 PM   #4
martinf
Junior Member
martinf began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2020
Device: Kindle
Thanks! I was having problems too and this solved it. Mine was, for the sake of web searches:

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'
martinf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
qt5.4.2 debian sid apt-get install paxmark1 Calibre 1 06-28-2015 02:08 AM
Debian sid install paxmark1 Calibre 4 12-18-2014 06:58 PM
Glo Library on memory card doesn't show up at startup Future Science Kobo Reader 10 09-16-2013 04:29 PM
Request default to sleep mode on startup, or something so that lcd doesn't drain casualt enTourage Archive 4 06-07-2010 03:27 PM
How to build calibre in Debian Sid? tompe Calibre 10 05-06-2009 06:38 PM


All times are GMT -4. The time now is 11:49 PM.


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