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 6 months ago

#1891 closed defect (invalid)

Python3 build installs python2 scripts

Reported by: أحمد المحمودي Owned by: Antoine Martin
Priority: major Milestone: 2.4
Component: packaging Version: 2.3.x
Keywords: Cc:

Description (last modified by Antoine Martin)

Pyyhon3 build installs the following python2 scripts:


Change History (3)

comment:1 Changed 3 years ago by Antoine Martin

Description: modified (diff)
Milestone: 2.4
Resolution: invalid
Status: newclosed

That is incorrect. This change must come from your build or packaging system:

$ sudo python3 ./setup.py install --prefix=/usr
$ sudo head -n 1 /usr/lib/cups/backend/xpraforwarder 
#!/usr/bin/env python


  • r19776 fixes the python3 compatibility for xpraforwarder
  • xdg-open and xpraforwarder will just end up exec-ing xpra, so they do not rely on any xpra modules directly - they should be able to run with both python2 or python3
  • xdg-open and xpraforwarder could be re-written in plain shell relatively easily
  • auth_dialog imports some xpra modules for its dialog (mostly the utility module that makes it GTK2 / GTK3 and python2 / python3 version agnostic), so it requires that the corresponding xpra modules are installed for the python version used to run it

comment:2 Changed 3 years ago by Antoine Martin

@aelmahmoudy: see ticket:1568#comment:21

comment:3 Changed 6 months ago by migration script

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

Note: See TracTickets for help on using tickets.