Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694434 - sci-geosciences/qgis-3.6.0 : PyCapsule_GetPointer called with incorrect name
Summary: sci-geosciences/qgis-3.6.0 : PyCapsule_GetPointer called with incorrect name
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-15 07:19 UTC by François Valenduc
Modified: 2019-10-20 09:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description François Valenduc 2019-09-15 07:19:03 UTC
I get this error when the processing extension is loaded at qgis start:

ValueError: PyCapsule_GetPointer called with incorrect name 
Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/qgis/utils.py", line 309, in loadPlugin
    __import__(packageName)
  File "/usr/lib64/python3.6/site-packages/qgis/utils.py", line 672, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/__init__.py", line 29, in 
    from processing.tools.general import *              # NOQA
  File "/usr/lib64/python3.6/site-packages/qgis/utils.py", line 672, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/tools/general.py", line 39, in 
    from processing.core.Processing import Processing
  File "/usr/lib64/python3.6/site-packages/qgis/utils.py", line 672, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/core/Processing.py", line 62, in 
    from processing.script.ScriptAlgorithmProvider import ScriptAlgorithmProvider  # NOQA
  File "/usr/lib64/python3.6/site-packages/qgis/utils.py", line 672, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/script/ScriptAlgorithmProvider.py", line 39, in 
    from processing.script.CreateNewScriptAction import CreateNewScriptAction
  File "/usr/lib64/python3.6/site-packages/qgis/utils.py", line 672, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/script/CreateNewScriptAction.py", line 36, in 
    from processing.script.ScriptEditorDialog import ScriptEditorDialog
  File "/usr/lib64/python3.6/site-packages/qgis/utils.py", line 672, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/script/ScriptEditorDialog.py", line 57, in 
    os.path.join(pluginPath, "ui", "DlgScriptEditor.ui"))
  File "/usr/lib64/python3.6/site-packages/qgis/PyQt/uic/__init__.py", line 38, in __loadUiType
    return __PyQtLoadUiType(*args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/PyQt5/uic/__init__.py", line 201, in loadUiType
    exec(code_string.getvalue(), ui_globals)
  File "", line 145, in 
  File "/usr/lib64/python3.6/site-packages/qgis/utils.py", line 672, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/script/ScriptEdit.py", line 35, in 
    from qgis.PyQt.Qsci import QsciScintilla, QsciLexerPython, QsciAPIs
  File "/usr/lib64/python3.6/site-packages/qgis/utils.py", line 672, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/lib64/python3.6/site-packages/qgis/PyQt/Qsci.py", line 26, in 
    from PyQt5.Qsci import *
  File "/usr/lib64/python3.6/site-packages/qgis/utils.py", line 672, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ValueError: PyCapsule_GetPointer called with incorrect name

Does anybody have an idea about the problem ?

Reproducible: Always
Comment 1 Wazco 2019-09-19 18:41:36 UTC
I encountered this same error with dev-vcs/tortoisehg, finally fixed it with a re-emerge of dev-python/qscintilla-python. Hope this helps.
Comment 2 François Valenduc 2019-09-19 18:51:25 UTC
Indeed, reinstalling qscintilla-python also solves this problem.
Comment 3 Andreas Sturmlechner gentoo-dev 2019-10-20 09:35:27 UTC
This version is not even in tree.