Activity log for bug #1898904

Date Who What changed Old value New value Message
2020-10-07 16:14:30 grofaty bug added bug
2020-10-07 16:24:37 grofaty summary Calibre does not start anymore Calibre crashes at startup with "/usr/bin/calibre, line 20" error
2020-10-07 21:07:09 Launchpad Janitor calibre (Ubuntu): status New Confirmed
2020-10-07 21:11:03 Jeff bug added subscriber Jeff
2020-10-08 15:22:24 Juanjo Benages attachment added 7b6416ac6522fc40f24f6baf3ca552b17a8b91d6.patch https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+attachment/5419564/+files/7b6416ac6522fc40f24f6baf3ca552b17a8b91d6.patch
2020-10-08 16:26:46 Ubuntu Foundations Team Bug Bot tags amd64 apport-bug focal amd64 apport-bug focal patch
2020-10-08 16:26:53 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2020-10-08 19:56:13 Johan Palmqvist bug added subscriber Johan Palmqvist
2020-10-11 10:46:10 James McIntosh bug added subscriber James McIntosh
2020-10-12 11:38:41 jmorahan bug added subscriber jmorahan
2020-10-12 15:50:38 Evan Huus summary Calibre crashes at startup with "/usr/bin/calibre, line 20" error Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'
2020-10-12 15:55:18 Evan Huus bug watch added https://bugzilla.redhat.com/show_bug.cgi?id=1840780
2020-10-12 15:55:51 Evan Huus bug added subscriber Evan Huus
2020-10-12 17:26:03 grofaty attachment added patch.sh https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+attachment/5421362/+files/patch.sh
2020-10-14 08:36:35 Timo Aaltonen nominated for series Ubuntu Focal
2020-10-14 08:36:35 Timo Aaltonen bug task added calibre (Ubuntu Focal)
2020-10-14 08:36:41 Timo Aaltonen calibre (Ubuntu): status Confirmed Fix Released
2020-10-14 14:22:18 Joshua bug added subscriber Joshua
2020-10-14 14:22:30 Launchpad Janitor calibre (Ubuntu Focal): status New Confirmed
2020-10-15 12:42:33 Norbert bug added subscriber Norbert
2020-10-16 12:52:47 The Critic removed subscriber The Critic
2020-10-17 10:07:25 Óscar Frías bug added subscriber Óscar Frías
2020-10-26 11:52:44 Fredda bug added subscriber Fredda
2020-11-19 20:58:38 José Lecaros Cisterna bug added subscriber José Lecaros Cisterna
2020-11-25 11:02:57 Rolf Kutz bug added subscriber Rolf Kutz
2020-12-08 17:13:19 Istvan Gyorsok bug added subscriber Istvan Gyorsok
2020-12-14 14:00:27 Mauro bug added subscriber Mauro
2020-12-15 09:42:28 Joshua Hoffmann bug added subscriber Joshua Hoffmann
2020-12-23 18:32:49 Marc Deslauriers attachment added calibre_4.99.4+dfsg+really4.12.0-1ubuntu1.debdiff https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+attachment/5446311/+files/calibre_4.99.4+dfsg+really4.12.0-1ubuntu1.debdiff
2020-12-23 18:33:11 Marc Deslauriers calibre (Ubuntu Focal): status Confirmed In Progress
2020-12-23 18:33:16 Marc Deslauriers bug added subscriber Marc Deslauriers
2020-12-23 18:33:25 Marc Deslauriers bug added subscriber Ubuntu Stable Release Updates Team
2020-12-23 18:37:18 Marc Deslauriers description On Ubuntu 20.04 few months ago I installed Calibre from Ubuntu Store official repository. I have been using Calibre for months, but today opening it from Ubuntu Launcher and nothing happens, no error. Executing: calibre from terminal and the 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' ============ Command: calibre --version outputs: calibre (calibre 4.99.4) I tried: sudo apt purge calibre sudo apt autoremove sudo apt install calibre but the problem is the same. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: calibre 4.99.4+dfsg+really4.12.0-1build1 ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60 Uname: Linux 5.4.0-48-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.9 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Wed Oct 7 18:07:57 2020 InstallationDate: Installed on 2019-10-23 (350 days ago) InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805) PackageArchitecture: all SourcePackage: calibre UpgradeStatus: Upgraded to focal on 2020-08-14 (54 days ago) modified.conffile..etc.default.apport: [modified] mtime.conffile..etc.default.apport: 2020-04-29T17:08:03.553351 [Impact] Calibre crashes on startup with Ubuntu 20.04. [Test Case] - install new package - see if Calibre launches or crashes immediately on startup [Where problems could occur] This update contains an upstream commit which corrects the specific error which is happening on Ubuntu 20.04. It simply skips calling cancel() when it is not available. The only regression I can think of is if this patch is incomplete, but it seems to work fine. Original report: On Ubuntu 20.04 few months ago I installed Calibre from Ubuntu Store official repository. I have been using Calibre for months, but today opening it from Ubuntu Launcher and nothing happens, no error. Executing: calibre from terminal and the 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' ============ Command: calibre --version outputs: calibre (calibre 4.99.4) I tried: sudo apt purge calibre sudo apt autoremove sudo apt install calibre but the problem is the same. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: calibre 4.99.4+dfsg+really4.12.0-1build1 ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60 Uname: Linux 5.4.0-48-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.9 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Wed Oct 7 18:07:57 2020 InstallationDate: Installed on 2019-10-23 (350 days ago) InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805) PackageArchitecture: all SourcePackage: calibre UpgradeStatus: Upgraded to focal on 2020-08-14 (54 days ago) modified.conffile..etc.default.apport: [modified] mtime.conffile..etc.default.apport: 2020-04-29T17:08:03.553351
2020-12-27 06:46:33 lotuspsychje bug added subscriber Ubuntu-discuss Bug team
2021-01-06 10:42:10 Robie Basak calibre (Ubuntu Focal): status In Progress Fix Committed
2021-01-06 10:42:13 Robie Basak bug added subscriber SRU Verification
2021-01-06 10:42:23 Robie Basak tags amd64 apport-bug focal patch amd64 apport-bug focal patch verification-needed verification-needed-focal
2021-01-07 11:04:58 Óscar Frías removed subscriber Óscar Frías
2021-01-09 15:26:20 Marc Deslauriers tags amd64 apport-bug focal patch verification-needed verification-needed-focal amd64 apport-bug focal patch verification-done verification-done-focal
2021-01-18 09:54:40 Launchpad Janitor calibre (Ubuntu Focal): status Fix Committed Fix Released
2021-01-18 09:54:43 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2021-01-18 10:36:36 Jenske bug added subscriber Jenske
2021-01-18 10:36:50 Jenske removed subscriber Jenske
2021-01-28 06:56:49 Pedram Shamkhali removed subscriber Pedram Shamkhali