Summary: | sci-geosciences/qgis-3.4.7 - src_configure(): Traceback (most recent call last): File ".../work/qgis-3.4.7/cmake/FindQsci.py", line 45, in <module> from PyQt5.Qsci import QSCINTILLA_VERSION_STR RuntimeError: the PyQt5.QtCore module failed to regi... | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
Component: | Current packages | Assignee: | Sci-geo Project <sci-geosciences> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aklhfex, jrepetto, rossi.f, tb |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Full build log for QGIS 3.4.12
Patch for QGIS 3.4.12 and QGIS 9999 |
Description
Martin Mokrejš
2019-07-10 03:38:56 UTC
I believe the problem is that described here: https://bugs.gentoo.org/689514 I have the same problem with QGIS 3.4.12 Created attachment 593666 [details]
Full build log for QGIS 3.4.12
Absolutely the same for version 3.4.12. Build log identical with Jean-Claude Repetto's one. Upgrading to x11-libs/qscintilla-2.11.1 and dev-python/qscintilla-python-2.11.1-r1 (both unstable) seems to solve the problem. At least compiled without errors, and starts. I have no fresh projects now, but can open my project from 03/2019 without any problems. QGIS installed: 3.4.12^t(10:14:21 24.10.2019)(3d examples georeferencer grass postgres python qml -hdf5 -mapserver -netcdf -opencl -oracle -polar -webkit PYTHON_SINGLE_TARGET="python3_6 -python3_5" PYTHON_TARGETS="python3_6 -python3_5") Created attachment 593754 [details, diff]
Patch for QGIS 3.4.12 and QGIS 9999
I confirm that I can compile QGIS 3.4.12 with scintilla 2.11.1.
(In reply to Jean-Claude Repetto from comment #6) > I confirm that I can compile QGIS 3.4.12 with scintilla 2.11.1. The same here, qgis-3.4.12 compiles fine, and $ python3 -c 'from PyQt5.Qsci import QSCINTILLA_VERSION_STR' doesn't throw an error anymore :) (maybe the error comes from the dev-python/PyQt5 package!?) I faced the same problem with qscintilla importing error with another software, also for me the upgrade to qscintilla-python >= 2.11.1 solves the issue QGIS 3.10.0 fine with: dev-python/qscintilla-python-2.10.8 x11-libs/qscintilla-2.10.8 for me. ... -- Found QScintilla2 PyQt module: 2.10.8 ... -- The following REQUIRED packages have been found: ... * QScintilla You are right, I downgraded qscintilla and qscintilla-python to 2.10.8, and now it works. Probably something has been changed, that solved this problem. |