[Parti-discuss] xpra 0.0.5 not attaching correctly; throws "TypeError: 'dict' object is unindexable" in wimpiggy.lowlevel.bindings.pyx
bak
bak at picklefactory.org
Tue Jan 13 21:35:24 EST 2009
Nathaniel Smith wrote:
> Sorry for the long-delayed response! My holidays were a bit crazy
> this year, and I'm only now getting back into things...
>
Heh! Tell me about it...
> Okay, took me a little while to track this down, because it's actually
> a language bug... it looks like you have a different version of Pyrex
> from me, and some new version of Pyrex have broken indexing in some
> cases:
> http://www.mail-archive.com/pygr-dev@googlegroups.com/msg00142.html
>
> The solution -- untested, just inferring from that link -- is to go to
> line 1269 of wimpiggy/lowlevel/wimpiggy.lowlevel.bindings.pyx, which
> reads:
> _route_event(pyev, *my_events[e.type])
> and add 'int(...)' around 'e.type', like so:
> _route_event(pyev, *my_events[int(e.type)])
>
> Does that fix the problem? Let me know, so I can make the change upstream too.
>
It complained a bit when I tested it with an xterm.
~/lib/python/xpra/client.py:110: GtkWarning: gtk_window_set_wmclass:
shouldn't set wmclass after window is realized!
But it worked!
If it helps, I have pyrex 0.9.7-1 from Ubuntu 8.10.
--bak
More information about the Parti-discuss
mailing list