Xpra: Ticket #1752: No module named notifications.common

As the title suggests, trunk r18103 breaks servers - making them fail to start with the following traceback:

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/scripts/main.py", line 175, in main
    return run_mode(script_file, err, options, args, mode, defaults)
  File "/usr/lib64/python2.7/site-packages/xpra/scripts/main.py", line 1517, in run_mode
    return run_server(error_cb, options, mode, script_file, args, current_display)
  File "/usr/lib64/python2.7/site-packages/xpra/scripts/server.py", line 982, in run_server
    from xpra.x11.server import XpraServer
  File "/usr/lib64/python2.7/site-packages/xpra/x11/server.py", line 55, in <module>
    from xpra.x11.x11_server_base import X11ServerBase
  File "/usr/lib64/python2.7/site-packages/xpra/x11/x11_server_base.py", line 28, in <module>
    from xpra.x11.x11_server_core import X11ServerCore, XTestPointerDevice
  File "/usr/lib64/python2.7/site-packages/xpra/x11/x11_server_core.py", line 45, in <module>
    from xpra.server.gtk_server_base import GTKServerBase
  File "/usr/lib64/python2.7/site-packages/xpra/server/gtk_server_base.py", line 26, in <module>
    from xpra.server.server_base import ServerBase
  File "/usr/lib64/python2.7/site-packages/xpra/server/server_base.py", line 48, in <module>
    from xpra.notifications.common import parse_image_path
ImportError: No module named notifications.common

For reference I'm using a Fedora 26 machine for my server and starting it with xpra start :13 --bind-tcp= --start-via=proxy=no --systemd-run=no --start-child=xterm

Mon, 22 Jan 2018 17:25:19 GMT - Antoine Martin: owner, summary changed

r18117 should fix the RPM packaging for it, moving it to python2-xpra and python3-xpra which is common to both clients and servers

Mon, 22 Jan 2018 17:29:18 GMT - J. Max Mena:

My bad I read the wrong column on https://github.com/Xpra-org/xpra/commit/9544cd3e0dc2662ed678741cc7fc76549c6d4bbd"missing changeset" title="Unsupported version control system ">r18110. And, rolling my server back to r18102 had it working again since it was before that change.

Mon, 22 Jan 2018 17:40:55 GMT - J. Max Mena:

I upped my server to r18117 and it's still failing to start servers with the same error - I'm building from source not using a package

Mon, 22 Jan 2018 17:46:17 GMT - Antoine Martin:

I'm building from source not using a package

Using what command line?

Try r18118 or later.

Mon, 22 Jan 2018 17:54:49 GMT - J. Max Mena: status changed; resolution set

r18118 fixes it for me.

For reference here is the build command I've been using for a while now:

#clean up build info
rm -f xpra/build_info.py
rm -f xpra/src_info.py
#clean up old build
./setup.py clean
#LDFLAGS=-Wl,-rpath=/usr/lib64/xpra \
#PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib64/xpra/pkgconfig \
#    ./setup.py install
#no longer needed
python3 ./setup.py install \
--rpath=/usr/lib64/xpra --pkg-config-path=/usr/lib64/xpra/pkgconfig \
--without-html5 --without-printing
rm -f /usr/bin/xpra
python2 ./setup.py install \
--rpath=/usr/lib64/xpra --pkg-config-path=/usr/lib64/xpra/pkgconfig

Sat, 23 Jan 2021 05:32:51 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1752