xpra icon
Bug tracker and wiki

Opened 7 months ago

Closed 7 months ago

#2275 closed defect (fixed)

Error when launching command from start menu in Python3

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

Description (last modified by Antoine Martin)

Was just testing out Xpra on Python3 with latest beta and got the following when trying to open an application through the tray start menu.

Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/client/gtk_base/gtk_tray_menu_base.py", line 1657, in app_launch
    command = re.sub(r'\%[fFuU]', '', command)
  File "/usr/lib64/python3.7/re.py", line 192, in sub
    return _compile(pattern, flags).sub(repl, string, count)
TypeError: cannot use a string pattern on a bytes-like object

Change History (1)

comment:1 Changed 7 months ago by Antoine Martin

Description: modified (diff)
Resolution: fixed
Status: newclosed

Fixed in r22446.

Note: See TracTickets for help on using tickets.