Bug 229123 - www/qutebrowser: missing PyQt5.QtQuickWidgets module
Summary: www/qutebrowser: missing PyQt5.QtQuickWidgets module
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Roman Bogorodskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-18 19:40 UTC by serpent7776
Modified: 2018-06-21 18:49 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (novel)


Attachments
possible fix (1.91 KB, patch)
2018-06-19 05:07 UTC, Roman Bogorodskiy
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description serpent7776 2018-06-18 19:40:47 UTC
After updating qutebrowser to 1.3.2 I got "No module named PyQt5.QtQuickWidgets" error
I installed py36-qt5-quick, but same error.

inside python session I can only successfully `import PyQt5`; trying to `import PyQt5.QtQuickWidgets` fails with similar error.

This is self built package from ports inside poudriere.

==== Exception ====
Traceback (most recent call last):
  File "/usr/local/bin/qutebrowser", line 11, in <module>
    load_entry_point('qutebrowser==1.3.2', 'gui_scripts', 'qutebrowser')()
  File "/usr/local/lib/python3.6/site-packages/qutebrowser/qutebrowser.py", line 188, in main
    return app.run(args)
  File "/usr/local/lib/python3.6/site-packages/qutebrowser/app.py", line 138, in run
    init(args, crash_handler)
  File "/usr/local/lib/python3.6/site-packages/qutebrowser/app.py", line 164, in init
    _init_modules(args, crash_handler)
  File "/usr/local/lib/python3.6/site-packages/qutebrowser/app.py", line 505, in _init_modules
    browsertab.init()
  File "/usr/local/lib/python3.6/site-packages/qutebrowser/browser/browsertab.py", line 66, in init
    from qutebrowser.browser.webengine import webenginetab
  File "/usr/local/lib/python3.6/site-packages/qutebrowser/browser/webengine/webenginetab.py", line 38, in <module>
    from qutebrowser.browser.webengine import (webview, webengineelem, tabhistory,
  File "/usr/local/lib/python3.6/site-packages/qutebrowser/browser/webengine/webview.py", line 27, in <module>
    from PyQt5.QtQuickWidgets import QQuickWidget
ModuleNotFoundError: No module named 'PyQt5.QtQuickWidgets'


==== Timestamps ====
Launch: Mon Jun 18 18:56:33 2018
Crash: Mon Jun 18 18:56:39 2018

==== Version info ====
qutebrowser v1.3.2
Git commit: 
Backend: QtWebEngine (Chromium 56.0.2924.122)

CPython: 3.6.5
Qt: 5.10.1 (compiled 5.9.4)
PyQt: 5.9.2

sip: 4.19.8
colorama: 0.3.9
pypeg2: 2.15
jinja2: 2.10
pygments: 2.2.0
yaml: 3.12
cssutils: 1.0.2 $Id$
attr: 17.3.0
PyQt5.QtWebEngineWidgets: yes
PyQt5.QtWebKitWidgets: no
pdf.js: no
sqlite: 3.24.0
QtNetwork SSL: OpenSSL 1.0.2o  27 Mar 2018

Style: QFusionStyle
Platform: FreeBSD-11.1-RELEASE-p10-amd64-64bit-ELF, 64bit
Frozen: False
Imported from /usr/local/lib/python3.6/site-packages/qutebrowser
Qt library executable path: /usr/local/libexec/qt5, data path: /usr/local/share/qt5
OS Version: FreeBSD DaemONX 11.1-RELEASE-p10 FreeBSD 11.1-RELEASE-p10 #0: Tue May  8 05:21:56 UTC 2018     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 amd64
Comment 1 Roman Bogorodskiy freebsd_committer freebsd_triage 2018-06-19 05:07:10 UTC
Created attachment 194382 [details]
possible fix
Comment 2 Roman Bogorodskiy freebsd_committer freebsd_triage 2018-06-19 05:10:30 UTC
(In reply to Roman Bogorodskiy from comment #1)

I plan to commit the attached patch soon and then figure out what's the issue with QtQuickWidgets.
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-06-19 10:18:33 UTC
A commit references this bug:

Author: novel
Date: Tue Jun 19 10:18:20 UTC 2018
New revision: 472780
URL: https://svnweb.freebsd.org/changeset/ports/472780

Log:
  www/qutebrowser: add workaround for missing PyQt5.QtQuickWidgets

  Currently there's no port that provides PyQt5.QtQuickWidgets which is
  used by qutebrowser. It's used only in a single place, so roll back the
  commit that added it.

  PR:		229123
  Reported by:	serpent7776@gmail.com

Changes:
  head/www/qutebrowser/Makefile
  head/www/qutebrowser/files/
  head/www/qutebrowser/files/patch-qutebrowser_browser_webengine_webview.py
Comment 4 serpent7776 2018-06-19 17:30:55 UTC
Wow, that was quick, thanks, will try new version.
Comment 5 serpent7776 2018-06-21 18:49:13 UTC
Seems it's working fine, so closing this issue, thanks.