<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
I have just upgraded PyQt4, SIP and QScintilla and TortoiseHG to the
newest versions. But now Tortoise refuses to launch. See below:<br>
<br>
#!python<br>
** Mercurial version (3.0.2). TortoiseHg version
(3.0.2+153-9ff2ef0f9295)<br>
** Command: <br>
** CWD: /home/sebels<br>
** Encoding: UTF-8<br>
** Extensions loaded: <br>
** Python version: 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]<br>
** System: Linux STATION38 2.6.32-431.20.3.el6.x86_64 #1 SMP Thu
Jun 19 21:14:45 UTC 2014 x86_64<br>
** Qt-4.8.5 PyQt-4.11.1 QScintilla-2.8.3<br>
Traceback (most recent call last):<br>
File "/usr/local/tortoisehg/tortoisehg/hgqt/run.py", line 50,
in dispatch<br>
return _runcatch(u, args)<br>
File "/usr/local/tortoisehg/tortoisehg/hgqt/run.py", line 229,
in _runcatch<br>
return runcommand(ui, args)<br>
File "/usr/local/tortoisehg/tortoisehg/hgqt/run.py", line 317,
in runcommand<br>
return _runcommand(lui, options, cmd, d)<br>
File "/usr/local/tortoisehg/tortoisehg/hgqt/run.py", line 368,
in _runcommand<br>
return checkargs()<br>
File "/usr/local/tortoisehg/tortoisehg/hgqt/run.py", line 322,
in checkargs<br>
return cmdfunc()<br>
File "/usr/local/tortoisehg/tortoisehg/hgqt/run.py", line 316,
in <lambda><br>
d = lambda: qtrun(checkedfunc, ui, *args, **cmdoptions)<br>
File "/usr/local/tortoisehg/tortoisehg/hgqt/qtapp.py", line
338, in __call__<br>
dlg, reporoot = self._createdialog(dlgfunc, args, opts)<br>
File "/usr/local/tortoisehg/tortoisehg/hgqt/qtapp.py", line
402, in _createdialog<br>
return dlgfunc(self._ui, *args, **opts), reporoot<br>
File
"/usr/local/lib64/python2.6/site-packages/mercurial/util.py", line
518, in check<br>
return func(*args, **kwargs)<br>
File "/usr/local/tortoisehg/tortoisehg/hgqt/run.py", line 845,
in log<br>
w = _workbench(ui, *pats, **opts)<br>
File "/usr/local/tortoisehg/tortoisehg/hgqt/run.py", line 416,
in _workbench<br>
w = qtrun.createWorkbench()<br>
File "/usr/local/tortoisehg/tortoisehg/hgqt/qtapp.py", line
434, in createWorkbench<br>
self._workbench = workbench.Workbench(self._ui,
self._repomanager)<br>
File "/usr/local/tortoisehg/tortoisehg/hgqt/workbench.py",
line 52, in __init__<br>
self.reporegistry = rr = RepoRegistryView(repomanager, self)<br>
File "/usr/local/tortoisehg/tortoisehg/hgqt/reporegistry.py",
line 266, in __init__<br>
sfile = settingsfilename()<br>
File "/usr/local/tortoisehg/tortoisehg/hgqt/reporegistry.py",
line 22, in settingsfilename<br>
dir = os.path.dirname(unicode(s.fileName()))<br>
TypeError: 'sip.methoddescriptor' object is not callable<br>
<br>
<br>
If I add an print sip.methoddescriptor I get:
<meta name="qrichtext" content="1">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment--><span
style=" font-family:'Courier New,courier';"><br>
AttributeError: 'module' object has no attribute
'methoddescriptor'<br>
</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Courier New,courier';"><br>
The sip api for QString seems to be set to version 1. Isn't that
strange, since "thg" uses "dirname" and other directly....<br>
</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Courier New,courier';"><br>
Regards,<br>
<br>
</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Courier New,courier';">Sebastian<br>
</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Courier New,courier';"><br>
<br>
</span><!--EndFragment--></p>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
</body>
</html>