QSocketNotifier: Can only be used with threads started with QThread

Hello,
Try to run Calibre on Commandline and get error < QSocketNotifier: Can only be used with threads started with QThread>
edo ~]$ calibre
QSocketNotifier: Can only be used with threads started with QThread
Traceback (most recent call last):
File “/usr/bin/calibre”, line 20, in
sys.exit(calibre())
File “/usr/lib64/calibre/calibre/gui_launch.py”, line 72, in calibre
main(args)
File “/usr/lib64/calibre/calibre/gui2/main.py”, line 542, in main
listener = create_listener()
File “/usr/lib64/calibre/calibre/gui2/main.py”, line 513, in create_listener
return Listener(address=gui_socket_address())
File “/usr/lib64/calibre/calibre/utils/ipc/server.py”, line 109, in init
self._listener._unlink.cancel()
AttributeError: ‘NoneType’ object has no attribute ‘cancel’

is this a calibre bug or something of Fedora?
Is this same problem? python 3.x - QSocketNotifier: Can only be used with threads started with QThread - Stack Overflow
Thanks

Note here, the message < QSocketNotifier: Can only be used with threads started with QThread> is not a critical failure in this instance. The problem begins to be reported after the “Traceback” message. What you’re seeing is a small stacktrace of the application as it crashes, basically its “last breath” in that moment.

What’s strange here is that I cannot reproduce this on a fresh install of Fedora 32 (with Cinnamon as the DE). So, it would be helpful to know what else is on your system. Give the following output:

  1. $ fpaste --sysinfo
  2. $ rpm -qa | fpaste

@Striker
fpaste : https://paste.centos.org/view/d9693444
rpm: https://paste.centos.org/view/54574ac3
Thanks

There’s some third-party stuff installed. Other than that, I have a system on F32 with Gnome that does not have this issue,

Do you mind showing all custom installed packages and repos they are from?

$ sudo dnf -C list extras

@Striker

Extra Packages
brhl5270dnlpr.i386 2.0.1-1 @System
cupswrapperHL5270DN.i386 2.0.1-1 @System
hanyang-gothic-a1-fonts.noarch 163840-2.20180313git16680f86.fc32 @updates-testing
pam_krb5.x86_64 2.4.13-14.fc31 @anaconda
polari-debuginfo.x86_64 3.36.1-1.fc32 @fedora-debuginfo
polari-debugsource.x86_64 3.36.1-1.fc32 @fedora-debuginfo
protonmail-bridge.x86_64 1.2.7-1 @@commandline
python2-pyyaml.x86_64 5.3-4.fc31 @updates
ql550lpr.i386 1.0.1-0 @@commandline
tomboy-ng.i386 0.26-2 @@commandline
vuescan.x86_64 9.7.27.0-0 @@commandline
zoom.x86_64 3.5.392530.0421-1 @@commandline
[jaap@linux ~]$

Hi,

I’ve had exactly the same issue for the last week.
F32/Wayland/Gnome3

Regards.

this morning’s upgrade from calibre.x86_64 4.13.0-1.fc32 to calibre.x86_64 4.17.0-1.fc32 has fixed the issue.

Thanks.

2 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.