xpra icon
Bug tracker and wiki

Opened 4 weeks ago

Closed 3 weeks ago

Last modified 3 weeks ago

#2395 closed defect (fixed)

Python3 tray start menu broken

Reported by: Mark Harkin Owned by: Mark Harkin
Priority: major Milestone: 3.0
Component: client Version: 3.0.x
Keywords: Cc:

Description

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)

Change History (4)

comment:1 Changed 4 weeks ago by Antoine Martin

Owner: changed from Antoine Martin to Mark Harkin

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

Does r23602 fix things?

comment:2 in reply to:  1 Changed 4 weeks ago by 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.

comment:3 Changed 3 weeks ago by Antoine Martin

Resolution: fixed
Status: newclosed

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.

comment:4 Changed 3 weeks ago by Mark Harkin

Yep, works for me. Thanks.

Note: See TracTickets for help on using tickets.