[PyQt] TortoiseHG, newest PyQt4 and Sip error
Phil Thompson
phil at riverbankcomputing.com
Fri Oct 10 17:22:15 BST 2014
On 09/10/2014 9:02 am, Sebastian Elsner wrote:
> Seems this issue has come up for several people in the meantime:
>
> https://bugs.launchpad.net/qbzr/+bug/711602
> http://stackoverflow.com/questions/25930983/qt-pyqt-and-sip-compatibility-issue-typeerror-sip-methoddescriptor-object
>
> @Phil: Is there some way I can help solve this problem by providing
> more info?
From memory I've only ever seen this caused by not building everything
with the same version of SIP and the same .sip files.
Phil
> On 07/16/2014 04:44 PM, Yuya Nishihara wrote:
>> 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,
>
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
More information about the PyQt
mailing list