You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In QGIS 3.34 error ModuleNotFoundError: No module named 'imp'
Copy/paste some InaSAFE logs here if it was an error.
Traceback (most recent call last):
File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\utils.py", line 448, in startPlugin
plugins[packageName].initGui()
File "C:\Users/ USER/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\inasafe\safe\plugin.py", line 563, in initGui
self._create_dock()
File "C:\Users/ USER/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\inasafe\safe\plugin.py", line 538, in _create_dock
from safe.gui.widgets.dock import Dock
File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/ USER/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\inasafe\safe\gui\widgets\dock.py", line 90, in
from safe.gui.analysis_utilities import (
File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/ USER/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\inasafe\safe\gui\analysis_utilities.py", line 13, in
from safe.impact_function.impact_function_utilities import FROM_CANVAS
File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/ USER/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\inasafe\safe\impact_function\impact_function_utilities.py", line 20, in
from safe.report.impact_report import ImpactReport
File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/ USER/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\inasafe\safe\report\impact_report.py", line 10, in
import imp
File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'imp'
<!---
Logs in QGIS are available in the bottom right corner on the bubble icon.
Then open the InaSAFE tab and copy/paste some logs.
-->
### Expected Behaviour
### Environment
* InaSAFE :
* QGIS :
* OS :
<!---
Filenames and paths so as to reproduce locally, a project is better.
It's nice if you can provide a ZIP with data in the ticket (drag and drop your zip on this textbox).
-->
* Data used :
* Exposure :
* Hazard :
* Aggregation :
* Extent :
Checklist: <!--- if applicable -->
<!---
Replace the space between square brackets by a `x` to make it checked.
By running the analysis in debug mode, you may have some different errors.
-->
* [ ] Did you try to run it in debug mode ?
* [ ] Is the data available ?
* If yes, where (BTSync, data.inasafe.org, zip) ?
### Proposed Solution
The text was updated successfully, but these errors were encountered:
Problem
In QGIS 3.34 error ModuleNotFoundError: No module named 'imp'
The text was updated successfully, but these errors were encountered: