Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: After update calibre not opening books

  1. #1

    Default After update calibre not opening books

    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:
    Code:
    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?

  2. #2
    Join Date
    Feb 2018
    Location
    Romania
    Posts
    459

    Default Re: After update calibre not opening books

    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
    Code:
    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.

  3. #3

    Default Re: After update calibre not opening books

    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.

  4. #4
    Join Date
    Jun 2008
    Location
    Southwest Virginia, USA
    Posts
    61

    Default Re: After update calibre not opening books

    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.
    John

    Home Tumbleweed Gnome User

  5. #5
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    549

    Default Re: After update calibre not opening books

    Same problem here with openSUSE Tumbleweed 20200908 and calibre 4.23.0-1.2

    Regards

    susejunky

  6. #6
    Join Date
    Feb 2018
    Location
    Romania
    Posts
    459

    Default Re: After update calibre not opening books

    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.

  7. #7

    Default Re: After update calibre not opening books

    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:
    Code:
    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:~>

  8. #8
    Join Date
    Jun 2008
    Location
    NZ
    Posts
    1,632

    Default Re: After update calibre not opening books

    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

  9. #9

    Default Re: After update calibre not opening books

    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:
    Code:
    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/                                                 |

  10. #10
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    549

    Default Re: After update calibre not opening books

    Quote Originally Posted by farcusnz View Post
    ... 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
    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

    Code:
    # 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

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •