grass
grass copied to clipboard
[Bug] wx.metadata addon installation error
Describe the bug The wx.metadata extension does not install using either the gui extension manager or the command line g.extension
To Reproduce Steps to reproduce the behavior:
-
Go to Settings -> Addons extensions-> Install extension from addons
-
Click on wx.metadata under wxGUI section.
-
In console tab, the following message appears:
-
g.extension extension=wx.metadata
-
Downloading precompiled GRASS Addons <wx.metadata>...
-
ERROR: canoont open URL: http://wingrass.fsv.cvut.cz/grass82/addons/grass-82.0/wx.metadata.zip
-
Alternatively, running g.extension extension=wx.metadata from the command window gets:
-
Downloading precompiled GRASS Addons <wx.metadata>... Fetching <wx.metadata> from http://wingrass.fsv.cvut.cz/grass82/addons/grass-8.2.0/wx.metadata.zip (be patient)... Updating extensions metadata file... Updating extension modules metadata file... WARNING: No metadata available for module 'g.gui.metadata': Unable to fetch interface description for command '<g.gui.metadata>'.
Details: <Cannot find the executable g.gui.metadata>
WARNING: No metadata available for module 'g.gui.cswbrowser': Unable to fetch interface description for command '<g.gui.cswbrowser>'.
Details: <Cannot find the executable g.gui.cswbrowser>
ERROR: Unable to read manual page: [Errno 2] No such file or directory: 'C:\Users\dnewcomb\AppData\Roaming\GRASS8\addons\docs\html\g.gui.metadata.html'
Expected behavior wx.metadata to load normally
Screenshots If applicable, add screenshots to help explain your problem.
System description (please complete the following information):
- Operating System: Windows 10 Professional
- GRASS GIS version 8.2.0 Standalone
Additional context Add any other context about the problem here.
Currently wx.metadata addon is not precompiled/prebuilded on the MS Windows OS platform due bug related with incorrect GDAL library version during compilation Win GRASS GIS issue #2497, https://github.com/OSGeo/grass/issues/2288#issuecomment-1194101047, https://github.com/OSGeo/grass-addons/issues/771. Affected are other addons too.
Currently quick workaround is install this addon under GNU/Linux OS platform.
It seems owslib is missing on the buildsystem too: https://wingrass.fsv.cvut.cz/grass82/addons/grass-8.2.1/logs/wx.metadata.log Or the addon could use lazy imports of third party libraries...
It seems owslib is missing on the buildsystem too: https://wingrass.fsv.cvut.cz/grass82/addons/grass-8.2.1/logs/wx.metadata.log Or the addon could use lazy imports of third party libraries...
Yes you are right, lazy import is the way how to solve this issue.
Looks like it's already been resolved.
No it is not resolved in the version 8.2.
It is recommended to move to the latest stable version 8.3.