Current version in repo fails to stop.
That's because the "hello" packet before the "shutdown" command was
missing the "__prerelease_version" attribute and therefore the server
would refuse the connection...

Below is the trivial patch.

Antoine


Index: xpra/scripts/main.py
===================================================================
--- xpra/scripts/main.py        (revision 277)
+++ xpra/scripts/main.py        (working copy)
@@ -268,7 +268,7 @@

 def run_stop(parser, opts, extra_args):
     assert "gtk" not in sys.modules
-    magic_string = bencode(["hello", []]) + bencode(["shutdown-server"])
+    magic_string = bencode(["hello", {"__prerelease_version":
xpra.__version__}]) + bencode(["shutdown-server"])

     display_desc = pick_display(parser, opts, extra_args)
     conn = connect_or_fail(display_desc)

_______________________________________________
Parti-discuss mailing list
[email protected]
http://lists.partiwm.org/cgi-bin/mailman/listinfo/parti-discuss

Reply via email to