Loïc Minier wrote: > On Mon, Nov 05, 2007, Thiemo Seufer wrote: > > larsa:/srv/ths/debian/flumotion/flumotion-0.4.2$ cat foo > > prog=" > > import sys > > try: > > import pygst > > from flumotion.common import boot; boot.init_gobject(); boot.init_gst() > ... > > python -d -c "$prog" > > larsa:/srv/ths/debian/flumotion/flumotion-0.4.2$ sh foo > > ERROR: no GStreamer available (looking for versions ['0.10']) > > Well your example didn't work for me without adding > /usr/lib/flumotion/python to the PYTHONPATH. Do you have flumotion > higher up in your default PYTHONPATH somewhere?
It is an schroot, PYTHONPATH isn't set as an environment variable. > I tried your sh example with "export > PYTHONPATH=/usr/lib/flumotion/python" before the run, and it exited > with 0 exit status. I also tried running the python snippet directly > as a Python script with PYTHONPATH in the env, and it worked fine as > well. > > Please check your setup for obsolete installation of flumotion. There is no old version of flumotion installed. Thiemo

