PyCapsule_GetPointer called with incorrect name
Created originally on Bitbucket by benibela (Benito van der Zander)
I am trying to run thg from the repository, but it does not start:
#!python
** Mercurial version (5.0). TortoiseHg version (4.9.1+20-8a83b9931094)
** Command:
** CWD: /home/theo/opt/thg
** Encoding: UTF-8
** Extensions loaded: extdiff, convert, strip, mq, rebase, tortoisehg.util.configitems
** Python version: 2.7.16 (default, Mar 04 2019, 07:13:50) [GCC]
** System: Linux linux-h1mt.suse 5.1.7-1-default #1 (closed) SMP Tue Jun 4 07:56:54 UTC 2019 (55f2451) x86_64
** Qt-4.8.7 PyQt-4.12.3 QScintilla-(unknown)
Traceback (most recent call last):
File "/home/theo/opt/thg/tortoisehg/hgqt/run.py", line 71, in dispatch
return _runcatch(u, args)
File "/home/theo/opt/thg/tortoisehg/hgqt/run.py", line 274, in _runcatch
return runcommand(ui, args)
File "/home/theo/opt/thg/tortoisehg/hgqt/run.py", line 365, in runcommand
return _runcommand(lui, options, cmd, d)
File "/home/theo/opt/thg/tortoisehg/hgqt/run.py", line 415, in _runcommand
return checkargs()
File "/home/theo/opt/thg/tortoisehg/hgqt/run.py", line 370, in checkargs
return cmdfunc()
File "/home/theo/opt/thg/tortoisehg/hgqt/run.py", line 364, in
d = lambda: qtrun(checkedfunc, ui, *args, **cmdoptions)
File "/home/theo/opt/thg/tortoisehg/hgqt/qtapp.py", line 459, in __call__
dlg, reporoot = self._createdialog(dlgfunc, args, opts)
File "/home/theo/opt/thg/tortoisehg/hgqt/qtapp.py", line 523, in _createdialog
return dlgfunc(self._ui, *args, **opts), reporoot
File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 1680, in check
return func(*args, **kwargs)
File "/home/theo/opt/thg/tortoisehg/hgqt/run.py", line 960, in log
w = _workbench(ui, *pats, **opts)
File "/home/theo/opt/thg/tortoisehg/hgqt/run.py", line 452, in _workbench
w = qtrun.createWorkbench()
File "/home/theo/opt/thg/tortoisehg/hgqt/qtapp.py", line 555, in createWorkbench
self._workbench = workbench.Workbench(self._ui, self._repomanager)
File "/usr/lib64/python2.7/site-packages/hgdemandimport/demandimportpy2.py", line 150, in __getattr__
self._load()
File "/usr/lib64/python2.7/site-packages/hgdemandimport/demandimportpy2.py", line 94, in _load
_origimport, head, globals, locals, None, level)
File "/usr/lib64/python2.7/site-packages/hgdemandimport/demandimportpy2.py", line 43, in _hgextimport
return importfunc(name, globals, *args, **kwargs)
File "/home/theo/opt/thg/tortoisehg/hgqt/workbench.py", line 56, in
from .docklog import LogDockWidget
File "/usr/lib64/python2.7/site-packages/hgdemandimport/demandimportpy2.py", line 248, in _demandimport
level=level)
File "/usr/lib64/python2.7/site-packages/hgdemandimport/demandimportpy2.py", line 43, in _hgextimport
return importfunc(name, globals, *args, **kwargs)
File "/home/theo/opt/thg/tortoisehg/hgqt/docklog.py", line 12, in
from .qsci import (
File "/usr/lib64/python2.7/site-packages/hgdemandimport/demandimportpy2.py", line 172, in _demandimport
return _hgextimport(_origimport, name, globals, locals, fromlist, level)
File "/usr/lib64/python2.7/site-packages/hgdemandimport/demandimportpy2.py", line 43, in _hgextimport
return importfunc(name, globals, *args, **kwargs)
File "/home/theo/opt/thg/tortoisehg/hgqt/qsci.py", line 15, in
from PyQt4.Qsci import *
File "/usr/lib64/python2.7/site-packages/hgdemandimport/demandimportpy2.py", line 172, in _demandimport
return _hgextimport(_origimport, name, globals, locals, fromlist, level)
File "/usr/lib64/python2.7/site-packages/hgdemandimport/demandimportpy2.py", line 43, in _hgextimport
return importfunc(name, globals, *args, **kwargs)
ValueError: PyCapsule_GetPointer called with incorrect name