preview_menu incorrectly set to None instead of TextMenu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Entertainer Media Center |
Fix Released
|
Medium
|
Matt Layman |
Bug Description
I've been meaning to try out Entertainer since I saw an article about it on linux.com. I tried it back then, but since I'm using gentoo and the portage overlay which had clutter and pyclutter had 0.4 versions (and I didn't have enough time at the moment to manually go through the dependency hell ;p), I stalled it.
Recently I made myself some time to try it out. I'm currently using these dependencies' versions:
dev-python/
media-libs/
media-libs/
media-libs/
media-libs/
The reason for the newer versions is that before I tried it with these dependencies' versions:
clutter-core 0.5.6 (as 0.5.4 is not in the clutter-project server)
clutter-gst 0.5.0
clutter-gtk 0.5.2
clutter-cairo 0.5.0
But I had the same problem in both setups: Entertainer starts and indexes fine (I checked it the-gentoo-way: opened the .db files and looked in the thumbnails directory: both show signs of content being indexed). However, when opening the frontend, I don't see any content in any of the sections. Neither the logs nor the program output in the terminal show any sign of errors.
When trying to enter the sections, this exception occurs (which I guess is obviously due to an empty list):
Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
File "/home/
self.
AttributeError: 'NoneType' object has no attribute 'set_active'
Of course what should happen is that I should see some content =P.
Any hints as to what I may try for further debugging, or if I'm missing something/doing something wrong? I'm open to suggestions.
Needless to say, this is the best looking media center for Linux that is currently out there. A shame I couldn't try it yet, but keep up your excellent work folks :).
GODLiKE.-
Changed in entertainer: | |
status: | Fix Committed → Fix Released |
GODLiKE, from the Traceback, it appears that preview_menu is wrong. I checked the main_screen.py and saw the line of code "self.preview_menu = menu". menu should be a TextMenu widget. Could you try adding "print self.preview_menu" after the variable assignment line? If the TextMenu is not returning a valid object, we can at least narrow down the scope of this problem.
If I had to guess about what this problem is before we do any in depth analysis on it, I would guess that this will boil down to a problem with the clutter installation on your machine. But I can certainly work with you to resolve this because it may actually be a bug in Entertainer, and that's obviously what we want to find out.