[Python-modules-team] Bug#941959: python3-pyqt5.qtwebengine: QWebEngineUrlScheme seems not to be exported

Norbert Preining norbert at preining.info
Thu Oct 24 01:54:27 BST 2019


found 941959 5.12.1-4
reopen 941959
thanks

Hi Dimtry,

thanks for your work on the Qt transition, looks pretty fine as far as I
see.

On Tue, 08 Oct 2019, Dmitry Shachnev wrote:
> Hi Norbert!
> 
> On Tue, Oct 08, 2019 at 01:23:44PM +0900, Norbert Preining wrote:
> > When I try to import QWebEngineUrlScheme I get an error
> >     $ python3
> >     >>> from PyQt5.QtWebEngineCore import QtWebEngineUrlScheme
> >     Traceback (most recent call last):
> >       File "<stdin>", line 1, in <module>
> >     ImportError: cannot import name 'QtWebEngineUrlScheme' from 'PyQt5.QtWebEngineCore' (/usr/lib/python3/dist-packages/PyQt5/QtWebEngineCore.cpython-37m-x86_64-linux-gnu.so)
> >
> > But it seems it should be there since there is also
> >     /usr/share/sip/PyQt5/QtWebEngineCore/qwebengineurlscheme.sip
> 
> That class is only available since Qt 5.12, however right now we ship
> Qt 5.11 in sid. So you need to wait until Qt is updated (see #941093).

Now that we hvae Qt 5.12 and new versions of pyqt in sid, it seems that
it still fails to import :-(

	    from PyQt5.QtWebEngineCore import QWebEngineUrlScheme
	ImportError: cannot import name 'QWebEngineUrlScheme' from 'PyQt5.QtWebEngineCore' (/usr/lib/python3/dist-packages/PyQt5/QtWebEngineCore.cpython-37m-x86_64-linux-gnu.so)


Do I miss something here?

All the best

Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



More information about the Python-modules-team mailing list