-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QtWebKit no longer in PyQt4 (for example, in Ubuntu 16.10) #98
Comments
Commenting out a few lines inside of the file permitted me to launch the software without crashes. The map does not work, as it is the part that requires the WebView. I will see whether I can spend some time on making it work with PyQt5. @ac2ie , could you please share the link to the Debian 8 discussion you mentioned? |
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784513 User TheCompiler suggest QtWebKit will eventually be removed from PyQt5: http://askubuntu.com/questions/840318/importerror-no-module-named-pyqt4-qtwebkit |
Krastanov, since I am unexperienced with pyhon but the bug hurts me too: can you suggest which lines to commemt out? Thanks, Sebastian |
Not a lot I can do about this other than reimplement the map outside QtWebKit. I'll make the map support conditional on having QtWebKit installed, so it at least runs when the map is unavailable. |
There are some options that do not require reimplementation, just renaming some of the imports and fixing some API calls. I am sorry for the vagueness, I will try to respond more completely briefly. |
Any update on this issue? If nobody else is working on it, I will probably take a try at it, but it would be better if I knew I wasn't duplicating another persons effort. |
I was holding off on this until Gnuradio finally moves to Python 3. Also
because I'm lazy. =) If you'd like to take a stab at it I'm happy to merge
it in.
…On Tue, Jul 25, 2017 at 11:06 AM JWCampbell ***@***.***> wrote:
Any update on this issue? If nobody else is working on it, I will probably
take a try at it, but it would be better if I knew I wasn't duplicating
another persons effort.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#98 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAYZq3M6FTzEY_i5Ubs9JM3IqTxM4k_bks5sRi6lgaJpZM4K6NM1>
.
|
no progress on this bug in two years? The problem persists. Does nobody use qt-air-modes? |
The modes_gui component was never much used, and I haven't had the
bandwidth to maintain it to keep up with GUI toolkit changes. I should
probably deprecate it.
…On Sun, May 26, 2019 at 11:30 AM jayeye ***@***.***> wrote:
no progress on this bug in two years? The problem persists. Does nobody
use qt-air-modes?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#98?email_source=notifications&email_token=AADBTK6LRT4EPGRDZN6B77TPXLJL7A5CNFSM4CXI2M22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWIK7KQ#issuecomment-496021418>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADBTKZ6CUVDAJULABPRF53PXLJL7ANCNFSM4CXI2M2Q>
.
|
tom@kudu:~$ modes_gui
Traceback (most recent call last):
File "/usr/local/bin/modes_gui", line 24, in
from PyQt4 import QtCore,QtGui,QtWebKit
ImportError: cannot import name QtWebKit
Work-arounds on the web suggest you can get it to work by manually installing an earlier version of the PyQt4 package (I didn't try this), or use QtWebKit from PySide (I tried this but it didn't work):
tom@kudu:~$ modes_gui
Traceback (most recent call last):
File "/usr/local/bin/modes_gui", line 33, in
from air_modes.modes_rx_ui import Ui_MainWindow
File "/usr/local/lib/python2.7/dist-packages/air_modes/modes_rx_ui.py", line 428, in
from QtWebKit.qwebview import QWebView
ImportError: No module named QtWebKit.qwebview
Links to the Debian 8 discussion seems to say developers need to switch to PyQt5.
The text was updated successfully, but these errors were encountered: