Subject: Calibre can't find QtWebKitWidgets

From: Leo Famulari <[email-masked]>
Date: Fri, 9 Sep 2016 22:50:38 -0400

I can't get our Calibre package to work. I'm using Guix on Debian.

$ git describe
v0.11.0-933-g56ab55d
$ ./pre-inst-env guix environment --fallback --ad-hoc calibre -- calibre
Traceback (most recent call last):
  File "/gnu/store/crkc1353vi5ll0686fvp4z9mzq8ln6nx-calibre-2.63.0/bin/.calibre-real", line 20, in <module>
    sys.exit(calibre())
  File "/gnu/store/crkc1353vi5ll0686fvp4z9mzq8ln6nx-calibre-2.63.0/lib/calibre/calibre/gui_launch.py", line 63, in calibre
    main(args)
  File "/gnu/store/crkc1353vi5ll0686fvp4z9mzq8ln6nx-calibre-2.63.0/lib/calibre/calibre/gui2/main.py", line 525, in main
    gui_debug=gui_debug)
  File "/gnu/store/crkc1353vi5ll0686fvp4z9mzq8ln6nx-calibre-2.63.0/lib/calibre/calibre/gui2/main.py", line 371, in run_gui
    from calibre.gui2.ui import Main
  File "/gnu/store/crkc1353vi5ll0686fvp4z9mzq8ln6nx-calibre-2.63.0/lib/calibre/calibre/gui2/ui.py", line 42, in <module>
    from calibre.gui2.init import LibraryViewMixin, LayoutMixin
  File "/gnu/store/crkc1353vi5ll0686fvp4z9mzq8ln6nx-calibre-2.63.0/lib/calibre/calibre/gui2/init.py", line 19, in <module>
    from calibre.gui2.library.views import BooksView, DeviceBooksView
  File "/gnu/store/crkc1353vi5ll0686fvp4z9mzq8ln6nx-calibre-2.63.0/lib/calibre/calibre/gui2/library/views.py", line 19, in <module>
    from calibre.gui2.library.delegates import (RatingDelegate, PubDateDelegate,
  File "/gnu/store/crkc1353vi5ll0686fvp4z9mzq8ln6nx-calibre-2.63.0/lib/calibre/calibre/gui2/library/delegates.py", line 23, in <module>
    from calibre.gui2.dialogs.comments_dialog import CommentsDialog
  File "/gnu/store/crkc1353vi5ll0686fvp4z9mzq8ln6nx-calibre-2.63.0/lib/calibre/calibre/gui2/dialogs/comments_dialog.py", line 9, in <module>
    from calibre.gui2.dialogs.comments_dialog_ui import Ui_CommentsDialog
  File "/gnu/store/crkc1353vi5ll0686fvp4z9mzq8ln6nx-calibre-2.63.0/lib/calibre/calibre/gui2/dialogs/comments_dialog_ui.py", line 41, in <module>
    from calibre.gui2.comments_editor import Editor
  File "/gnu/store/crkc1353vi5ll0686fvp4z9mzq8ln6nx-calibre-2.63.0/lib/calibre/calibre/gui2/comments_editor.py", line 18, in <module>
    from PyQt5.QtWebKitWidgets import QWebView, QWebPage
ImportError: No module named QtWebKitWidgets