Re: [QGIS-Developer] Plugin using Pythonnet fails to start during installation

2024-04-10 Thread Benjamin Jakimow via QGIS-Developer
Dear Lars, this looks like your plugin's __init__.py (that one that contains the "def classFactory(iface)") want's to import the LIFA_ejdexplorer before it's location is added to the PYTHONPATH You may need something like: sys.path.append('folder to LIFA_ejdexplorer') before the

[QGIS-Developer] Plugin using Pythonnet fails to start during installation

2024-04-09 Thread Lars I. Nielsen via QGIS-Developer
Hi developers. We've developed a QGIS plugin, that utilizes Pythonnet to communicate with C# on Windows. Pythonnet is not part of the chosen distribution for Python in QGIS (as of 3.34), so we do a separate installation of this module into %APPDATA%/Python, which is used by all Python