install-codecs crashed with ImportError in <module>()

Bug #209534 reported by secure bit
156
Affects Status Importance Assigned to Milestone
kaffeine (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: kaffeine

kaffeine crashes when trying to play rmvp file in ubuntu hardy beta

ProblemType: Crash
Architecture: i386
Date: Mon Mar 31 06:54:26 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/lib/kaffeine/install-codecs
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: nvidia
Package: kaffeine 0.8.6-0ubuntu8
PackageArchitecture: i386
ProcCmdline: /usr/bin/python /usr/lib/kaffeine/install-codecs ffmpeg
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/lib/kaffeine/install-codecs', 'ffmpeg']
SourcePackage: kaffeine
Title: install-codecs crashed with ImportError in <module>()
Traceback:
 Traceback (most recent call last):
   File "/usr/lib/kaffeine/install-codecs", line 5, in <module>
     from PyQt4.QtCore import *
 ImportError: No module named PyQt4.QtCore
Uname: Linux 2.6.24-12-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev sambashare video

Revision history for this message
secure bit (ahmad-hamad-777) wrote :
Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

Confirmed due to duplicates.

Changed in kaffeine:
status: New → Confirmed
Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

The kaffeine package should either depend or recommend python-qt4 so the install-codecs script doesn't fail.

Changed in kaffeine:
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Jonathan Riddell (jr) wrote :

Accepted into hardy-proposed, please test.

Revision history for this message
Steve Beattie (sbeattie) wrote :

I've verified that installing the version of kaffeine currently in updates, 0.8.6-0ubuntu8.1, does not recommend python-qt4, and that the version of kaffeine in proposed, 0.8.6-0ubuntu8.1.1, does include it in recommends. I have not verified that installation of the codec is successful if python-qt4 is installed and an attempt is made to play an rvmp file .

I question whether the dependency should only be recommends; as I understand it, the default for update-manager, synaptic, and apt in 8.04 is to not install recommended packages by default, so users would still see this crash if they attempted go through the codec installation process.

Revision history for this message
Martin Pitt (pitti) wrote :

Steve, thanks for testing. I agree that it should be a real dependency if the program crashes without being installed. In particular, Recommends: will not help to fix it for upgrades, since they are not installed by default.

Revision history for this message
Steve Beattie (sbeattie) wrote : Re: [Bug 209534] Re: install-codecs crashed with ImportError in <module>()

Thanks for the feedback, Martin. Marking the fix as insufficient.

  tag -verification-needed verification-failed

--
Steve Beattie
<email address hidden>
http://NxNW.org/~steve/

Revision history for this message
Steve Langasek (vorlon) wrote :

kaffeine 0.8.6-0ubuntu8.1.1 dropped from -proposed due to the verification failure of the fix, to accomodate CD builds for 8.04.1. Please reupload at your convenience with a complete fix.

Revision history for this message
John Carragher (jcarragher) wrote :

On Tue, 2008-07-01 at 16:18 +0000, Steve Langasek wrote:
> kaffeine 0.8.6-0ubuntu8.1.1 dropped from -proposed due to the
> verification failure of the fix, to accomodate CD builds for 8.04.1.
> Please reupload at your convenience with a complete fix.
>

I´ve found that the problem is due to the lack of support combined with
scant advice re libdvdcss2. Since the original report I have done
several more 8.04 installs - mainly on variations of the same hardware -
and the stumbling block is always not being able to play commercial
DVDs. I understand the issues and like the way that these have been
dealt with in order to play MP3s.

This version of Ubuntu is great but badly let down by this flaw. People
will appreciate the fact that it is up to them - not the Ubuntu team -to
get libdvdcss2 if they get the right advice. The error messages show
that the cause of the error has not been identified and then used to
inform the user what to do to address the problem. Your response shows
that you have no idea of what the problem is. I re-tried once before
when I received a ¨please re-try" but did not stir again until recently.

Thank you for the great work. I´m only being critical because I want
Ubuntu to succeed.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Fixed in the development version of Kubuntu 9.10. (It uses our codec installer for KDE4 now)

Changed in kaffeine (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.