xpra icon
Bug tracker and wiki

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

Opened 10 years ago

Closed 10 years ago

Last modified 16 months ago

#141 closed defect (fixed)

PYTHONPATH in xpra 0.3.2 in ubuntu (packaging problem)

Reported by: sergio Owned by: Antoine Martin
Priority: trivial Milestone: 0.3
Component: client Version: 0.3.x
Keywords: Cc:


Don't know if this bug should be reported here, being it likely a packaging problem.

Xpra_launcher aborts on ubuntu 12.04 since import of pra modules from python code fail. Explicitly setting the PYTHONPATH fixes the issue.

Change History (4)

comment:1 Changed 10 years ago by Antoine Martin

Status: newaccepted

Are you saying that simply running:


From the command line fails?

Does it work if you just run:




comment:2 Changed 10 years ago by sergio

xpra --version
xpra v0.3.2

xpra works just fine

Traceback (most recent call last):
  File "/usr/bin/xpra_launcher", line 3, in <module>
    from xpra.scripts.client_launcher import main
ImportError: No module named xpra.scripts.client_launcher

xpra launcher cannot find its pieces.
Easy to see why: the xpra script starts with

import sys

the xpra_launcher script does not. Obviously, adding the two liner on top of xpra_launcher fixes the issue.

comment:3 Changed 10 years ago by Antoine Martin

Resolution: fixed
Status: acceptedclosed

sigh, yet another packaging hoop I have to jump through, this time Debian specific patches for placing the python libraries in an unusual place...

Done in r900 + r901 (oops), I will push an update to debian shortly.

Last edited 10 years ago by Antoine Martin (previous) (diff)

comment:4 Changed 16 months ago by migration script

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

Note: See TracTickets for help on using tickets.