After recent update, Calibre doesn't start up

Bug #1899808 reported by Adolfo De Unanue
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Invalid
Undecided
Unassigned

Bug Description

Yesterday I updated Calibre in my Linux System (a Pop OS! distro), and after that, Calibre doesn't start up.

If I try to run it from the command line I get the following error:

~ ❯ calibre
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'
~ ❯

What can I do? Calibre is super important part of my workflow

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1899808

I do not provide support for people using distro provided packages. If you are using a distro provided package, uninstall it and install the official calibre binary from https://calibre-ebook.com/download_linux and if you can reproduce the bug with that, re-open the ticket. Of course, if you are already using the official binary, apologies and feel free to re-open the ticket immediately :)

 status invalid

Changed in calibre:
status: New → Invalid
Revision history for this message
Eli Schwartz (eschwartz) wrote : Re: [Bug 1899808] Re: calibre bug 1899808

Ubuntu is shipping a Release-Critical buggy package produced from
unreleased beta code, and doing so in their LTS release.

This bug is a duplicate of:

https://bugs.launchpad.net/bugs/1899700
https://bugs.launchpad.net/bugs/1899674
https://bugs.launchpad.net/bugs/1899355
https://bugs.launchpad.net/bugs/1899035
https://bugs.launchpad.net/bugs/1899029
https://bugs.launchpad.net/bugs/1898940

See also:
https://lists.debian.org/debian-devel/2020/10/msg00103.html
https://lists.ubuntu.com/archives/ubuntu-devel/2020-October/041228.html

Do NOT use the distro packages for calibre if you are on Ubuntu or any
other distribution based on Debian, until/unless they update to calibre
5.0 (this works just fine on Debian bullseye).

Do NOT report bugs for calibre if you have installed it via apt or the
Software Center, instead please report it directly to your distro.

 tag not-our-bug ubuntu-bug

Revision history for this message
Adolfo De Unanue (nanounanue) wrote :

You were right! I removed the distro package and then I installed calibre following your instructions. Everything is fine now. Thank you so much.

I will follow this installation workflow in the future.

Thanks again

Revision history for this message
Adolfo De Unanue (nanounanue) wrote :

This issue could be closed, btw

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

Other bug subscribers

Remote bug watches

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