#867 closed defect (fixed)
xpra start fails on OS X
Reported by: | pyther | Owned by: | pyther |
---|---|---|---|
Priority: | major | Milestone: | 0.16 |
Component: | client | Version: | 0.14.x |
Keywords: | Cc: |
Description
Looks like a missing library.
OS X 10.10.3, xpra v0.14.24
inky:~ mg5$ xpra start ssh:example.com:336 --start-child=xterm ** (Xpra:94026): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags' ** (Xpra:94026): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags' ** (Xpra:94026): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags' xpra main error: Traceback (most recent call last): File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/scripts/main.py", line 103, in main File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/scripts/main.py", line 756, in run_mode File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/scripts/main.py", line 1243, in run_remote_server File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/scripts/main.py", line 1183, in make_client File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/gtk2/client.py", line 25, in <module> File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/gtk_common/gtk_util.py", line 10, in <module> File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/platform/gui.py", line 70, in <module> File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/platform/__init__.py", line 114, in platform_import File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/platform/darwin/gui.py", line 7, in <module> File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/platform/darwin/osx_menu.py", line 8, in <module> ImportError: cannot import name scaled_image
Change History (3)
comment:1 Changed 6 years ago by
Owner: | changed from Antoine Martin to pyther |
---|
comment:2 Changed 6 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
This fix does the trick, thanks!
comment:3 Changed 6 weeks ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/867
Note: See
TracTickets for help on using
tickets.
That's an import loop: the client import gtk_util, which does gui_init(), which imports the platform stuf... and on osx, that involves loading the custom osx_menu class, which imports gtk_util again. At that point it is only partially loaded, and is missing scaled_image.
r9468 fixes that.
I have uploaded a 0.14.25 beta build with this fix here: http://xpra.org/beta
(note: there are many other 0.15.x builds in there too, those were not affected because gtk_util no longer does the gui_init)
If that also works for you, please close the ticket.