Skip to content
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

QgsField Type Error #60

Open
jtgilbert opened this issue Dec 23, 2024 · 1 comment
Open

QgsField Type Error #60

jtgilbert opened this issue Dec 23, 2024 · 1 comment

Comments

@jtgilbert
Copy link

QGIS version: 3.34.4-Prizren
QGIS code revision: decd43dc
Qt version: 5.15.3
Python version: 3.9.18
GDAL/OGR version: 3.8.4
PROJ version: 9.3.1
EPSG Registry database version: v11.016 (2024-08-31)
GEOS version: 3.12.1-CAPI-1.18.1
SQLite version: 3.41.1
PDAL version: 2.6.0
PostgreSQL client version: 16.1
SpatiaLite version: 5.1.0
QWT version: 6.1.6
QScintilla2 version: 2.13.4
OS version: Windows 10 Version 2009

2024-12-23T10:50:53 CRITICAL Traceback (most recent call last):
File "C:\PROGRA1/QGIS331.4/apps/qgis-ltr/./python\qgis\utils.py", line 401, in loadPlugin
import(packageName)
File "C:\PROGRA1/QGIS331.4/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = builtin_import(name, globals, locals, fromlist, level)
File "C:\Users/jordang/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM_init
.py", line 7, in
from .geo_sam_tool import Geo_SAM
File "C:\PROGRA1/QGIS331.4/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Users/jordang/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\geo_sam_tool.py", line 10, in
from .tools.widgetTool import Selector, EncoderCopilot
File "C:\PROGRA1/QGIS331.4/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Users/jordang/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\tools\widgetTool.py", line 32, in
from .canvasTool import (
File "C:\PROGRA1/QGIS331.4/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Users/jordang/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\tools\canvasTool.py", line 58, in
QgsField("group_ulid", QMetaType.QString),
TypeError: QgsField(): arguments did not match any overloaded call:
overload 1: argument 2 has unexpected type 'Type'
overload 2: argument 1 has unexpected type 'str'

@Fanchengyan
Copy link
Collaborator

Fanchengyan commented Dec 24, 2024

Hi @jtgilbert

Thanks for your feedback. We have addressed the issues in the new release. You can download the zipped file labeled *_code_update.zip to update the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants