ImportError: No module named cluttergtk

Bug #471528 reported by ThGravo
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Entertainer Media Center
Fix Released
Critical
Matt Layman
Declined for Entertainer-0.4 by Matt Layman
Declined for Entertainer-0.5 by Matt Layman
entertainer (Arch Linux)
Fix Committed
Undecided
Matt Layman

Bug Description

Even though all dependencies are installed, I get the following error (with Ubuntu 9.10 and Gentoo (Python 2.6.4), both amd64):

$ ./entertainer
Traceback (most recent call last):
  File "./entertainer", line 8, in <module>
    main()
  File "/home/flux/codework/entertainer/entertainerlib/frontend/__init__.py", line 13, in main
    import cluttergtk
ImportError: No module named cluttergtk

Related branches

Revision history for this message
Matt Layman (mblayman) wrote :

ThGravo, thanks for the report. This is sort of a duplicate of Bug #441515, but I want to leave it marked as valid in case other try to file something similar (because this is probably the first symptom of the root cause).

The root cause is that we have not ported the code to use clutter 1.0 which is now in the Ubuntu repositories. The current code is written to work with clutter 0.8 and clutter did some API changes between 0.8 and 1.0.

Changed in entertainer:
importance: Undecided → Critical
milestone: none → entertainer-0.5
status: New → Triaged
Matt Layman (mblayman)
Changed in entertainer:
assignee: nobody → Matt Layman (laymansterms)
status: Triaged → In Progress
Revision history for this message
Matt Layman (mblayman) wrote :

ThGravo, just to update you. I just finished a branch that should fix the bulk of the problems that were affecting Entertainer by using clutter 1.0. Your problem with cluttergtk not existing for Gentoo will remain because the clutter team split cluttergtk and cluttergst out of the core of clutter.

cluttergtk and cluttergst are still required to get Entertainer to run and you'll have to work with your distribution to get them (http://git.clutter-project.org/?r=bindings/pyclutter-gst and http://git.clutter-project.org/?r=bindings/pyclutter-gtk from the project's git repository). For Ubuntu users, I hope that we'll eventually produce a package that has our own dependencies for now, and then get the packages into the repositories for Lucid.

Revision history for this message
Matt Layman (mblayman) wrote :

In order to run Entertainer, users will need to use pyclutter-gtk and pyclutter-gst. For Ubuntu users, Francesco Marella has made these available in his PPA (https://launchpad.net/~francesco-marella/+archive/ppa). The Entertainer code has been fixed for clutter 1.0 to support the correct import names, but the imports won't be available until those two packages are installed.

Changed in entertainer:
status: In Progress → Fix Committed
Revision history for this message
Matt Layman (mblayman) wrote :

Assuming Arch users can install pyclutter-gtk and pyclutter-gst, this problem should be resolved for users who are using the future branch.

I don't know how Arch uses Launchpad so this won't actually fix their package. The Arch maintainer of the Entertainer package will have to pull the code from lp:entertainer/future.

Changed in entertainer (Arch Linux):
status: New → Fix Committed
Changed in entertainer (Arch Linux):
assignee: nobody → Matt Layman (laymansterms)
Matt Layman (mblayman)
Changed in entertainer:
status: Fix Committed → 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.