[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Error when converting QVariant back to Python object
From: Baz Walter <bazwal () ftml ! net>
Date: 2010-05-29 18:46:58
Message-ID: 4C016122.6040605 () ftml ! net
[Download RAW message or body]
On 29/05/10 17:37, Baz Walter wrote:
> On 29/05/10 10:00, Phil Thompson wrote:
>> Fixed in the current PyQt snapshot - sort of. It assumes that the char *
>> refers to a '\0' terminated string, which may not be the case.
>>
>> Although earlier versions didn't seem to crash, I don't think they worked
>> any better.
>
> thanks phil
>
> i've tried the new pyqt snapshot with the latest qscintilla snapshot. i
> tested all the scintilla notifications that send char * (SCN_MODIFIED,
> SCN_USERLISTSELECTION and SCN_AUTOCSELECTION) and none of them now
> produce errors or crashes.
looks like i spoke too soon: i now get segfaults when trying to emit
signals that send char *.
the particular signal that caused the crash was "propertyChanged(const
char *prop, const char *val)" in QsciLexer. i have been using this
signal for a long time previously without any problems.
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic