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
On several occasions I have attempted to install the QGIS Koordinates plugin. Each time it fails, including when I uninstall and reinstall the plugin. The error message is below. QGIS is installed on a stand alone ubuntu server. QGIS is used by a single user.
Couldn't load plugin 'koordinates' due to an error when calling its initGui() method
AttributeError: 'QMainWindow' object has no attribute 'screen'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qgis/utils.py", line 448, in startPlugin
plugins[packageName].initGui()
File "/home/administrator/.local/share/QGIS/QGIS3/profiles/default/python/plugins/koordinates/plugin.py", line 49, in initGui
self.dock = Koordinates(self.iface.mainWindow())
File "/home/administrator/.local/share/QGIS/QGIS3/profiles/default/python/plugins/koordinates/gui/koordinates.py", line 446, in init
if os.name == 'nt' or self.window().screen().devicePixelRatio() > 1:
AttributeError: 'QMainWindow' object has no attribute 'screen'
Python version: 3.8.10 (default, May 26 2023, 14:05:08) [GCC 9.4.0]
QGIS version: 3.26.3-Buenos Aires Buenos Aires, 65e4edfdad
Reported by User:
On several occasions I have attempted to install the QGIS Koordinates plugin. Each time it fails, including when I uninstall and reinstall the plugin. The error message is below. QGIS is installed on a stand alone ubuntu server. QGIS is used by a single user.
Couldn't load plugin 'koordinates' due to an error when calling its initGui() method
AttributeError: 'QMainWindow' object has no attribute 'screen'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qgis/utils.py", line 448, in startPlugin
plugins[packageName].initGui()
File "/home/administrator/.local/share/QGIS/QGIS3/profiles/default/python/plugins/koordinates/plugin.py", line 49, in initGui
self.dock = Koordinates(self.iface.mainWindow())
File "/home/administrator/.local/share/QGIS/QGIS3/profiles/default/python/plugins/koordinates/gui/koordinates.py", line 446, in init
if os.name == 'nt' or self.window().screen().devicePixelRatio() > 1:
AttributeError: 'QMainWindow' object has no attribute 'screen'
Python version: 3.8.10 (default, May 26 2023, 14:05:08) [GCC 9.4.0]
QGIS version: 3.26.3-Buenos Aires Buenos Aires, 65e4edfdad
Python Path:
/usr/share/qgis/python
/home/administrator/.local/share/QGIS/QGIS3/profiles/default/python
/home/administrator/.local/share/QGIS/QGIS3/profiles/default/python/plugins
/usr/share/qgis/python/plugins
/usr/lib/python38.zip
/usr/lib/python3.8
/usr/lib/python3.8/lib-dynload
/home/administrator/.local/lib/python3.8/site-packages
/usr/local/lib/python3.8/dist-packages
/usr/lib/python3/dist-packages
/home/administrator/.local/share/QGIS/QGIS3/profiles/default/python
/home/administrator/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ee_plugin/extlibs_linux
The text was updated successfully, but these errors were encountered: