Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QGIS won't close because it can't unload QNEAT3 #20

Open
gubuntu opened this issue Aug 23, 2019 · 1 comment
Open

QGIS won't close because it can't unload QNEAT3 #20

gubuntu opened this issue Aug 23, 2019 · 1 comment

Comments

@gubuntu
Copy link

gubuntu commented Aug 23, 2019

Mac OSX
QGIS 3.4

I get this error when I try to close QGIS and when I tried to reinstall the plugin

Error while unloading plugin QNEAT3 

KeyError: 'QNEAT3' 
Traceback (most recent call last):
  File "/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 393, in unloadPlugin
    _unloadPluginModules(packageName)
  File "/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 421, in _unloadPluginModules
    for path in sys.modules[mod].__path__:
  File "", line 1115, in __iter__
  File "", line 1103, in _recalculate
  File "", line 1099, in _get_parent_path
KeyError: 'QNEAT3'


Python version: 3.7.3 (default, Mar 27 2019, 09:23:15) [Clang 10.0.1 (clang-1001.0.46.3)] 
QGIS version: 3.4.11-Madeira Madeira, 9a8a6d4687 

Python Path:
/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python
/Users/gavinfleming/Library/Application Support/QGIS/QGIS3/profiles/default/python
/Users/gavinfleming/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins
/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/plugins
/Applications/QGIS3.4.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7/site-packages/geos
/Applications/QGIS3.4.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7
/Applications/QGIS3.4.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7/lib-dynload
/Applications/QGIS3.4.app/Contents/Resources/python
/Applications/QGIS3.4.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python37.zip
/Applications/QGIS3.4.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7/site-packages
/Users/gavinfleming/Library/Application Support/QGIS/QGIS3/profiles/default/python
.
/Users/gavinfleming/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/vector_tiles_reader/ext-libs
/Users/gavinfleming/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/mmqgis/forms
@PedroVenancio
Copy link

Hi @root676

This issue seems related to qgis/QGIS#36488

And I also confirm it on Linux, but not on Windows.

Here is the console output when the error message show up:

../../src/gui/raster/qgsrendererrasterpropertieswidget.cpp:341 : (setRendererWidget) [13749ms] renderer has widgetCreateFunction
../../src/providers/grass/qgsgrass.cpp:706 : (setMapsetSearchPathWatcher) [610ms] entered.
../../src/plugins/grass/qgsgrasstools.cpp:137 : (showTabs) [0ms] mTreeModel->rowCount() = 1
../../src/core/qgsmessagelog.cpp:29 : (logMessage) [745ms] 2020-05-29T23:05:20 Python error[1] Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 437, in unloadPlugin
    _unloadPluginModules(packageName)
  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 466, in _unloadPluginModules
    for path in sys.modules[mod].__path__:
  File "<frozen importlib._bootstrap_external>", line 1174, in __iter__
  File "<frozen importlib._bootstrap_external>", line 1162, in _recalculate
  File "<frozen importlib._bootstrap_external>", line 1158, in _get_parent_path
KeyError: 'QNEAT3'
../../src/providers/grass/qgsgrass.cpp:706 : (setMapsetSearchPathWatcher) [47364ms] entered.

I also could not find a pattern yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants