[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2021-01-18 Thread Launchpad Bug Tracker
This bug was fixed in the package calibre -
4.99.4+dfsg+really4.12.0-1ubuntu1

---
calibre (4.99.4+dfsg+really4.12.0-1ubuntu1) focal; urgency=medium

  * Fix error during startup (LP: #1898904)
- debian/patches/fix_cancel_attribute.patch: upstream patch to fix
  unknown attribute error in src/calibre/utils/ipc/server.py.

 -- Marc Deslauriers   Wed, 23 Dec 2020
12:53:50 -0500

** Changed in: calibre (Ubuntu Focal)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2021-01-09 Thread Marc Deslauriers
** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2021-01-09 Thread Juanjo Benages
I have installed calibre version 4.99.4+dfsg+really4.12.0-1ubuntu1 from
the proposed repository and now it starts successfully.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2021-01-07 Thread Mauro
I have installed the calibre 4.99.4+dfsg+really4.12.0-1ubuntu1 package version 
from the proposed archive in Kubuntu 20.04. Calibre starts successfully. 
However, please note that I previously had patched the 
4.99.4+dfsg+really4.12.0-1build1 version as suggested in #9, so it was starting 
anyway in my system.
No conflict was given on apt install of the new version though, perhaps the 
patch being applied is exactly the same as that in #9?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2021-01-06 Thread Marc Deslauriers
Let's fix the immediate problem first, then someone can file a new bug
and do the proper procedure to try and get a newer version into focal
and groovy.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2021-01-06 Thread Fredda
Thanks for releasing a fixed package.

BUT, could you consider using a release version of calibre instead of a 
development 
version at a kind of random state. I see, that at the time focal was released 
there 
was no 5.x version available, but meanwhile official 5.x releases are.

For a LTS version it's IMHO not a good idea to go with a development version, 
where 
other bugs might be still in or there might be a good chance calibre plugins 
are broken
with this version.

In the ubuntu dev list 
https://lists.ubuntu.com/archives/ubuntu-devel/2020-October/041236.html
the debian caliber maintainer provided a 5.2 version for focal. I'm using it 
since he released
it and it works fine. 

Source and amd64 packages are available there:
  deb http://www.preining.info/debian focal main
  deb-src http://www.preining.info/debian focal main

Could you consider using this (or another 5.x version) instead?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2021-01-06 Thread Robie Basak
Hello grofaty, or anyone else affected,

Accepted calibre into focal-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/calibre/4.99.4+dfsg+really4.12.0-1ubuntu1
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: calibre (Ubuntu Focal)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2020-12-30 Thread Norbert
Still happens as per https://askubuntu.com/q/1303977/66509 .

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2020-12-23 Thread Marc Deslauriers
Attached is a debdiff with the minimal fix for this issue. I've uploaded
an updated package for processing by the SRU team also.

** Patch 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

** Changed in: calibre (Ubuntu Focal)
   Status: Confirmed => In Progress

** Description changed:

- On Ubuntu 20.04 few months ago I installed Calibre from Ubuntu Store
- official repository.
+ [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 
- 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()
+   File "/usr/bin/calibre", line 20, in 
+ 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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2020-12-14 Thread Mauro
When will this fix land to Ubuntu official repository?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2020-10-28 Thread carsten
Thanks grofaty, I'm a not so technical user and you instructions work
fine. I did it!

Only one question: The terminal output ends with:

patching file /usr/lib/calibre/calibre/utils/ipc/server.py
Failed to parse old style options string with error: 'ascii' codec can't decode 
byte 0xd9 in position 1: ordinal not in range(128)

Is there anything to worry about?

When I download a tecnical file, I never know where to put it. Can you give 
some advice?
Thanks a lot!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2020-10-28 Thread Carlos Pita
Here https://lists.ubuntu.com/archives/ubuntu-
devel/2020-October/041237.html is a suggestion to sync from Groovy to
Focal in order to fix the issue:

> I checked Calibre in Groovy (version 4.99.12+dfsg+really4.23.0-1) and
it works fine. As per bug report #1898904
(https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/comments/7),
Calibre >=4.15 has the required patch. So, instead of waiting for 5.2,
can we backport current Groovy version of Calibre to Focal?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2020-10-28 Thread Juanjo Benages
Yes, Ubuntu Focal had Python 3.8.2 at release time, but there was a
security update to Python 3.8.5.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2020-10-28 Thread Carlos Pita
Maybe a python upgrade to 3.8.5 at some point since the release of
focal?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2020-10-28 Thread Carlos Pita
When this started to happen? I would be surprised if it was an update to
focal (why?), but I have the feeling this was working at the beginning.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2020-10-27 Thread The Big Monkey
I also applied patch and can confirm it resolves the issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2020-10-15 Thread Bill (franksmcb)
Applied patch and can confirm it resolves the issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2020-10-15 Thread Norbert
Patch applied. Thanks!

Hope the package in the repository will be fixed soon.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2020-10-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: calibre (Ubuntu Focal)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2020-10-14 Thread Timo Aaltonen
** Also affects: calibre (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Changed in: calibre (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2020-10-12 Thread Juanjo Benages
I have uploaded a patched version of calibre to a ppa:
https://launchpad.net/~juanjo-benages/+archive/ubuntu/fixes

It works for me. It should work as an interim until there is an updated
package in the official Ubuntu repository.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2020-10-12 Thread grofaty
Evans, great thanks for info how to fix, it works fine.

I have written bash file for the users that are not so technical.

Instructions:
1. Download file patch.sh from my post.
2. Open terminal, default keyboard shortcut is: CTRL+ALT+T
3. Set execution permissions: chown 700 patch.sh
4. Execute commands: ./patch.sh
5. Then you can delete patch.sh file: rm patch.sh

Hope this helps for others too.

P.S. For non-technical users, package maintainer that has packaged
original Calibre program in Ubuntu 20.04, please update the package and
push it to official Ubuntu repository.

** Attachment added: "patch.sh"
   
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+attachment/5421362/+files/patch.sh

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2020-10-12 Thread grofaty
Ahhh, sorry bug in instructions above in step 3 should be:
chmod 700 patch.sh

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2020-10-12 Thread Evan Huus
As a work-around for those affected, I can confirm that manually
applying the upstream patch to
`/usr/lib/calibre/calibre/utils/ipc/server.py` does allow Calibre to
start up successfully.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898904] Re: Calibre crashes at startup with AttributeError: 'NoneType' object has no attribute 'cancel'

2020-10-12 Thread Evan Huus
Per https://bugzilla.redhat.com/show_bug.cgi?id=1840780#c2 this happens
on python >= 3.8.3. As Focal ships 3.8.5 we get this bug. Juanjo linked
and attached the upstream patch already, which is included in Calibre >=
4.15. Focal ships Calibre version 4.99.4 which I assume is some pre-
release version of the Calibre 5 series which didn't yet include this
fix. Calibre 5 is now available and presumably would also fix this
issue.

** Summary changed:

- Calibre crashes at startup with "/usr/bin/calibre, line 20" error
+ Calibre crashes at startup with AttributeError: 'NoneType' object has no 
attribute 'cancel'

** Bug watch added: Red Hat Bugzilla #1840780
   https://bugzilla.redhat.com/show_bug.cgi?id=1840780

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898904

Title:
  Calibre crashes at startup with AttributeError: 'NoneType' object has
  no attribute 'cancel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1898904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs