Message posté par : PY Joubert
----------------------------------------
Bonjour,
Nous venons de télécharger le plugin de gestion forestière édité par Marc Grosjean.
L' plugin ne s'installe pas et généré une erreur à l'installation
-----------------
Code :
TypeError: unsupported operand type(s) for |: 'types.GenericAlias' and
'types.GenericAlias'
Traceback (most recent call last):
File "C:\PROGRA~1/QGIS3/apps/qgis-ltr/./python\qgis\utils.py", line 423, in
_startPlugin
plugins[packageName] = package.classFactory(iface)
File
"C:\Users/SITPYJO/AppData/Roaming/QGIS/QGIS3\profiles\dryade/python/plugins\gestion_forestiere\__init__.py",
line 35, in classFactory
from .gestion_forestiere import CoordClick
File "C:\PROGRA~1/QGIS3/apps/qgis-ltr/./python\qgis\utils.py", line 892, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"C:\Users/SITPYJO/AppData/Roaming/QGIS/QGIS3\profiles\dryade/python/plugins\gestion_forestiere\gestion_forestiere.py",
line 99, in
from .utils import (
File "C:\PROGRA~1/QGIS3/apps/qgis-ltr/./python\qgis\utils.py", line 892, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"C:\Users/SITPYJO/AppData/Roaming/QGIS/QGIS3\profiles\dryade/python/plugins\gestion_forestiere\utils.py",
line 326, in
def extraire_section_numero(id_val: str, code_pays: str) -> tuple[str, str] |
tuple[None, None]:
TypeError: unsupported operand type(s) for |: 'types.GenericAlias' and
'types.GenericAlias'
-----------------
Avez-vous déjà été confonter à ce problème ?
Merci et bonne journée
PYJ
----------------------------------------
Le message est situé
https://georezo.net/forum/viewtopic.php?pid=375511#p375511
Pour vous désabonner connectez-vous sur le forum puis Profil / Abonnement
--
Association GeoRezo - le portail géomatique
https://georezo.net