[PyQt] TortoiseHG, newest PyQt4 and Sip error

Yuya Nishihara yuya at tcha.org
Wed Jul 16 15:44:26 BST 2014


On Tue, 15 Jul 2014 18:07:03 +0200, Sebastian Elsner wrote:
> I have just upgraded PyQt4, SIP and QScintilla and TortoiseHG to the 
> newest versions. But now Tortoise refuses to launch. See below:
> 
>    #!python
>      ** Mercurial version (3.0.2).  TortoiseHg version 
> (3.0.2+153-9ff2ef0f9295)
>      ** Command:
>      ** CWD: /home/sebels
>      ** Encoding: UTF-8
>      ** Extensions loaded:
>      ** Python version: 2.6.6 (r266:84292, Jan 22 2014, 09:42:36) [GCC 
> 4.4.7 20120313 (Red Hat 4.4.7-4)]
>      ** System: Linux STATION38 2.6.32-431.20.3.el6.x86_64 #1 SMP Thu 
> Jun 19 21:14:45 UTC 2014 x86_64
>      ** Qt-4.8.5 PyQt-4.11.1 QScintilla-2.8.3
>      Traceback (most recent call last):
[...]
>          dir = os.path.dirname(unicode(s.fileName()))
>      TypeError: 'sip.methoddescriptor' object is not callable

There's another report from CentOS/RHEL user:
https://bitbucket.org/tortoisehg/thg/issue/3680/

but I have no idea why unicode(QString()) raised TypeError.

Regards,


More information about the PyQt mailing list