Hi, in the GUI upon start of the application I get an error message since about 4 months. One can see it also on STDERR if qgis is started from xterm: Warning: Cannot open file ':/plugins/IGCSegmentImporter/icon.svg', because: No such file or directory Stacktrace (piped through c++filt): qgis(+0x10810)[0x55f6cfbfa810] qgis(+0x1107f)[0x55f6cfbfb07f] /usr/lib64/libQt5Core.so.5(+0xc3338)[0x7f7e946c4338] /usr/lib64/libQt5Core.so.5(+0xc3448)[0x7f7e946c4448] /usr/lib64/libQt5Core.so.5(QMessageLogger::warning(char const*, ...) const+0xb7)[0x7f7e9469259b] /usr/lib64/libQt5Svg.so.5(QSvgTinyDocument::load(QString const&)+0x25d)[0x7f7e9189ba6d] /usr/lib64/libQt5Svg.so.5(QSvgRenderer::load(QString const&)+0x3b)[0x7f7e9189c3cb] /usr/lib64/qt5/plugins/iconengines/libqsvgicon.so(+0x5dbd)[0x7f7e8994adbd] /usr/lib64/qt5/plugins/iconengines/libqsvgicon.so(+0x3889)[0x7f7e89948889] /usr/lib64/libQt5Gui.so.5(QIcon::addFile(QString const&, QSize const&, QIcon::Mode, QIcon::State)+0x1e9)[0x7f7e94ced639] /usr/lib64/libQt5Gui.so.5(QIcon::QIcon(QString const&)+0x33)[0x7f7e94ced9c3] /usr/lib/python3.8/site-packages/PyQt5/QtGui.abi3.so(+0x1dd65a)[0x7f7e449b165a] /usr/lib/python3.8/site-packages/PyQt5/sip.cpython-38-x86_64-linux-gnu.so(+0x19c08)[0x7f7e640a1c08] /usr/lib64/libpython3.8.so.1.0(+0xe50c2)[0x7f7e642930c2] /usr/lib64/libpython3.8.so.1.0(_PyObject_MakeTpCall+0x9c)[0x7f7e64242b3c] /usr/lib64/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x731c)[0x7f7e64221d8c] /usr/lib64/libpython3.8.so.1.0(+0x6b889)[0x7f7e64219889] /usr/lib64/libpython3.8.so.1.0(+0x9801b)[0x7f7e6424601b] /usr/lib64/libpython3.8.so.1.0(PyVectorcall_Call+0x6f)[0x7f7e6424473f] /usr/lib/python3.8/site-packages/PyQt5/sip.cpython-38-x86_64-linux-gnu.so(+0x130e9)[0x7f7e6409b0e9] Warning: Cannot open file ':/plugins/IGCSegmentImporter/icon.svg', because: No such file or directory Stacktrace (piped through c++filt): qgis(+0x10810)[0x55f6cfbfa810] qgis(+0x1107f)[0x55f6cfbfb07f] /usr/lib64/libQt5Core.so.5(+0xc3338)[0x7f7e946c4338] /usr/lib64/libQt5Core.so.5(+0xc3448)[0x7f7e946c4448] /usr/lib64/libQt5Core.so.5(QMessageLogger::warning(char const*, ...) const+0xb7)[0x7f7e9469259b] /usr/lib64/libQt5Svg.so.5(QSvgTinyDocument::load(QString const&)+0x25d)[0x7f7e9189ba6d] /usr/lib64/libQt5Svg.so.5(QSvgRenderer::load(QString const&)+0x3b)[0x7f7e9189c3cb] /usr/lib64/qt5/plugins/iconengines/libqsvgicon.so(+0x5dbd)[0x7f7e8994adbd] /usr/lib64/libQt5Gui.so.5(QIcon::addFile(QString const&, QSize const&, QIcon::Mode, QIcon::State)+0x8b)[0x7f7e94ced4db] /usr/lib64/libQt5Gui.so.5(QIcon::QIcon(QString const&)+0x33)[0x7f7e94ced9c3] /usr/lib/python3.8/site-packages/PyQt5/QtGui.abi3.so(+0x1dd65a)[0x7f7e449b165a] /usr/lib/python3.8/site-packages/PyQt5/sip.cpython-38-x86_64-linux-gnu.so(+0x19c08)[0x7f7e640a1c08] /usr/lib64/libpython3.8.so.1.0(+0xe50c2)[0x7f7e642930c2] /usr/lib64/libpython3.8.so.1.0(_PyObject_MakeTpCall+0x9c)[0x7f7e64242b3c] /usr/lib64/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x731c)[0x7f7e64221d8c] /usr/lib64/libpython3.8.so.1.0(+0x6b889)[0x7f7e64219889] /usr/lib64/libpython3.8.so.1.0(+0x9801b)[0x7f7e6424601b] /usr/lib64/libpython3.8.so.1.0(PyVectorcall_Call+0x6f)[0x7f7e6424473f] /usr/lib/python3.8/site-packages/PyQt5/sip.cpython-38-x86_64-linux-gnu.so(+0x130e9)[0x7f7e6409b0e9] /usr/lib/python3.8/site-packages/PyQt5/sip.cpython-38-x86_64-linux-gnu.so(+0x13331)[0x7f7e6409b331] src/core/qgsmessagelog.cpp:29 : (logMessage) [1104ms] 2022-10-21T11:57:35 [0] Application state: QGIS_PREFIX_PATH env var: Prefix: /usr Plugin Path: /usr/lib64/qgis Package Data Path: /usr/share/qgis Active Theme Name: default Active Theme Path: /usr/share/qgis/resources/themes/default/icons/ Default Theme Path: :/images/themes/default/ SVG Search Paths: /usr/share/qgis/svg/ /home/mmokrejs/.local/share/QGIS/QGIS3/profiles/default/svg/ User DB Path: /usr/share/qgis/resources/qgis.db Auth DB Path: /home/mmokrejs/.local/share/QGIS/QGIS3/profiles/default/qgis-auth.db Warning: Logged warning: Duplicate shortcut registered: Help Warning: Logged warning: Duplicate shortcut registered: Help Warning: Logged warning: Duplicate shortcut registered: Help Warning: Logged warning: Duplicate shortcut registered: Settings Warning: Logged warning: Duplicate shortcut registered: Help Warning: Logged warning: Duplicate shortcut registered: Help It is evident some variable was not expanded during installation of the package. Please note the leading slash in: Warning: Cannot open file ':/plugins/IGCSegmentImporter/icon.svg', because: No such file or directory
Sorry, seems this is an upstream issue: https://github.com/SGroe/gpx-segment-importer/issues/3
I think it was because of 'qgis-igc-importer' being used instead of expected 'IGCSegmentImporter' dirname. $HOME/.local/share/QGIS/QGIS3/profiles/default/python/plugins/qgis-igc-importer/igc_segment_importer_provider.py: return QIcon(':/plugins/IGCSegmentImporter/icon.svg')