[winswitch] CentOS 5.11 and Python 2.4 support
Utku Altunkaya
utku at um-ic.com
Thu Dec 18 12:41:21 GMT 2014
On 18/12/14 09:39, Antoine Martin wrote:
> On 16/12/14 23:41, Utku Altunkaya wrote:
>> Hello Antoine,
>>
>> I understand that you are dropping support for pre-2.6 versions of
>> Python, as mentioned in ticket #665 with the milestone set as 0.15. I
>> installed a fresh CentOS 5.11 system today with xpra 0.14.13, and
>> running xpra start results in
> (...)
>> except Exception as e:
>> ^
>> SyntaxError: invalid syntax
>>
>> So, are these changes already in place? What will be the latest xpra
>> version to support RHEL/CentOS 5?
> Sorry about the delay.
> You're right of course, I missed this syntax error when I backported the
> changes from trunk to the v0.14.x branch for 0.14.11 (earlier versions
> do not have this bug).
> That's now fixed:
> http://xpra.org/trac/changeset/8251
>
> I've pushed updated 0.14.13 packages for the distros that use python 2.5
> or older, like CentOS 5.
>
> Cheers
> Antoine
Hello Antoine,
Thank you for the fix. I updated to xpra-0.14.13-2.el5_11, ran "xpra
start :1001", and xpra started successfully. However, when I try to
attach to or stop the xpra instance, I'm getting the following errors:
utku at vm5:[~]$ xpra attach :1001
xpra main error:
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/xpra/scripts/main.py", line
103, in main
return run_mode(script_file, err, options, args, mode, defaults)
File "/usr/lib64/python2.4/site-packages/xpra/scripts/main.py", line
761, in run_mode
return run_client(error_cb, options, args, mode)
File "/usr/lib64/python2.4/site-packages/xpra/scripts/main.py", line
1111, in run_client
app = make_client(error_cb, opts)
File "/usr/lib64/python2.4/site-packages/xpra/scripts/main.py", line
1174, in make_client
toolkit_module = __import__(client_module, globals(), locals(),
['XpraClient'])
File "/usr/lib64/python2.4/site-packages/xpra/client/gtk2/client.py",
line 26, in ?
from xpra.client.gtk_base.gtk_client_base import GTKXpraClient, xor_str
File
"/usr/lib64/python2.4/site-packages/xpra/client/gtk_base/gtk_client_base.py",
line 22, in ?
from xpra.client.ui_client_base import UIXpraClient
File
"/usr/lib64/python2.4/site-packages/xpra/client/ui_client_base.py", line
28, in ?
from xpra.client.client_base import XpraClientBase, EXIT_TIMEOUT,
EXIT_MMAP_TOKEN_FAILURE
File "/usr/lib64/python2.4/site-packages/xpra/client/client_base.py",
line 220
except Exception as e:
^
SyntaxError: invalid syntax
utku at vm5:[~]$ xpra stop :1001
xpra main error:
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/xpra/scripts/main.py", line
103, in main
return run_mode(script_file, err, options, args, mode, defaults)
File "/usr/lib64/python2.4/site-packages/xpra/scripts/main.py", line
764, in run_mode
return run_stopexit(mode, error_cb, options, args)
File "/usr/lib64/python2.4/site-packages/xpra/scripts/main.py", line
1376, in run_stopexit
app.cleanup()
UnboundLocalError: local variable 'app' referenced before assignment
The stop command doesn't have any effect and xpra still keeps running:
utku at vm5:[~]$ ps aux | grep -i xpra
utku 30422 0.0 1.4 427732 30124 ? S 14:03 0:00
/usr/bin/python /usr/bin/xpra start :1001
utku 30425 0.0 2.0 79080 42200 ? Ss 14:03 0:00
Xvfb-for-Xpra-:1001 +extension Composite -screen 0 3840x2560x24+32
-nolisten tcp -noreset -auth /home/utku/.Xauthority :1001
Regards,
Utku
More information about the shifter-users
mailing list