[ros-users] $PYTHONPATH in launch files
HornungA at informatik.uni-freiburg.de
Mon May 24 18:48:57 UTC 2010
> Wait... what part of this env variable is portable?
> <env name="PYTHONPATH"
> If your user name changes on the remote machine, wouldn't your launch
> file stop working? It seems that the remote machine's $PYTHONPATH
> would be more likely to know where all its libraries are than a
> .launch file, right?
I agree with Hai on this, Advait's example (unintentionally?) shows that
this does not really help making launch files more portable, but less.
Re-specifying the PYTHONPATH in the launch file might work as a
workaround for the current behavior, but this would need to be done with
a launch file specific for every machine or ros installation path.
What do the ROS developers think on this? Making use of my newly-created
trac-account, I just created a ticket for this ;)
Armin Hornung Albert-Ludwigs-Universität
www.informatik.uni-freiburg.de/~hornunga Dept. of Computer Science
HornungA at informatik.uni-freiburg.de Humanoid Robots Lab
Tel.: +49 (0)761-203-8010 Georges-Köhler-Allee 79
Fax : +49 (0)761-203-8007 D-79110 Freiburg, Germany
More information about the ros-users