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?

 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.

-- 
Loïc Minier


Reply via email to