xpra icon
Bug tracker and wiki

Opened 8 years ago

Closed 8 years 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:

Description

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 (3)

comment:1 Changed 8 years ago by Antoine Martin

Status: newaccepted

Are you saying that simply running:

xpra_launcher

From the command line fails?

Does it work if you just run:

xpra

?

Thanks
Antoine

comment:2 Changed 8 years ago by sergio

xpra --version
xpra v0.3.2

xpra works just fine

xpra_launcher
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
sys.path.append("/usr/lib/xpra")

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

comment:3 Changed 8 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 8 years ago by Antoine Martin (previous) (diff)
Note: See TracTickets for help on using tickets.