You are not logged in.

#1 2014-03-19 22:08:33

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Pitivi:Attribute error Pipeline has not attribute add_timeline

Hi there,

I cannot launch pitivi. It always crashes with the following error:

~ pitivi
Traceback (most recent call last):
  File "/usr/bin/pitivi", line 142, in <module>
    _run_pitivi()
  File "/usr/bin/pitivi", line 131, in _run_pitivi
    sys.exit(ptv.main(sys.argv))
  File "/usr/lib/pitivi/python/pitivi/application.py", line 449, in main
    ptv = StartupWizardGuiPitivi(debug=options.debug)
  File "/usr/lib/pitivi/python/pitivi/application.py", line 392, in __init__
    self.projectManager.newBlankProject(emission=False)
  File "/usr/lib/pitivi/python/pitivi/project.py", line 426, in newBlankProject
    project.createTimeline()
  File "/usr/lib/pitivi/python/pitivi/project.py", line 881, in createTimeline
    self.pipeline.add_timeline(self.timeline)
  File "/usr/lib/pitivi/python/pitivi/utils/pipeline.py", line 537, in add_timeline
    if GES.Pipeline.add_timeline(self, timeline):
AttributeError: type object 'Pipeline' has no attribute 'add_timeline'

Do I miss a dependency that is not installed automatically?

Last edited by orschiro (2014-03-22 08:53:50)

Offline

#2 2014-03-19 22:22:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Pitivi:Attribute error Pipeline has not attribute add_timeline

Same here.
Please report the bug.

Offline

#3 2014-03-20 01:25:36

haaja
Member
Registered: 2011-03-30
Posts: 22
Website

Re: Pitivi:Attribute error Pipeline has not attribute add_timeline

Briefly looking into the matter it seems that gst-editing-services version 1.2.0 introduces API breakage which is fixed in pitivi with this patch. The calendar on their contact page seems to indicate that the next release is due tomorrow. If that's any indication then maybe the best resolution is just to wait for the new version.

Offline

#4 2014-03-20 06:00:33

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Pitivi:Attribute error Pipeline has not attribute add_timeline

@haaja

Thanks for the information on today's release. Then let's wait for it first and see if the issue gets resolved.

Offline

#5 2014-03-21 05:06:41

haaja
Member
Registered: 2011-03-30
Posts: 22
Website

Re: Pitivi:Attribute error Pipeline has not attribute add_timeline

Pitivi 0.93 has now been released. Should fix the problem once the new version is packaged.

Offline

#6 2014-03-22 08:54:24

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Pitivi:Attribute error Pipeline has not attribute add_timeline

It fixed this problem but opened up several other dependency issues:

~ pitivi
ERROR:root:Could not find any typelib for ClutterGst
Failed to initialize modules:  cannot import name ClutterGst
ERROR:root:Could not find any typelib for ClutterGst
ERROR - The following hard dependencies are unmet:
==================================================
- ClutterGst not found on the system
- gnonlin version 1.1.90 is installed but Pitivi requires at least version 1.2.0
Missing soft dependency:
- pycanberra not found on the system
    -> enables sound notifications when rendering is complete
ERROR:root:Could not find any typelib for GnomeDesktop
Missing soft dependency:
- GnomeDesktop not found on the system
    -> file thumbnails provided by GNOME's thumbnailers

I filed a bug report: https://bugs.archlinux.org/task/39582

Offline

#7 2014-03-22 15:13:31

haaja
Member
Registered: 2011-03-30
Posts: 22
Website

Re: Pitivi:Attribute error Pipeline has not attribute add_timeline

While waiting for the updated package. You can install clutter-gst dependency manually and package 1.2.0 of gnonlin. Here is the PKGBUILD for updated gnonlin.

# $Id$
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=gnonlin
pkgver=1.2.0
pkgrel=1
pkgdesc='Library for creating non-linear video editors'
arch=('x86_64' 'i686')
url='http://gnonlin.sourceforge.net/'
depends=('gstreamer')
makedepends=('python' 'gst-plugins-base' 'pkgconfig')
license=('LGPL')
source=("http://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$pkgver.tar.xz")
sha256sums=('876e225c250b95b1a0632c284afc472b08a5072539b233e414a96af426581e96')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et:

Offline

#8 2014-03-23 06:44:57

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Pitivi:Attribute error Pipeline has not attribute add_timeline

Gnolin has already been updated in the repos. Thanks for the PKGBUILD!

Offline

Board footer

Powered by FluxBB