Skip to content

Calibre expression got broken recently #65313

@AmandaCameron

Description

@AmandaCameron

Describe the bug
Calibre on unstable is failing to launch, citing an ImportError

To Reproduce
Steps to reproduce the behavior:

  1. Try and launch the calibre desktop app, via your DE of choice, or from the terminal with calibre
  2. Get a happy little stack trace wherever the output goes.

Expected behavior
Calibre launches and displays my E-Book collection

Additional context
The stack trace output when it fails to launch is this:

Traceback (most recent call last):
  File "/nix/store/jd2a76h89awrp9dnppafcicvw9q2ydv1-calibre-3.45.2/bin/..calibre-wrapped-wrapped", line 21, in <module>
    sys.exit(calibre())
  File "/nix/store/jd2a76h89awrp9dnppafcicvw9q2ydv1-calibre-3.45.2/lib/calibre/calibre/gui_launch.py", line 73, in calibre
    main(args)
  File "/nix/store/jd2a76h89awrp9dnppafcicvw9q2ydv1-calibre-3.45.2/lib/calibre/calibre/gui2/main.py", line 554, in main
    gui_debug=gui_debug)
  File "/nix/store/jd2a76h89awrp9dnppafcicvw9q2ydv1-calibre-3.45.2/lib/calibre/calibre/gui2/main.py", line 389, in run_gui
    from calibre.gui2.ui import Main
  File "/nix/store/jd2a76h89awrp9dnppafcicvw9q2ydv1-calibre-3.45.2/lib/calibre/calibre/gui2/ui.py", line 42, in <module>
    from calibre.gui2.init import LibraryViewMixin, LayoutMixin
  File "/nix/store/jd2a76h89awrp9dnppafcicvw9q2ydv1-calibre-3.45.2/lib/calibre/calibre/gui2/init.py", line 19, in <module>
    from calibre.gui2.book_details import BookDetails
  File "/nix/store/jd2a76h89awrp9dnppafcicvw9q2ydv1-calibre-3.45.2/lib/calibre/calibre/gui2/book_details.py", line 15, in <module>
    from PyQt5.QtWebKitWidgets import QWebView
ImportError: No module named QtWebKitWidgets

Metadata

  • system: "x86_64-linux"
  • host os: Linux 4.19.60, NixOS, 19.09pre186408.3d84cffe955 (Loris)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.2.2
  • channels(amandac): ""
  • channels(root): "nixos-19.09pre186408.3d84cffe955, nixos-unstable-19.09pre182971.a1dd419c1ff"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken6.topic: pythonPython is a high-level, general-purpose programming language.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions