[Parti-discuss] emacs on xpra (was Re: [PATCH] tcp socket support V3)
Nathaniel Smith
njs at pobox.com
Tue Mar 24 17:06:59 EDT 2009
2009/3/24 Toby Haynes <thaynes at ca.ibm.com>:
> I use tramp mode extensively under Emacs - but there are times when it's
> easier to have Emacs up on the remote machine and export the DISPLAY. Those
> times include running Emacs on files under Clearcase control. I've not
> managed to get local Emacs -> tramp(ssh) -> Clearcase remote hookup to work
> sanely.
Ah, ClearCase? Then yeah, man, do whatever it takes to get you through
the day...
> I've compiled up 0.0.6 on my laptop (Fedora 10) and desktop (Ubuntu 8.10)
> successfully, and I can generally run xterms and bat them back and forth
> between displays. It's nice and fast. I've even displayed a remote Emacs
> running on an AIX box onto my xpra display (which would be one of my
> standard redirects).
Excellent!
> However, I can't get keyboard focus on those Emacs windows. Looking in the
> log, I see the following repeated a lot.
Not so excellent :-(
> OverflowError: long int too large to convert to int
> Unhandled error while processing packet from peer
> Traceback (most recent call last):
> File "install/lib/python/xpra/protocol.py", line 126, in _consume_packet
> File "install/lib/python/xpra/server.py", line 624, in process_packet
> File "install/lib/python/xpra/server.py", line 555, in _process_focus
> File "install/lib/python/xpra/server.py", line 430, in _focus
> File "install/lib/python/wimpiggy/window.py", line 933, in
> give_client_focus
> File "install/lib/python/wimpiggy/error.py", line 105, in swallow_unsynced
> File "install/lib/python/wimpiggy/error.py", line 96, in call_unsynced
> File "install/lib/python/wimpiggy/error.py", line 84, in _call
> File "install/lib/python/wimpiggy/lowlevel/__init__.py", line 15, in
> send_wm_take_focus
> File "wimpiggy.lowlevel.bindings.pyx", line 958, in
> wimpiggy.lowlevel.bindings.sendClientMessage
Are you on a 64-bit or 32-bit system?
What version of Pyrex? I see some discussion of such errors on the
Pyrex list in 2005, but I'm not sure it's related (and it looks like
it might require a 32-bit system to trigger anyway, and I don't have
any handy :-/).
> and occasionally I see
>
> KeyError: 2
> Traceback (most recent call last):
> File "install/lib/python/wimpiggy/wm.py", line 294, in
> do_wimpiggy_focus_in_event
> File "install/lib/python/wimpiggy/world_window.py", line 169, in
> reset_x_focus
> File "install/lib/python/wimpiggy/world_window.py", line 157, in
> _take_focus
> File "/usr/lib/python2.5/site-packages/PIL/__init__.py", line 15, in
> send_wm_take_focus
KeyError? PIL? WTF... hopefully this is just a bug in the traceback routines...
-- Nathaniel
More information about the Parti-discuss
mailing list