Xpra: Ticket #2395: Python3 tray start menu broken

Windows Python3 client r23522 (latest from beta repo)

Tray start menu commands don't launch for some applications. Client side error:

Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/gtk_tray_menu_base.py", line 1668, in app_launch
  File "C:/msys64/mingw64/lib/python3.7/re.py", line 192, in sub
    return _compile(pattern, flags).sub(repl, string, count)


Tue, 27 Aug 2019 09:51:28 GMT - Antoine Martin: owner changed

Do you have the full backtrace? What was the exception type?

Does r23602 fix things?


Tue, 27 Aug 2019 10:22:05 GMT - Mark Harkin:

Replying to Antoine Martin:

Do you have the full backtrace?

Sorry bad copy and paste

Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/gtk_tray_menu_base.py", line 1668, in app_launch
  File "C:/msys64/mingw64/lib/python3.7/re.py", line 192, in sub
    return _compile(pattern, flags).sub(repl, string, count)
TypeError: sequence item 1: expected a bytes-like object, str found

Does r23602 fix things?

I can test if you can upload a new beta, haven't build the windows client in quite some time.


Sun, 01 Sep 2019 13:53:27 GMT - Antoine Martin: status changed; resolution set

I can test if you can upload a new beta, haven't build the windows client in quite some time.

Done: https://xpra.org/beta/windows. Based on the stack trace, I'm fairly confident that the fix is correct.


Mon, 02 Sep 2019 12:34:07 GMT - Mark Harkin:

Yep, works for me. Thanks.


Sat, 23 Jan 2021 05:50:09 GMT - migration script:

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