-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on plugin install #2
Comments
Hi, please try deleting folder with the plugin. I found the similiar problem, and the most popular solutions that turned out to be effective is uninstalling and reinstalling the plugin, or restarting QGIS. It is a link to a similar problem and solution linz/linz-data-importer#146 (comment) |
Hi
Thanks for the tip, I modified the following two lines in ThreePointMethod.py:
24 from qgis.PyQt.QtCore import QTranslator, QCoreApplication
59 locale = QgsSettings().value('locale/userLocale')[0:2]
And all is good, neat plugin!
Cheers
Mark
From: ewwbrach ***@***.***>
Sent: Thursday, 31 August 2023 12:50 AM
To: ThreePointPlugin/ThreePointMethod ***@***.***>
Cc: Mark Jessell ***@***.***>; Author ***@***.***>
Subject: Re: [ThreePointPlugin/ThreePointMethod] Crash on plugin install (Issue #2)
Hi, please try deleting folder with the plugin. I found the similiar problem, and the most popular solutions that turned out to be effective is uninstalling and reinstalling the plugin, or restarting QGIS. Is is a link to a similar problem and solution linz/linz-data-importer#146 (comment)<linz/linz-data-importer#146 (comment)>
-
Reply to this email directly, view it on GitHub<#2 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABUBSYF5DMIMKHSOTM3DDKDXX5VKLANCNFSM6AAAAAA4EGLM6Q>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
looks like a great idea for a plugin, but using version 3.32.0-Lima of QGIS I get this error on installation:
Couldn't load plugin 'ThreePointMethod' due to an error when calling its classFactory() method
TypeError: 'QVariant' object is not subscriptable
Traceback (most recent call last):
File "C:\PROGRA
1/QGIS331.0/apps/qgis/./python\qgis\utils.py", line 423, in startPluginplugins[packageName] = package.classFactory(iface)
File "C:\Users/00073294/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ThreePointMethod_init.py", line 36, in classFactory
return ThreePointMethod(iface)
File "C:\Users/00073294/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ThreePointMethod\ThreePointMethod.py", line 59, in init
locale = QSettings().value('locale/userLocale')[0:2]
TypeError: 'QVariant' object is not subscriptable
Python version: 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)]
QGIS version: 3.32.0-Lima Lima, 311a8cb8a6
Python Path:
C:\Users/00073294/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\OpenTopography-DEM-Downloader
C:/PROGRA
1/QGIS331.0/apps/qgis/./pythonC:/Users/00073294/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/00073294/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA
1/QGIS331.0/apps/qgis/./python/pluginsC:\PROGRA
1\QGIS331.0\apps\grass\grass82\etc\pythonC:\Users\00073294\Documents
C:\Program Files\QGIS 3.32.0\bin\python39.zip
C:\PROGRA
1\QGIS331.0\apps\Python39\DLLsC:\PROGRA
1\QGIS331.0\apps\Python39\libC:\Program Files\QGIS 3.32.0\bin
C:\Users\00073294\AppData\Roaming\Python\Python39\site-packages
C:\PROGRA
1\QGIS331.0\apps\Python39C:\PROGRA
1\QGIS331.0\apps\Python39\lib\site-packagesC:\PROGRA
1\QGIS331.0\apps\Python39\lib\site-packages\win32C:\PROGRA
1\QGIS331.0\apps\Python39\lib\site-packages\win32\libC:\PROGRA
1\QGIS331.0\apps\Python39\lib\site-packages\PythonwinC:/Users/00073294/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:\Users\00073294\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\mmqgis/forms
C:\Users\00073294\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\openlog\embedded_external_libs
.
C:/Users/00073294/Dropbox/cet_courses/python_for_explorers/Data for Python course/mwj/maps
The text was updated successfully, but these errors were encountered: