AttributeError: 'NoneType' object has no attribute 'shutdown'

Bug #1759842 reported by Jaakko Luttinen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Invalid
Undecided
Unassigned

Bug Description

When exiting Calibre v3.19, I get the following error:

```
Traceback (most recent call last):
  File "/nix/store/1q9gm3qp425fmnsp0bwxbk8wshn5f7mq-calibre-3.19.0/lib/calibre/calibre/gui2/ui.py", line 1050, in closeEvent
    self.shutdown(write_settings=False)
  File "/nix/store/1q9gm3qp425fmnsp0bwxbk8wshn5f7mq-calibre-3.19.0/lib/calibre/calibre/gui2/ui.py", line 976, in shutdown
    self.update_checker.shutdown()
AttributeError: 'NoneType' object has no attribute 'shutdown'
```

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

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
Jaakko Luttinen (jaakko-luttinen) wrote :

Well, this was for your information just in case you're interested in improving your software. Perhaps you can test yourself whether this happens or not with your own installaion. If it doesn't happen, feel free to ignore, and of course feel free to ignore anyway if you don't care.

Revision history for this message
Jaakko Luttinen (jaakko-luttinen) wrote :

Hmm.. Didn't mean to sound harsh. Sorry if it sounded like that. Just meant that I came to provide this information to you, feel free to use it or not.

Revision history for this message
Kovid Goyal (kovid) wrote :

Since I, and about 3 million other calibre users shutdown calibre
regularly without this error, you would be well advised to listen to
what you are told instead of making snide remarks.

Revision history for this message
Jaakko Luttinen (jaakko-luttinen) wrote :

Ok! Thanks for the info. Good to know that others aren't experiencing this bug.

Revision history for this message
Jaakko Luttinen (jaakko-luttinen) wrote :

And just to clarify, Calibre shuts down just "fine", I don't notice anything. It's just that when I launch Calibre from the command line, I can see those errors after I have exited Calibre. Anyway, perhaps it can be related to some plugin too, don't know.

Revision history for this message
Jaakko Luttinen (jaakko-luttinen) wrote :

I think I figured out the issue. It was in distro-specific patching. I fixed it now in the distro, I hope. Thanks for pointing out that there are possible issues related to distro packaged versions. I noticed that there was also a fix committed to Calibre repo for this. Thanks for that!

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.