Thanks to you and Antoine for the suggestion. When I add that bit of code
I can indeed now run eclipse in an xpra display. However, unfortunately I
can no longer attach it from the mac. This results:
[Window-Switch.app] lmpgweiss| ./Contents/Helpers/xpra attach
ssh:dlpweiss01:7
(process:2005): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
setup_macdock()
setup_macdock() trying to load icon from
/Applications/Window-Switch.app/./Contents/Resources/share/icons/xpra.png
Connection lost
On Mon, 04 Apr 2011 09:45:27 -0400, Nathaniel Smith <[email protected]> wrote:
On Fri, Apr 1, 2011 at 12:07 PM, Paul G. Weiss <[email protected]> wrote:
File "/usr/lib64/python2.4/site-packages/wimpiggy/window.py", line
452, in
setup_client
File "/usr/lib64/python2.4/site-packages/wimpiggy/window.py", line
793, in
_read_initial_properties
File "/usr/lib64/python2.4/site-packages/wimpiggy/window.py", line
616, in
_handle_property_change
File "/usr/lib64/python2.4/site-packages/wimpiggy/window.py", line
689, in
_handle_net_wm_icon
File "/usr/lib64/python2.4/site-packages/wimpiggy/prop.py", line 280,
in
prop_get
File "/usr/lib64/python2.4/site-packages/wimpiggy/prop.py", line 243,
in
_prop_decode
File "/usr/lib64/python2.4/site-packages/wimpiggy/prop.py", line 247,
in
_prop_decode_scalar
File "/usr/lib64/python2.4/site-packages/wimpiggy/prop.py", line 144,
in
NetWMIcons
File "/usr/lib64/python2.4/site-packages/wimpiggy/prop.py", line 131,
in
_read_image
AttributeError: 'cairo.ImageSurface' object has no attribute 'get_data'
It looks like:
1) you're using an old version of the PyCairo library (what version
do you have?), that doesn't have the get_data method (which was added
~2006).
2) xpra is usually fairly robust against random errors like this,
ignoring them and carrying on... but in this case the error gets hit
in the middle of the core window setup logic, so that gets aborted in
the middle, so we never actually start managing the eclipse window.
As Antoine suggests, disabling this bit of code (the easiest way would
be to add 'return None' immediately after the line 'def
_read_image(disp, stream)' in prop.py) should let you get further,
though you'll lose window icons. But you should keep an eye out for
other problems of a similar nature -- obviously we haven't tested
extensively on CentOS 5's particular mix of old libraries.
-- Nathaniel
_______________________________________________
Parti-discuss mailing list
[email protected]
http://lists.partiwm.org/cgi-bin/mailman/listinfo/parti-discuss