fuerstu
September 9, 2020, 4:49am
1
Today I updated tumbleweed to version 20200906. Although everything looked OK when I opened calibre I couldn’t open any books. Or to be more accurate the books opened for less than a second and then disappeared. I opened calibre in the command line and got the following:
uli@linux-4skc:~> calibre
Fatal Python error: PyEval_SaveThread: NULL tstate
Python runtime state: initialized
Current thread 0x00007f7a6a424740 (most recent call first):
File "/usr/lib64/calibre/calibre/gui2/webengine.py", line 126 in _dispatch_messages
File "/usr/lib64/calibre/calibre/gui2/viewer/main.py", line 239 in main
File "/usr/lib64/calibre/calibre/gui_launch.py", line 80 in ebook_viewer
File "/usr/lib64/calibre/calibre/utils/ipc/worker.py", line 208 in main
File "/usr/bin/calibre-parallel", line 20 in <module>
Fatal Python error: PyEval_SaveThread: NULL tstate
Python runtime state: initialized
Current thread 0x00007fc1017d9740 (most recent call first):
File "/usr/lib64/calibre/calibre/gui2/webengine.py", line 126 in _dispatch_messages
File "/usr/lib64/calibre/calibre/gui2/viewer/main.py", line 239 in main
File "/usr/lib64/calibre/calibre/gui_launch.py", line 80 in ebook_viewer
File "/usr/lib64/calibre/calibre/utils/ipc/worker.py", line 208 in main
File "/usr/bin/calibre-parallel", line 20 in <module>
Here twice I opened (each time a different) book and then it crashed. I presume that is related to the first line “Fatal Python error: PyEval_SaveThread: NULL tstate” but I don’t understand what it means and even less how it can be fixed. Any ideas anyone?
Hello,
To be honest I don’t know what it means.
But for me calibre works fine with last TW.
Try to install it as recommend on calibre site
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
I never install calibre from repositories only in this way and I never had a problem.
fuerstu
September 10, 2020, 3:01am
3
Thank you, another_roadrunner, I normally prefer the rpm packages, then it is in the rpm database and I see instantly when a new version is out. So I will watch if there someone more knowledgable than me picking up this thread. Maybe another update fixes it. I used calibre now for at least 5 years and it is the first time that it is not working… I guess any of those many python packages needs updating or may be a different vendor? In the meantime I use the ebook reader lector which is far less comfortable (at least if you are used to calibre.
I’m not the knowledgeable guy you’re perhaps looking for but…
Other option. Calibre available as flatpak. They usually stay current and auto-update.
Also, have you ever tried the ebook reader Foliate? It’s in the repo and a flatpak too.
Same problem here with openSUSE Tumbleweed 20200908 and calibre 4.23.0-1.2
Regards
susejunky
Hello,
A few years ago I used calibre from repositories. And I had a lot of problems.
After I reading this:
“Please do not use your distribution provided calibre package, as those are often buggy/outdated. Instead use the Binary install described below.”
I never used it again from repositories.
fuerstu, Calibre will notify you when there is a new version.
I use TW 20200908 and calibre 4.23 and it works.
fuerstu
September 11, 2020, 4:42am
7
Thank you all who contributed. In the meantime tumbleweed is up ti version 20200909 and calibre-4.23.0-1.3.x86_64 is installed but the trouble still persists. Here is the command line:
uli@linux-4skc:~> calibre
Fatal Python error: PyEval_SaveThread: NULL tstate
Python runtime state: initialized
Current thread 0x00007f3c94373740 (most recent call first):
File "/usr/lib64/calibre/calibre/gui2/webengine.py", line 126 in _dispatch_messages
File "/usr/lib64/calibre/calibre/gui2/viewer/main.py", line 239 in main
File "/usr/lib64/calibre/calibre/gui_launch.py", line 80 in ebook_viewer
File "/usr/lib64/calibre/calibre/utils/ipc/worker.py", line 208 in main
File "/usr/bin/calibre-parallel", line 20 in <module>
uli@linux-4skc:~> rpm -qa calibre
calibre-4.23.0-1.3.x86_64
uli@linux-4skc:~>
sorry, can’t offer any help but just wanted to point out that I’m using
Tumbleweed 20200910 & Calibre 4.23.0-1.3.x86_64
Running without issue here . . .
so there is obviously something messed up with your install of Calibre or python
fuerstu
September 15, 2020, 4:13am
9
interesting, farcusnz, now 3 days after your reply I still have only version 20200909 and Zypper dup says nothing to do, You had already version 20200910. I wanted to wait to see whether a python update makes calibre usable again. Could you show me what your command zypper lr -d shows please? You seem to have different repos. My repos are:
zypper lr -d
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
---+--------------------------------------+-----------------------------+---------+-----------+---------+----------+--------+------------------------------------------------------------------------------------+--------
1 | http-download.opensuse.org-02d60008 | openSUSE:Factory | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/ |
2 | libdvdcss | libdvdcss | No | ---- | ---- | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/ |
3 | openSUSE-20180613-0 | openSUSE-20180613-0 | No | ---- | ---- | 99 | rpm-md | hd:/?device=/dev/disk/by-id/usb-Imation_HQT_070326B92223F774-0:0-part2 |
4 | openSUSE_Tumbleweed_1 | Herbster0815 | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/repositories/home:/Herbster0815/openSUSE_Tumbleweed/ |
5 | packman | packman | Yes | (r ) Yes | Yes | 80 | rpm-md | http://packman.inode.at/suse/openSUSE_Tumbleweed/ |
6 | repo-debug | openSUSE-Tumbleweed-Debug | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/tumbleweed/repo/oss/ |
7 | repo-non-oss | openSUSE-Tumbleweed-Non-Oss | Yes | (r ) Yes | Yes | 90 | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/ |
8 | repo-oss | openSUSE-Tumbleweed-Oss | Yes | (r ) Yes | Yes | 90 | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/ |
9 | repo-source | openSUSE-Tumbleweed-Source | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/tumbleweed/repo/oss/ |
10 | repo-update | openSUSE-Tumbleweed-Update | Yes | (r ) Yes | Yes | 90 | rpm-md | http://download.opensuse.org/update/tumbleweed/ |
11 | skype-stable | skype (stable) | Yes | (r ) Yes | Yes | 99 | rpm-md | https://repo.skype.com/rpm/stable/ |
I’m running openSUSE Tumbleweed 20200910 and use “https://download.opensuse.org/tumbleweed/repo/oss/x86_64/calibre-4.23.0-1.3.x86_64.rpm ” and these are the python packages installed on my machine
# zypper se -si python
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+-------------------------------------+---------+--------------------------------+--------+------------------------
i+ | libobasis6.4-python-script-provider | package | 6.4.4.2-2 | x86_64 | (System Packages)
i | libpython2_7-1_0 | package | 2.7.18-2.3 | x86_64 | openSUSE-Tumbleweed-Oss
i | libpython3_8-1_0 | package | 3.8.5-2.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python | package | 2.7.18-2.2 | x86_64 | openSUSE-Tumbleweed-Oss
i | python-base | package | 2.7.18-2.3 | x86_64 | openSUSE-Tumbleweed-Oss
i | python-qt5-common-devel | package | 5.15.0-1.1 | noarch | openSUSE-Tumbleweed-Oss
i | python-rpm-macros | package | 20200824.8fa42a7-1.1 | noarch | openSUSE-Tumbleweed-Oss
i | python-sip-common | package | 4.19.24-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python-wxWidgets-3_0 | package | 3.0.2.0-8.4 | x86_64 | (System Packages)
i | python-xml | package | 2.7.18-2.3 | x86_64 | openSUSE-Tumbleweed-Oss
i | python2-setuptools | package | 44.0.0-2.3 | noarch | openSUSE-Tumbleweed-Oss
i | python2-twodict | package | 1.2-3.2 | noarch | (System Packages)
i | python3-Automat | package | 20.2.0-1.6 | noarch | openSUSE-Tumbleweed-Oss
i | python3-Markdown | package | 3.2.2-1.3 | noarch | openSUSE-Tumbleweed-Oss
i | python3-Pillow | package | 7.2.0-3.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-PyHamcrest | package | 2.0.2-1.4 | noarch | openSUSE-Tumbleweed-Oss
i | python3-Pygments | package | 2.6.1-1.5 | noarch | openSUSE-Tumbleweed-Oss
i | python3-Twisted | package | 20.3.0-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-apparmor | package | 2.13.4-7.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-appdirs | package | 1.4.4-2.1 | noarch | openSUSE-Tumbleweed-Oss
i | python3-apsw | package | 3.31.1_r1-1.4 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-asn1crypto | package | 1.4.0-1.1 | noarch | openSUSE-Tumbleweed-Oss
i | python3-attrs | package | 19.3.0-2.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-bcrypt | package | 3.2.0-2.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-beautifulsoup4 | package | 4.9.1-1.3 | noarch | openSUSE-Tumbleweed-Oss
i | python3-certifi | package | 2020.6.20-1.1 | noarch | openSUSE-Tumbleweed-Oss
i | python3-cffi | package | 1.14.2-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-chardet | package | 3.0.4-8.6 | noarch | openSUSE-Tumbleweed-Oss
i | python3-constantly | package | 15.1.0-2.10 | noarch | openSUSE-Tumbleweed-Oss
i | python3-cryptography | package | 3.0-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-css-parser | package | 1.0.4-2.13 | noarch | openSUSE-Tumbleweed-Oss
i | python3-cssselect | package | 1.1.0-1.4 | noarch | openSUSE-Tumbleweed-Oss
i | python3-dbus-python | package | 1.2.14-1.5 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-decorator | package | 4.4.2-1.3 | noarch | openSUSE-Tumbleweed-Oss
i | python3-defusedxml | package | 0.6.0-1.5 | noarch | openSUSE-Tumbleweed-Oss
i | python3-dnspython | package | 2.0.0-1.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-dukpy-kovidgoyal | package | 0.3-1.12 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-ecdsa | package | 0.15-1.4 | noarch | openSUSE-Tumbleweed-Oss
i | python3-feedparser | package | 5.2.1-3.7 | noarch | openSUSE-Tumbleweed-Oss
i | python3-firewall | package | 0.7.5-1.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-gobject | package | 3.36.1-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-gobject-Gdk | package | 3.36.1-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-gobject-cairo | package | 3.36.1-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-h2 | package | 3.2.0-2.3 | noarch | openSUSE-Tumbleweed-Oss
i | python3-hpack | package | 3.0.0-6.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-html2text | package | 2020.1.16-2.1 | noarch | openSUSE-Tumbleweed-Oss
i | python3-html5-parser | package | 0.4.9-1.4 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-html5lib | package | 1.1-1.1 | noarch | openSUSE-Tumbleweed-Oss
i | python3-hyperframe | package | 5.2.0-1.6 | noarch | openSUSE-Tumbleweed-Oss
i | python3-hyperlink | package | 19.0.0-1.4 | noarch | openSUSE-Tumbleweed-Oss
i | python3-idna | package | 2.10-1.3 | noarch | openSUSE-Tumbleweed-Oss
i | python3-ifaddr | package | 0.1.7-1.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-incremental | package | 17.5.0-4.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-ldb | package | 2.1.4-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-lxml | package | 4.5.2-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-mechanize | package | 0.4.5-1.6 | noarch | openSUSE-Tumbleweed-Oss
i | python3-msgpack | package | 1.0.0-1.4 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-mysqlclient | package | 1.4.6-5.2 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-netifaces | package | 0.10.9-1.6 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-numpy | package | 1.19.1-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-odfpy | package | 1.4.1-2.3 | noarch | openSUSE-Tumbleweed-Oss
i | python3-olefile | package | 0.46-2.4 | noarch | openSUSE-Tumbleweed-Oss
i | python3-ordered-set | package | 3.1.1-4.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-packaging | package | 20.4-1.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-psutil | package | 5.7.0-2.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-py | package | 1.9.0-1.3 | noarch | openSUSE-Tumbleweed-Oss
i | python3-pyOpenSSL | package | 19.1.0-1.4 | noarch | openSUSE-Tumbleweed-Oss
i | python3-pyasn1 | package | 0.4.8-1.5 | noarch | openSUSE-Tumbleweed-Oss
i | python3-pyasn1-modules | package | 0.2.8-1.4 | noarch | openSUSE-Tumbleweed-Oss
i | python3-pycairo | package | 1.19.1-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-pycparser | package | 2.20-1.5 | noarch | openSUSE-Tumbleweed-Oss
i | python3-pycryptodome | package | 3.9.8-1.2 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-pyparsing | package | 2.4.7-2.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-pyserial | package | 3.4-3.9 | noarch | openSUSE-Tumbleweed-Oss
i | python3-python-dateutil | package | 2.8.1-1.4 | noarch | openSUSE-Tumbleweed-Oss
i | python3-qt5 | package | 5.15.0-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-qtwebengine-qt5 | package | 5.15.0-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-regex | package | 2020.4.4-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-requests | package | 2.24.0-1.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-requests-toolbelt | package | 0.9.1-1.7 | noarch | openSUSE-Tumbleweed-Oss
i | python3-rpm | package | 4.15.1-7.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-scour | package | 0.37-1.11 | noarch | openSUSE-Tumbleweed-Oss
i | python3-service_identity | package | 18.1.0-3.3 | noarch | openSUSE-Tumbleweed-Oss
i | python3-setuptools | package | 44.1.1-1.1 | noarch | openSUSE-Tumbleweed-Oss
i | python3-sgmllib3k | package | 1.0.0-1.6 | noarch | openSUSE-Tumbleweed-Oss
i | python3-sip | package | 4.19.24-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-six | package | 1.15.0-1.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-slip | package | 0.6.5-6.5 | noarch | openSUSE-Tumbleweed-Oss
i | python3-slip-dbus | package | 0.6.5-6.5 | noarch | openSUSE-Tumbleweed-Oss
i | python3-solv | package | 0.7.14-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-soupsieve | package | 2.0.1-1.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-talloc | package | 2.3.1-1.4 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-urllib3 | package | 1.25.10-1.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-webencodings | package | 0.5.1-4.5 | noarch | openSUSE-Tumbleweed-Oss
i | python3-zeroconf | package | 0.28.0-1.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-zope.interface | package | 5.1.0-1.4 | x86_64 | openSUSE-Tumbleweed-Oss
i | python38 | package | 3.8.5-2.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python38-base | package | 3.8.5-2.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | samba-libs-python3 | package | 4.12.5+git.168.88cc07e6cbf-2.2 | x86_64 | openSUSE-Tumbleweed-Oss
i | yast2-python3-bindings | package | 4.1.3-1.5 | x86_64 | openSUSE-Tumbleweed-Oss
#
Still i see the same behaviour as described in post #1 .
Regards
susejunky
Hello,
I do not think that python is to blame but calibre (rpm).
For me calibre works but I did not install it from rpm but from calibre’s site
https://calibre-ebook.com/download_linux
fuerstu:
interesting, farcusnz, now 3 days after your reply I still have only version 20200909 and Zypper dup says nothing to do, You had already version 20200910. I wanted to wait to see whether a python update makes calibre usable again. Could you show me what your command zypper lr -d shows please? You seem to have different repos. My repos are:
zypper lr -d
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
--+--------------------------------------+-----------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------+--------
1 | packman.inode.at-openSUSE_Tumbleweed | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_Tumbleweed/ |
2 | repo-non-oss | openSUSE-Tumbleweed-Non-Oss | Yes | (r ) Yes | Yes | 99 | NONE | http://download.opensuse.org/tumbleweed/repo/non-oss/ |
3 | repo-oss | openSUSE-Tumbleweed-Oss | Yes | (r ) Yes | Yes | 99 | NONE | http://download.opensuse.org/tumbleweed/repo/oss/ |
4 | repo-update | openSUSE-Tumbleweed-Update | Yes | (r ) Yes | Yes | 99 | NONE | http://download.opensuse.org/update/tumbleweed/
zypper se -si python
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+----------------------------+---------+--------------------------------+--------+------------------------
i+ | libpython3_8-1_0 | package | 3.8.5-2.1 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | libsamba-policy0-python3 | package | 4.12.5+git.168.88cc07e6cbf-2.2 | x86_64 | openSUSE-Tumbleweed-Oss
i | python-qtwebengine-qt5-sip | package | 5.15.0-1.1 | noarch | openSUSE-Tumbleweed-Oss
i+ | python-rpm-generators | package | 20200824.8fa42a7-1.1 | noarch | openSUSE-Tumbleweed-Oss
i+ | python-rpm-macros | package | 20200824.8fa42a7-1.1 | noarch | openSUSE-Tumbleweed-Oss
i | python-sip-common | package | 4.19.24-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-Automat | package | 20.2.0-1.6 | noarch | openSUSE-Tumbleweed-Oss
i | python3-Babel | package | 2.8.0-3.1 | noarch | openSUSE-Tumbleweed-Oss
i | python3-Genshi | package | 0.7.3-2.4 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-Markdown | package | 3.2.2-1.3 | noarch | openSUSE-Tumbleweed-Oss
i | python3-Pillow | package | 7.2.0-3.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-PyHamcrest | package | 2.0.2-1.4 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-PySocks | package | 1.7.1-1.4 | noarch | openSUSE-Tumbleweed-Oss
i | python3-Pygments | package | 2.6.1-1.5 | noarch | openSUSE-Tumbleweed-Oss
i | python3-Twisted | package | 20.3.0-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python3-appdirs | package | 1.4.4-2.1 | noarch | openSUSE-Tumbleweed-Oss
i | python3-apsw | package | 3.31.1_r1-1.4 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python3-asn1crypto | package | 1.4.0-1.1 | noarch | openSUSE-Tumbleweed-Oss
i | python3-async_generator | package | 1.10-1.6 | noarch | openSUSE-Tumbleweed-Oss
i | python3-attrs | package | 19.3.0-2.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-bcrypt | package | 3.2.0-2.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-beautifulsoup4 | package | 4.9.1-1.3 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-bind | package | 9.16.6-2.1 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-brotlipy | package | 0.7.0-5.4 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python3-certifi | package | 2020.6.20-1.1 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-cffi | package | 1.14.2-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python3-chardet | package | 3.0.4-8.6 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-cmdln | package | 2.0.0-2.9 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-configobj | package | 5.0.6-3.8 | noarch | openSUSE-Tumbleweed-Oss
i | python3-constantly | package | 15.1.0-2.10 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-createrepo_c | package | 0.16.0-1.2 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python3-cryptography | package | 3.0-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-css-parser | package | 1.0.4-2.13 | noarch | openSUSE-Tumbleweed-Oss
i | python3-cssselect | package | 1.1.0-1.4 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-cupshelpers | package | 1.5.7-21.4 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-dbus-python | package | 1.2.14-1.5 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python3-decorator | package | 4.4.2-1.3 | noarch | openSUSE-Tumbleweed-Oss
i | python3-defusedxml | package | 0.6.0-1.5 | noarch | openSUSE-Tumbleweed-Oss
i | python3-dnspython | package | 2.0.0-1.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-dukpy-kovidgoyal | package | 0.3-1.12 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-ecdsa | package | 0.15-1.4 | noarch | openSUSE-Tumbleweed-Oss
i | python3-feedparser | package | 5.2.1-3.7 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-firewall | package | 0.7.5-1.2 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-gobject | package | 3.36.1-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-gobject-Gdk | package | 3.36.1-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-gobject-cairo | package | 3.36.1-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-h2 | package | 3.2.0-2.3 | noarch | openSUSE-Tumbleweed-Oss
i | python3-hpack | package | 3.0.0-6.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-html2text | package | 2020.1.16-2.1 | noarch | openSUSE-Tumbleweed-Oss
i | python3-html5-parser | package | 0.4.9-1.4 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-html5lib | package | 1.1-1.1 | noarch | openSUSE-Tumbleweed-Oss
i | python3-hyperframe | package | 5.2.0-1.6 | noarch | openSUSE-Tumbleweed-Oss
i | python3-hyperlink | package | 19.0.0-1.4 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-idna | package | 2.10-1.3 | noarch | openSUSE-Tumbleweed-Oss
i | python3-ifaddr | package | 0.1.7-1.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-incremental | package | 17.5.0-4.2 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-ldb | package | 2.1.4-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python3-linux-procfs | package | 0.6-2.3 | noarch | openSUSE-Tumbleweed-Oss
i | python3-lxml | package | 4.5.2-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-mechanize | package | 0.4.5-1.6 | noarch | openSUSE-Tumbleweed-Oss
i | python3-msgpack | package | 1.0.0-1.4 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python3-mysqlclient | package | 1.4.6-5.2 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-netifaces | package | 0.10.9-1.6 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-odfpy | package | 1.4.1-2.3 | noarch | openSUSE-Tumbleweed-Oss
i | python3-olefile | package | 0.46-2.4 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-ordered-set | package | 3.1.1-4.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-outcome | package | 1.0.1-1.3 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-packaging | package | 20.4-1.2 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-ply | package | 3.11-3.10 | noarch | openSUSE-Tumbleweed-Oss
i | python3-psutil | package | 5.7.0-2.1 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python3-py | package | 1.9.0-1.3 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-pyOpenSSL | package | 19.1.0-1.4 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-pyasn1 | package | 0.4.8-1.5 | noarch | openSUSE-Tumbleweed-Oss
i | python3-pyasn1-modules | package | 0.2.8-1.4 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-pycparser | package | 2.20-1.5 | noarch | openSUSE-Tumbleweed-Oss
i | python3-pycryptodome | package | 3.9.8-1.2 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python3-pycups | package | 1.9.74-3.2 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python3-pycurl | package | 7.43.0.5-3.3 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python3-pyparsing | package | 2.4.7-2.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-pyserial | package | 3.4-3.9 | noarch | openSUSE-Tumbleweed-Oss
i | python3-python-dateutil | package | 2.8.1-1.4 | noarch | openSUSE-Tumbleweed-Oss
i | python3-pytz | package | 2020.1-1.2 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-pyudev | package | 0.22.0-1.3 | noarch | openSUSE-Tumbleweed-Oss
i | python3-qt5 | package | 5.15.0-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-qtwebengine-qt5 | package | 5.15.0-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-regex | package | 2020.4.4-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python3-requests | package | 2.24.0-1.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-requests-toolbelt | package | 0.9.1-1.7 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-rpm | package | 4.15.1-7.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-service_identity | package | 18.1.0-3.3 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-setuptools | package | 44.1.1-1.1 | noarch | openSUSE-Tumbleweed-Oss
i | python3-sgmllib3k | package | 1.0.0-1.6 | noarch | openSUSE-Tumbleweed-Oss
i | python3-sip | package | 4.19.24-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python3-six | package | 1.15.0-1.2 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-slip | package | 0.6.5-6.5 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-slip-dbus | package | 0.6.5-6.5 | noarch | openSUSE-Tumbleweed-Oss
i | python3-sniffio | package | 1.1.0-2.4 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-solv | package | 0.7.14-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-sortedcontainers | package | 2.2.2-2.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-soupsieve | package | 2.0.1-1.2 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-talloc | package | 2.3.1-1.4 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python3-tdb | package | 1.4.3-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python3-tevent | package | 0.10.2-1.4 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-trio | package | 0.16.0-1.2 | noarch | openSUSE-Tumbleweed-Oss
i+ | python3-urllib3 | package | 1.25.10-1.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-vapoursynth | package | 52-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-webencodings | package | 0.5.1-4.5 | noarch | openSUSE-Tumbleweed-Oss
i | python3-zeroconf | package | 0.28.0-1.2 | noarch | openSUSE-Tumbleweed-Oss
i | python3-zope.interface | package | 5.1.0-1.4 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python38 | package | 3.8.5-2.1 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python38-base | package | 3.8.5-2.1 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python38-curses | package | 3.8.5-2.1 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | python38-dbm | package | 3.8.5-2.1 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | samba-libs-python3 | package | 4.12.5+git.168.88cc07e6cbf-2.2 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | samba-python3 | package | 4.12.5+git.168.88cc07e6cbf-2.2 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | shared-python-startup | package | 0.1-6.2 | noarch | openSUSE-Tumbleweed-Oss
i+ | sudo-plugin-python | package | 1.9.2-2.1 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | yast2-python3-bindings | package | 4.1.3-1.5 | x86_64 | openSUSE-Tumbleweed-Oss
my machine is a new machine with a new Tumbleweed install from a couple of weeks ago (start of Sept - only a couple of zypper dups since install)
Calibre worked immediately after install - with all the python dependencies it pulled in
clearly there is nothing wrong with the calibre rpm as it is working fine here.
fuerstu:
interesting, farcusnz, now 3 days after your reply I still have only version 20200909 and Zypper dup says nothing to do, You had already version 20200910.
have you run “zypper ref” ?
already there are updates for me if I run zypper dup (although I have not yet installed them).
My Tumbleweed was installed in February this year.
There have been some large updates since then. So chances are that there are some “bad leftovers” from “the early days”. I will have to look into this.
Regards
susejunky
fuerstu
September 16, 2020, 3:42am
17
OK I updated today to version 20200914 and the same problems with calibre. I checked my installed python files and discovered that (besides all those packages farcusnz lists and a few others) there were several python2 packages. So I uninstalled (zypper remove calibre) calibre and then I removed those python 2 files. Then after a zypper clean I reinstalled calibre but I still have the same problems. Again I used command line calibre. The program opens OK and I can add and remove books but when I click view the file opens quickly and then closes again. I get the again the following output:
calibre
Fatal Python error: PyEval_SaveThread: NULL tstate
Python runtime state: initialized
Current thread 0x00007f9479f72740 (most recent call first):
File "/usr/lib64/calibre/calibre/gui2/webengine.py", line 126 in _dispatch_messages
File "/usr/lib64/calibre/calibre/gui2/viewer/main.py", line 239 in main
File "/usr/lib64/calibre/calibre/gui_launch.py", line 80 in ebook_viewer
File "/usr/lib64/calibre/calibre/utils/ipc/worker.py", line 208 in main
File "/usr/bin/calibre-parallel", line 20 in <module>
SO regarding the bottom line in this output I tried:
cat /usr/bin/calibre-parallel
#!/usr/bin/python3
"""
This is the standard runscript for all of calibre's tools.
Do not modify it unless you know what you are doing.
"""
import sys, os
path = os.environ.get('CALIBRE_PYTHON_PATH', '/usr/lib64/calibre')
if path not in sys.path:
sys.path.insert(0, path)
sys.resources_location = os.environ.get('CALIBRE_RESOURCES_PATH', '/usr/share/calibre')
sys.extensions_location = os.environ.get('CALIBRE_EXTENSIONS_PATH', '/usr/lib64/calibre/calibre/plugins')
sys.executables_location = os.environ.get('CALIBRE_EXECUTABLES_PATH', '/usr/bin')
from calibre.utils.ipc.worker import main
sys.exit(main())
This file has only 20 lines and I could not find anything like <module>, especially not in line 20.
duncreg
September 16, 2020, 5:58am
18
It’s not just you; I have it too. My guess is that it may be with one of the python libraries that calibre depends on, but I’m going to try some testing and see if I can figure it out.
BTW, multiple people in Reddit are complaining of the same problem:
https://www.reddit.com/r/openSUSE/comments/ipp1en/calibre_crashes/
Interestingly, a google search only shows this error being reported on OpenSUSE Tumbleweed.
duncreg
September 16, 2020, 9:10am
19
I just upgraded a Tumbleweed virtual machine that has sat idle for at least two months and that happened to have almost nothing installed except calibre. The update did indeed break calibre. Now time to figure out which file did it…
fuerstu
September 17, 2020, 2:42am
20
Thank you, duncreg, I haven’t seen this Reddit thread. So I presume it was something in the packaging for tumbleweed. I say was because today I ran another zypper dup and the upgrade to 20200915 included the packages python-qtwebengine-qt5-sip, python3-css-parser and python3-qtwebengine-qt5 and now calibre seems to be working again.