I upgraded pyqt6* to 6.4.2 but it didn't help.  Running python with
-v-v tells more about what's going on in python but not in eric.

I added some debugging code between lines 193 & 194 of 
/usr/lib/python3/dist-packages/eric7/QtHelpInterface/HelpDocsInstaller.py

info = engine.customValue(versionKey, "")
if info is None:
    logging.error(f'versionKey={versionKey} not found')
    info = ""
else:
    logging.error(f'versionKey={versionKey} found')
lst = info.split("|")

The odd thing is that the first item in the qt5Docs list is always "not
found", no matter what the first item is.  So the first call to
engine.customValue() is always returning None while subsequent calls
don't.

Run #1:
ERROR:root:versionKey=qt_version_5@@activeqt not found
ERROR:root:versionKey=qt_version_5@@qdoc found
ERROR:root:versionKey=qt_version_5@@qmake found
ERROR:root:versionKey=qt_version_5@@qt3d found
ERROR:root:versionKey=qt_version_5@@qt3drenderer found
ERROR:root:versionKey=qt_version_5@@qtandroidextras found
<snip>

I removed activeqt from the qt5Docs list and reran:

ERROR:root:versionKey=qt_version_5@@qdoc not found
ERROR:root:versionKey=qt_version_5@@qmake found
ERROR:root:versionKey=qt_version_5@@qt3d found
ERROR:root:versionKey=qt_version_5@@qt3drenderer found
ERROR:root:versionKey=qt_version_5@@qtandroidextras found
<snip>

I do have qdoc.qch, qmake.qch, qt3d.qch (and many others) in
/usr/share/qt5/doc/ but I don't have activeqt.qch, qt3drenderer.qch or
qtandroidextras.qch.  Whatever engine.customValue() is finding seems
to have nothing to do with the existence of the files.

Also, the QT docsfor QHelpEngineCore::customValue() say "Returns the
value assigned to the key. If the requested key does not exist, the
specified defaultValue is returned."  Since the first call here is
always returning None it seems that either the default value ("") isn't
always returned for a not found or the key is found but has a value
of None?

One of the things I haven't yet figured out is where is QHelpEngineCore
looking for these values?

I have all dependencies installed, have no broken packages, and I
had no errors during the dist-upgrade that installed eric7 yet it seems
like something is missing.

Reply via email to