Skip to content

TypeError: unsupported operand type(s) for |: 'sip.wrappertype' and 'type' #27

Closed
@geraldo

Description

@geraldo

On QGIS 3.28.6 with Python 3.9.5 on Windows 10 the following error happens on installing the plugin:

TypeError: unsupported operand type(s) for |: 'sip.wrappertype' and 'type'
Traceback (most recent call last):
File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\utils.py", line 423, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:\Users/havargas/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\a00_qpip_init
.py", line 2, in classFactory
from .plugin import Plugin
File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Users/havargas/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\a00_qpip\plugin.py", line 20, in
class Plugin:
File "C:\Users/havargas/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\a00_qpip\plugin.py", line 134, in Plugin
def check_deps(self, additional_plugins=[]) -> MainDialog | bool:
TypeError: unsupported operand type(s) for |: 'sip.wrappertype' and 'type'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions