Bug#533839: pitivi fails to start: ImportError: No module named instance

Jamie McClelland jm at mayfirst.org
Sat Jun 20 19:33:31 UTC 2009


Package: pitivi
Version: 0.13.1-1
Severity: important


When I try to run pitivi I get:

0 jamie at liberace:~$ PITIVI_DEBUG=*:5 GST_DEBUG=2 /usr/bin/pitivi 
0:00:00.079449809  6324  0x9b93d30 WARN              pyplugin gstpythonplugin.c:343:plugin_init: Couldn't g_module_open libpython. Reason: /usr/lib/libpython2.5.so: cannot open shared object file: No such file or directory
0:00:00.084534917  6324  0x9b93d30 WARN    GST_PLUGIN_LOADING gstplugin.c:340:gst_plugin_register_func: plugin "/usr/lib/gstreamer-0.10/libgstpython.so" failed to initialise
Traceback (most recent call last):
  File "/usr/bin/pitivi", line 118, in <module>
    _run_pitivi()
  File "/usr/bin/pitivi", line 111, in _run_pitivi
    import pitivi.application as ptv
  File "/usr/lib/pitivi/python/pitivi/application.py", line 29, in <module>
    from pitivi.pitivigstutils import patch_gst_python
  File "/usr/lib/pitivi/python/pitivi/pitivi.py", line 28, in <module>
  File "/usr/lib/pitivi/python/pitivi/check.py", line 32, in <module>
    from pitivi.instance import PiTiVi
ImportError: No module named instance
1 jamie at liberace:~$

I then noticed that there is no /usr/lib/libpython2.5.so, so I type:

0 jamie at liberace:~$ sudo ln -s /usr/lib/libpython2.5.so.1 /usr/lib/libpython2.5.so
0 jamie at liberace:~$

And now I get:

0 jamie at liberace:~$ PITIVI_DEBUG=*:5 GST_DEBUG=2 /usr/bin/pitivi 
AttributeError: 'module' object has no attribute 'Element'
0:00:00.083061597  6519  0x921ad30 WARN    GST_PLUGIN_LOADING gstplugin.c:340:gst_plugin_register_func: plugin "/usr/lib/gstreamer-0.10/libgstpython.so" failed to initialise
Traceback (most recent call last):
  File "/usr/bin/pitivi", line 118, in <module>
    _run_pitivi()
  File "/usr/bin/pitivi", line 111, in _run_pitivi
    import pitivi.application as ptv
  File "/usr/lib/pitivi/python/pitivi/application.py", line 29, in <module>
    from pitivi.pitivigstutils import patch_gst_python
  File "/usr/lib/pitivi/python/pitivi/pitivi.py", line 28, in <module>
  File "/usr/lib/pitivi/python/pitivi/check.py", line 32, in <module>
    from pitivi.instance import PiTiVi
ImportError: No module named instance
1 jamie at liberace:~$

thanks,
jamie


-- System Information:
Debian Release: squeeze/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pitivi depends on:
ii  gnome-icon-theme              2.26.0-1   GNOME Desktop icon theme
ii  gstreamer0.10-gnonlin         0.10.11-1  non-linear editing module for GStr
ii  gstreamer0.10-plugins-base    0.10.23-2  GStreamer plugins from the "base" 
ii  gstreamer0.10-plugins-good    0.10.15-2  GStreamer plugins from the "good" 
ii  gstreamer0.10-x               0.10.23-2  GStreamer plugins for X11 and Pang
ii  libgstreamer0.10-0            0.10.23-1  Core GStreamer libraries and eleme
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-cairo                  1.8.4-3    Python bindings for the Cairo vect
ii  python-central                0.6.11     register and build utility for Pyt
ii  python-dbus                   0.83.0-1   simple interprocess messaging syst
ii  python-glade2                 2.14.1-3   GTK+ bindings: Glade support
ii  python-gnome2                 2.26.1-1   Python bindings for the GNOME desk
ii  python-gst0.10                0.10.15-1  generic media-playing framework (P
ii  python-gtk2                   2.14.1-3   Python bindings for the GTK+ widge
ii  python-pkg-resources          0.6c9-2    Package Discovery and Resource Acc
ii  python-pygoocanvas            0.10.0-2   GooCanvas Python bindings
ii  python-setuptools             0.6c9-2    Python Distutils Enhancements
ii  python-zopeinterface [python- 3.4.0-1    The implementation of interface de

Versions of packages pitivi recommends:
ii  hal          0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer

pitivi suggests no packages.

-- no debconf information






More information about the Pkg-gstreamer-maintainers mailing list