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

Uncaught SyntaxError: invalid syntax #136

Open
tanatieles opened this issue Dec 26, 2023 · 2 comments
Open

Uncaught SyntaxError: invalid syntax #136

tanatieles opened this issue Dec 26, 2023 · 2 comments

Comments

@tanatieles
Copy link

Impossível carregar complemento 'wps4server' Devido a um erro ao chamar o método Class Factory().
Steps to reproduce

  1. First
  2. Second
  3. Third
Traceback (most recent call last):
  File "C:\PROGRA~1/QGIS32~1.13/apps/qgis-ltr/./python\qgis\utils.py", line 423, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:\Users/Tanatiele/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\wps4server\__init__.py", line 32, in classFactory
    from .wps4server import wps4server
  File "C:\Users/Tanatiele/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin\__init__.py", line 38, in __wrapping_ee_import__
    _module_ = __builtin_import__(name, *args, **kwargs)
  File "C:\PROGRA~1/QGIS32~1.13/apps/qgis-ltr/./python\qgis\utils.py", line 888, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/Tanatiele/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\wps4server\wps4server.py", line 214
    except Exception, e:
                    ^
SyntaxError: invalid syntax

ee_plugin 0.0.6, QGIS 3.28.13-Firenze on Windows 10

@gena
Copy link
Collaborator

gena commented Jan 2, 2024

this looks like something to do with the wps4server, please uninstall it and see if this helps

@7yl4r
Copy link

7yl4r commented Feb 28, 2024

This syntax error has to do with changes between python2 and python3. The version of wps4server you are using was written in python2 and the environment you are using is running python3. wps4server needs to be updated or you need to roll everything back to use a python2 interpreter.

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

3 participants