Hello,
Traceback (most recent call last): File "/usr/bin/xpra", line 6, in ? xpra.scripts.main.main(__file__, sys.argv) File "/usr/lib64/python2.4/site-packages/xpra/scripts/main.py", line 263, in main File "/usr/lib64/python2.4/site-packages/xpra/scripts/server.py", line 256, in run_server AttributeError: 'module' object has no attribute 'fchmod'
This is with Python 2.4.3.
If this is enough to fix it, I can re-spin the CentOS 5 packages:
### Eclipse Workspace Patch 1.0 #P Xpra Index: src/xpra/scripts/server.py =================================================================== --- src/xpra/scripts/server.py (revision 764) +++ src/xpra/scripts/server.py (working copy) @@ -253,7 +253,10 @@ # Unix is a little silly sometimes: umask = os.umask(0) os.umask(umask) - os.fchmod(scriptfile.fileno(), o0700 & ~umask) + if hasattr(os, "fchmod"): + os.fchmod(scriptfile.fileno(), o0700 & ~umask) + else: + os.chmod(scriptpath, o0700 & ~umask) scriptfile.write(xpra_runner_shell_script(xpra_file, starting_dir)) scriptfile.close()
This makes it go further... but it crashes later:
Traceback (most recent call last): File "/usr/bin/xpra", line 6, in ? xpra.scripts.main.main(__file__, sys.argv) File "/usr/lib64/python2.4/site-packages/xpra/scripts/main.py", line 263, in main File "/usr/lib/python2.4/site-packages/xpra/scripts/server.py", line 319, in run_server from xpra.server import can_run_server, XpraServer File "/usr/lib64/python2.4/site-packages/xpra/server.py", line 20, in ? ImportError: No module named uuid FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing. (xpra:15331): Gdk-CRITICAL **: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed Segmentation fault
The python-uuid
module was meant to be pulled in as a dependency, see %define requires_extra , python-uuid
If not, we will need to deal with that too, but installing it by hand should fix that. Not sure about the segfault though...
Got it, the static build section was overriding EL5 options, fixed in r768
Re-spinning the packages now.
Better - but not solved. I think you need to add python-ctypes as a dependency.
Traceback (most recent call last): File "/usr/bin/xpra", line 6, in ? xpra.scripts.main.main(__file__, sys.argv) File "/usr/lib64/python2.4/site-packages/xpra/scripts/main.py", line 263, in main File "/usr/lib64/python2.4/site-packages/xpra/scripts/server.py", line 322, in run_server File "/usr/lib64/python2.4/site-packages/xpra/server.py", line 27, in ? ImportError: No module named ctypes FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing. (xpra:20648): Gdk-CRITICAL **: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed Segmentation fault
Yes, I'll add ptthon-ctypes
as a dependency for centos 5.x only and re-spin the packages, does this prevent the segfault ?
Or is there another issue still?
It prevents the segfault, however I still get something strange:
glib is missing, cannot set the application name, please install glib's python bindings: No module named glib
And I can't find the name of the package I'm supposed to install!
You can safely ignore this one, centos 5 is so outdated you just can't get the glib bindings for it, afaik.
new CentOS 5.x packages have the fix from r769 - please confirm and close this ticket.
works for me - closing
Sorry for not closing earlier. I confirm that it works.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/116