GispoCoding / GlobeBuilder

QGIS 3 plugin meant for adding globe visualization for the current map.
GNU General Public License v2.0
46 stars 4 forks source link

AttributeError: module 'osgeo.osr' has no attribute 'GetPROJVersionMajor' #18

Closed SrNetoChan closed 3 years ago

SrNetoChan commented 3 years ago

I got this error when using QGIS 3.10.11 in Kubuntu 18.04.

2020-11-15T00:42:03 WARNING Traceback (most recent call last): File "/home/aneto/.local/share/QGIS/QGIS3/profiles/default/python/plugins/GlobeBuilder/plugin.py", line 211, in run self.dockwidget = GlobeBuilderDockWidget(self.iface) File "/home/aneto/.local/share/QGIS/QGIS3/profiles/default/python/plugins/GlobeBuilder/ui/globe_builder_dockwidget.py", line 85, in init self.populate_comboBoxProjections() File "/home/aneto/.local/share/QGIS/QGIS3/profiles/default/python/plugins/GlobeBuilder/ui/globe_builder_dockwidget.py", line 245, in populate_comboBoxProjections proj_v = proj_version() File "/home/aneto/.local/share/QGIS/QGIS3/profiles/default/python/plugins/GlobeBuilder/qgis_plugin_tools/tools/version.py", line 29, in proj_version major: int = osr.GetPROJVersionMajor() AttributeError: module 'osgeo.osr' has no attribute 'GetPROJVersionMajor'

Joonalai commented 3 years ago

Thank you for reporting the issue!

SrNetoChan commented 3 years ago

Thanks for your plugin :-)