xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 3 years ago

Closed 3 years ago

Last modified 12 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 (2)

comment:1 Changed 3 years ago by Antoine Martin

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

Fixed in r22446.

comment:2 Changed 12 months ago by migration script

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

Note: See TracTickets for help on using tickets.