Public bug reported:

Binary package hint: pitivi

The environment is not correctly set up. When you run pitivi in a console, the 
error message reports
<code>
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
ImportError: No module named pitivi.application

</code>

There is a work around.

sudo gedit  /usr/bin/pitvi

Find the following line:

LIBDIR = '/usr/lib'

Below the line, add the following line:

PYTHONPATH='/usr/lib/pitivi/python:/usr/share/doc/pitivi$ pitivi'

Save the changes.

Result: pitivi works from menu or command line.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: pitivi 0.13.4-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Fri Apr 30 22:35:49 2010
LiveMediaBuild: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
PackageArchitecture: all
ProcEnviron:
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: pitivi

** Affects: pitivi (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
The program doesn't start - see 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556851
https://bugs.launchpad.net/bugs/572801
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to