giscan / Generalizer

Generalizer plugin for QGIS 3
9 stars 3 forks source link

Installing Generalizer #6

Closed onplot closed 4 years ago

onplot commented 4 years ago

Couldn't load plugin 'Generalizer3' due to an error when calling its classFactory() method

ImportError: cannot import name 'resources' from 'Generalizer3' (C:/Users/max/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Generalizer3__init.py) Traceback (most recent call last): File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 334, in _startPlugin plugins[packageName] = package.classFactory(iface) File "C:/Users/max/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Generalizer3__init__.py", line 25, in classFactory from .generalizer import generalizer File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:/Users/max/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Generalizer3\generalizer.py", line 34, in from . import resources ImportError: cannot import name 'resources' from 'Generalizer3' (C:/Users/max/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Generalizer3\init__.py)

Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] QGIS version: 3.12.1-București București, 121cc00ff0

Python Path: C:/Users/max/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\TomBio C:/Users/max/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\TerrainShading C:\Users\max\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\planet_explorer\extlibs C:/Users/max/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LAStools C:/OSGeo4W64/apps/qgis/./python C:/Users/max/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:/Users/max/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins C:/OSGeo4W64/apps/qgis/./python/plugins C:\OSGeo4W64\apps\Python37 C:\OSGeo4W64\apps\Python37\Scripts C:\OSGeo4W64\bin\python37.zip C:\OSGeo4W64\apps\Python37\DLLs C:\OSGeo4W64\apps\Python37\lib C:\OSGeo4W64\bin C:\OSGeo4W64\apps\Python37\lib\site-packages C:\OSGeo4W64\apps\Python37\lib\site-packages\win32 C:\OSGeo4W64\apps\Python37\lib\site-packages\win32\lib C:\OSGeo4W64\apps\Python37\lib\site-packages\Pythonwin C:/Users/max/AppData/Roaming/QGIS/QGIS3\profiles\default/python . C:\Users\max\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\HCMGIS/forms C:/Users/max/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web C:\Users\max\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins C:/Users/max/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis_resource_sharing C:\Users\max\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\qgis_resource_sharing C:\Users\max\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\qgis_resource_sharing\ext_libs C:\Users\max\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\what3words\extlibs G:/My Drive/££OnPlot/Projects/Earth Active/Moldova C:\Users\max\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows

kikislater commented 4 years ago

Fixed in 0.8, you will have it soon

https://github.com/giscan/Generalizer/commit/d99840d8cc04cfcd8f164d6a97e5479db4e7cfff https://github.com/giscan/Generalizer/commit/496c8288c0ea584ae3ba02ccd61e345d505c14c8