What do you know?  All of a sudden it works!  Thanks.
-P

On Mon, 04 Apr 2011 13:46:00 -0400, Antoine Martin <[email protected]> wrote:

Hi Paul,

Now that the solution is validated, I have made a new CentOS build with
the fix included:
http://winswitch.org/dists/rpm/CentOS/5.5/x86_64/

As for the error connecting from Mac OS, there isn't enough debug
information shown to know what went wrong. Can you try to increase
logging at both ends and keep an eye on the server log file?
Does it show the window then disconnect or not connect at all?

Cheers
Antoine



On 04/05/2011 12:21 AM, Paul G. Weiss wrote:
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


_______________________________________________
Parti-discuss mailing list
[email protected]
http://lists.partiwm.org/cgi-bin/mailman/listinfo/parti-discuss

_______________________________________________
Parti-discuss mailing list
[email protected]
http://lists.partiwm.org/cgi-bin/mailman/listinfo/parti-discuss

Reply via email to