Fwd: sip6: AttributeError: 'YaccProduction' object has no attribute 'parser_manager'

Dmitry Shachnev mitya57 at ubuntu.com
Sun May 1 16:21:40 BST 2022


Hi!

I just had a chance to try qgis build with the latest sip snapshot.

Now it fails with this error:

Querying qmake about your Qt installation...
These bindings will be built: gui.
Generating the gui bindings...
sip-build: /<<PKGBUILDDIR>>/debian/build/python/gui/gui.sip: line 15 column 3: '%' is unexpected

Where line 15 is this one:

https://github.com/qgis/QGIS/blob/final-3_22_6/python/gui/gui.sip.in#L15

Attached the gui.sip file.

--
Dmitry Shachnev
-------------- next part --------------
%Module(name=qgis._gui,
        keyword_arguments="All")

%DefaultDocstringSignature "prepended"

%Feature HAVE_QSCI_SIP

%Import core/core.sip

%Import QtCore/QtCoremod.sip
%Import QtGui/QtGuimod.sip
%Import QtXml/QtXmlmod.sip

%If (HAVE_QSCI_SIP)
  %Import Qsci/qscimod5.sip
%End

%Include gui_auto.sip


More information about the PyQt mailing list