Hi, > lazygal -o /tmp/test test > Traceback (most recent call last): > File "/usr/bin/lazygal", line 166, in <module> > parser.print_help() > File "/usr/lib/python2.7/optparse.py", line 1670, in print_help > file.write(self.format_help().encode(encoding, "replace")) > File "/usr/lib/python2.7/optparse.py", line 1647, in format_help > result.append(self.get_usage() + "\n") > File "/usr/lib/python2.7/optparse.py", line 1589, in get_usage > self.expand_prog_name(self.usage)) > File "/usr/lib/python2.7/optparse.py", line 1566, in expand_prog_name > return s.replace("%prog", self.get_prog_name()) > File "/usr/lib/python2.7/optparse.py", line 1561, in get_prog_name > return os.path.basename(sys.argv[0]) > IndexError: list index out of range > > And consequently, it renders the package unusable. The bug may be related to > another package (Python?) since it worked normally a few days ago, and > lazygal was not upgraded recently (as far as I remember). My system is mainly > testing.
Thanks for reporting. This is caused by two things : 1) After an update one of lazygal's dependencies, the following program fails. Maybe it is not good to mix gi bindings with old ones. -- $ cat gst-import-error.py #!/usr/bin/env python from gi.repository import GObject, GExiv2 import gobject import pygst pygst.require('0.10') import gst $ ./gst-import-error.py Traceback (most recent call last): File "./gst-import-error.py", line 7, in <module> import gst File "/usr/lib/python2.7/dist-packages/gst-0.10/gst/__init__.py", line 193, in <module> from _gst import * ImportError: could not import gobject (could not find _PyGObject_API object) -- 2) The failure to import gst highlighted a bug in lazygal (fix: [1]) and I just released 0.8.5 to fix this. But video transcoding still won't work. I'm working on porting to Gstreamer >= 1.0 so this will eventually go away. But I'm a bit stuck in some things segfaulting (grabbing frames using appsink). Alex [1] http://sousmonlit.zincube.net/~niol/repositories.hg/lazygal/rev/0ac14b1062ea -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org