[Parti-discuss] XGetWindowProperty error

Nathaniel Smith njs at pobox.com
Wed Feb 4 14:48:37 EST 2009


On Wed, Feb 4, 2009 at 5:08 AM, Antoine Martin <antoine at nagafix.co.uk> wrote:
> Hi,
>
> Just tried to run the simple xterm server-side example and ran into this
> error:
>  # xinit /bin/sh -c "xterm & $RUN" -- /usr/bin/Xvfb $USE_DISPLAY
> +extension Composite -ac -noreset

Are you hoping to run parti, or xpra?

Currently you are running parti, but I don't know why you would want
to run parti against Xvfb. (parti is a traditional window manager --
or the stub of what may someday become one -- and Xvfb is an X server
that does not display on the screen at all, so you can't interact with
it.)

The ./try-parti script will automatically start parti against Xephyr,
which is a X server that displays inside a window in your existing X
session.

>  File "wimpiggy.lowlevel.bindings.pyx", line 423, in
> wimpiggy.lowlevel.bindings.XGetWindowProperty
> TypeError: exceptions must be strings, classes, or instances, not type

That's... weird. The code itself appears correct.

What version of Python and Pyrex are you using?

> Note: I had to enable the Composite extension to get that far.

Yes, parti and xpra require compositing support. The distributed
scripts should all take care of that automatically -- let me know if
you run into any problems with them -- but if you're setting up X
servers by hand you might need to do some tweaking of course.

-- Nathaniel



More information about the Parti-discuss mailing list