[PyQt] BUG: sip instance attribute error: Re: [eric4] python qscintilla traceback with current snapshot also
Hans-Peter Jansen
hpj at urpla.net
Tue Feb 8 00:17:25 GMT 2011
Dear Phil,
On Monday 07 February 2011, 23:40:41 Phil Thompson wrote:
> On Sun, 6 Feb 2011 15:49:59 +0100, "Hans-Peter Jansen"
> <hpj at urpla.net>
>
> wrote:
> > On Thursday 03 February 2011, 11:02:32 Phil Thompson wrote:
> >> On Thu, 3 Feb 2011 00:42:05 +0100, "Hans-Peter Jansen"
> >> <hpj at urpla.net>
> >>
> >> > Other than that, I'm pretty baffled at the moment. How could I
> >> > debug this issue any further? If I'm going to try bisecting it,
> >> > would you think, that rebuilding sip is sufficient (supposed,
> >> > that 4.12 will not be affected, and hence the issue won't cross
> >> > library version changes)?
> >> >
> >> > Begging-for-ideas-ly-yours,
> >> > Pete
> >>
> >> As your test case is so simple, and that the only bug reports I've
> >> had for either SIP or PyQt are a couple related to pyuic, it
> >> suggests that the problem is the way you are building them.
>
> I've now got to the bottom of this. It's a Python bug (#4230) which
> incorrectly handles __getattr__ when it is a descriptor.
Glad, that you found it - and beg my pardon for this unpleasure
experience due to other peoples bugs and silly users using outphased
distributions... Ohh, well.
> It was fixed in Python v2.5.3 and v2.6.1
For those, that also suffer from this, here's the pointer to both fixes:
2.5:
http://svn.python.org/view?view=rev&revision=67251
2.6:
http://svn.python.org/view?view=rev&revision=67247
For users, still using openSUSE 11.1 out there, I've prepared fixed
python 2.6.0 packages here:
https://build.opensuse.org/project/monitor?package=&project=home%3Afrispete%3Apython
Hopefully, they're available today morning (CET) here:
http://download.opensuse.org/repositories/home:/frispete:/python/openSUSE_11.1/
A short response on this message, if you use these packages, would be
nice.
Phil - thanks again,
Pete
More information about the PyQt
mailing list