Does not work with Clutter 0.8

Bug #281365 reported by bighoffa
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Entertainer Media Center
Fix Released
Medium
Samuel Buffet

Bug Description

Trying to install and run entertainer on Mandriva One 2009 32 bit using Python 2.5.2. I have installed all the required python libraries, but it seems that the program is only setup to work with the installation paths for Ubuntu. I cannot use Ubuntu due to an nVidia driver bug with Ubuntu and my card.

I can run the content-management and entertainer-backend, but this is the error that I get when I run entertainer:

[mikeh@localhost entertainer-0.2b1]$ ./entertainer

Traceback (most recent call last):
  File "./entertainer", line 18, in <module>
    from entertainerlib.utils.system_tray_icon import SystemTrayIcon
  File "/home/mikeh/entertainer-0.2b1/entertainerlib/utils/system_tray_icon.py", line 29, in <module>
    from entertainerlib.frontend.frontend_client import FrontendClient
  File "/home/mikeh/entertainer-0.2b1/entertainerlib/frontend/frontend_client.py", line 24, in <module>
    from entertainerlib.frontend.gui.user_interface import UserInterface
  File "/home/mikeh/entertainer-0.2b1/entertainerlib/frontend/gui/user_interface.py", line 12, in <module>
    from clutter import cluttergtk
ImportError: cannot import name cluttergtk

I tried using the 0.1 release as well, but get the exact same error.

Related branches

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

bighoffa, in Ubuntu, python-clutter pulls in all the dependencies of libclutter. I'm guessing that you may have installed python-clutter, but maybe Mandriva's package didn't pull in libclutter (and its various parts, clutter-gtk, clutter-cairo, clutter-gst) like Ubuntu does. We can see from the traceback that you submitted that the problem is clearly an import error. Please check to see if you have the libclutter parts installed because python-clutter will not work without them.

Changed in entertainer:
status: New → Incomplete
Revision history for this message
Matt Layman (mblayman) wrote :

bighoffa, have you checked that you installed the correct dependencies (in this case, the supporting clutter libraries that help python-clutter to run)? Without feedback from you, I'm tempted to close this bug because we can't do anything to help you with the limited amount of information that has been provided in your report.

Please let us know if you were able to get all the correct dependencies and successfully run Entertainer. If you installed the correct dependencies, but still got the same error message, you may want to file a bug against the clutter package in Mandriva. If we don't get any follow up, I'm going to assume that you managed to correct this issue and I'll close this bug next week.

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

As indicated, I'm closing this bug since there was no activity on it this week. I'm assuming the problem is fixed for bighoffa.

Changed in entertainer:
status: Incomplete → Won't Fix
Revision history for this message
spanella (spanella) wrote :

i'm having the same issue in Ubuntu 8.10. I used this repository to install the new 0.2
deb http://ppa.launchpad.net/rockstar/ubuntu intrepid main

i've got the following installed:
python-clutter
libclutter-0.8-0
libclutter-cairo-0.8-0
libclutter-gtk-0.8-0
libclutter-gst-0.8-0

Revision history for this message
Matt Layman (mblayman) wrote : Re: [Bug 281365] Re: Frontend error with import of cluttergtk

spanella,

This is probably not the same issue. We have not fixed Entertainer to work
for clutter 0.8. There were some API changes in clutter that affect
Entertainer and we haven't had a chance to fix them. You should have more
success if you install clutter 0.6. We'll be fixing Entertainer for 0.8 as
soon as we can. We've already got a branch in review which is supposed to
address most of the issues.

On Sun, Nov 16, 2008 at 4:15 AM, spanella <email address hidden> wrote:

> i'm having the same issue in Ubuntu 8.10. I used this repository to
> install the new 0.2
> deb http://ppa.launchpad.net/rockstar/ubuntu intrepid main
>
> i've got the following installed:
> python-clutter
> libclutter-0.8-0
> libclutter-cairo-0.8-0
> libclutter-gtk-0.8-0
> libclutter-gst-0.8-0
>
> --
> Frontend error with import of cluttergtk
> https://bugs.launchpad.net/bugs/281365
> You received this bug notification because you are a member of
> Entertainer Developers, which is subscribed to Entertainer.
>

Revision history for this message
Greg A (etulfetulf) wrote :

No. Mandriva One 2009 uses Clutter 0.8 [1] so this is likely the same bug. I get the same errors in Debian Sid.

[1] http://sophie.zarb.org/rpmfind?distrib=Mandriva&version=2009.0&arch=&search=pyclutter&st=fuzzyname

description: updated
Changed in entertainer:
status: Won't Fix → Confirmed
status: Confirmed → In Progress
Revision history for this message
Samuel Buffet (samuel-buffet) wrote :

the *ImportError: cannot import name cluttergtk* is typically an error we have with Clutter 0.8 installed

As now with the 0.8 Clutter API we have to do :

*import cluttergtk* instead of *from clutter import cluttergtk*

So atm trunk is not compatible with clutter 0.8 but may be soon

0.2 and 0.1 releases aren't compatible and will never be (I guess)

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

Greg, thanks for pointing that out. I don't know anything about Mandriva and I didn't take the time to research what version of clutter they are using.

Changed in entertainer:
importance: Undecided → Medium
Revision history for this message
Greg A (etulfetulf) wrote :

Matt, the information is fairly hard to find I found!

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

Samuel's branch, when merged, will fix the immediate problem. There are plenty of visible regressions that we'll have to deal with, but those bugs need to be filed separately.

Changed in entertainer:
assignee: nobody → samuel-buffet
Revision history for this message
Matt Layman (mblayman) wrote :

Samuel's work is now merged so the big showstoppers should be gone. There are some visual regressions that need to be fixed, but those should be filed separately and specifically.

Changed in entertainer:
status: In Progress → Fix Committed
Matt Layman (mblayman)
Changed in entertainer:
milestone: none → entertainer-0.3
Paul Hummer (rockstar)
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.