Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: After update calibre not opening books

  1. #11
    Join Date
    Feb 2018
    Location
    Romania
    Posts
    459

    Default Re: After update calibre not opening books

    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

  2. #12
    Join Date
    Jun 2008
    Location
    NZ
    Posts
    1,635

    Default Re: After update calibre not opening books

    Quote Originally Posted by fuerstu View Post
    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 | 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/
    Code:
    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

  3. #13
    Join Date
    Jun 2008
    Location
    NZ
    Posts
    1,635

    Default Re: After update calibre not opening books

    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

  4. #14
    Join Date
    Jun 2008
    Location
    NZ
    Posts
    1,635

    Default Re: After update calibre not opening books

    Quote Originally Posted by another_roadrunner View Post
    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
    clearly there is nothing wrong with the calibre rpm as it is working fine here.

  5. #15
    Join Date
    Jun 2008
    Location
    NZ
    Posts
    1,635

    Default Re: After update calibre not opening books

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

  6. #16
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    553

    Default Re: After update calibre not opening books

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

  7. #17

    Default Re: After update calibre not opening books

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

  8. #18
    Join Date
    Aug 2010
    Location
    Linden, NJ, USA
    Posts
    42

    Default Re: After update calibre not opening books

    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/co...libre_crashes/

    Interestingly, a google search only shows this error being reported on OpenSUSE Tumbleweed. :-(

  9. #19
    Join Date
    Aug 2010
    Location
    Linden, NJ, USA
    Posts
    42

    Default Re: After update calibre not opening books

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

  10. #20

    Default Re: After update calibre not opening books

    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.

Page 2 of 3 FirstFirst 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
  •