Entertainer crashes on menu selection

Bug #290474 reported by Matt Layman
4
Affects Status Importance Assigned to Milestone
Entertainer Media Center
Fix Released
Medium
Paul Hummer

Bug Description

I finally got the Entertainer front end running after a little work on my 64 bit processor.

Now the screen and menu come up, but whenever I hit enter on a menu item, entertainer closes. There are no errors given on th command line.

Weather is the only menu item that will work. The rest just close Entertainer when I attempt to navigate to them.

I'm using entertainer-0.1 from the Entertainer website, as well as pyclutter-0.6.2 (patched to fix the issue with 64-bit processors) and clutter-0.6.4.

I tried upgrading to clutter-0.8, but Entertainer did not work at all.

Related branches

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

Kristopher, we tried the easy option in the question section, but I think that going forward, we need to treat this as a bug.

Have you made sure to get all the dependencies that are listed in the docs/DEPENDENCIES file?

Please check your ~/.config/entertainer/entertainer.log and let us know if there are any noteworthy error messages. If there is nothing there, then we can attempt further debugging.

Here is the additional comment that you provided in the question (note: that the GLX warnings are fairly normal and show up for a lot of clutter users):

Getting the same result, although this time with warnings:

$ ./entertainer

** (./entertainer:13083): WARNING **: failed to bind GLXGetProcAddress or GLXGetProcAddressARB

Entertainer backend starting...
/usr/lib64/python2.5/site-packages/imdb/parser/http/utils.py:631: UserWarning: unable to use "lxml": cannot import name html
  warnings.warn('unable to use "%s": %s' % (mod, str(e)))
/usr/lib64/python2.5/site-packages/imdb/parser/http/utils.py:622: UserWarning: falling back to "beautifulsoup".
  warnings.warn('falling back to "%s".' % mod)

Changed in entertainer:
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Kristopher (krstphr) wrote :

These are the only errors in the log:

2008-10-29 18:15:09,731 backend.BackendServer DEBUG Guide Updater intialized successfully
2008-10-29 18:15:09,732 backend.core.ConnectionServer ERROR Socket failed to bind. Address already in use
2008-10-29 18:15:09,732 backend.BackendServer ERROR ConnectionServer initialization failed!

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

Kristopher, if you got those error messages, you shouldn't have even seen the GUI. Can you try deleting entertainer.log, then running entertainer to replicate your problem, then check the log (which will be automatically created again) to see if the above error messages still exist?

If you find that they do, then we have a really weird problem on our hands. Thanks.

Revision history for this message
Kristopher (krstphr) wrote :

Yeah, those errors aren't appearing anymore. Must've been from something else.

This is what I get when select Videos. If I have no video directories setup, I don't get an error:

$ ./entertainer

Entertainer backend starting...
Exception in thread AlbumArt Downloader:
Traceback (most recent call last):
  File "/usr/lib64/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/home/kristopher/entertainer/entertainerlib/utils/albumart_downloader.py", line 62, in run
    self.search()
  File "/home/kristopher/entertainer/entertainerlib/utils/albumart_downloader.py", line 120, in search
    self.on_search_completed (None)
  File "/home/kristopher/entertainer/entertainerlib/utils/albumart_downloader.py", line 268, in on_search_completed
    image_urls = self.get_best_match_urls(result)
  File "/home/kristopher/entertainer/entertainerlib/utils/albumart_downloader.py", line 295, in get_best_match_urls
    for result in search_results:
TypeError: 'NoneType' object is not iterable

/usr/lib64/python2.5/site-packages/imdb/parser/http/utils.py:631: UserWarning: unable to use "lxml": cannot import name html
  warnings.warn('unable to use "%s": %s' % (mod, str(e)))
/usr/lib64/python2.5/site-packages/imdb/parser/http/utils.py:622: UserWarning: falling back to "beautifulsoup".
  warnings.warn('falling back to "%s".' % mod)

I have all dependencies based on the DEPENDENCIES file.

Revision history for this message
Kristopher (krstphr) wrote :

What is the version of lxml that you are using? Maybe I have newer or outdated version?

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

Kristopher, it looks like it's actually a couple of problems.

The first problem is in the albumart_downloader. search_results appears to be coming back empty. I'd guess that urllib is not working for the url that is provided. Because nothing is coming back, search_results ends up being None, which would explain the error message you see. We actually pull that code directly from the Rhythmbox project then modify it a little to make it work for Entertainer so I'm not sure how much we can fix there. Maybe we need to file a bug upstream about that.

The second appears to be a problem with your imdb package. Maybe the Mandriva package for python imdb doesn't get the correct dependencies. That one is totally out of our control, but there is a good chance that the first issue is causing Entertainer to crash and not the second problem.

Paul Hummer (rockstar)
Changed in entertainer:
milestone: none → entertainer-0.3
Paul Hummer (rockstar)
Changed in entertainer:
status: Incomplete → Triaged
Paul Hummer (rockstar)
Changed in entertainer:
milestone: entertainer-0.3 → none
Paul Hummer (rockstar)
Changed in entertainer:
assignee: nobody → rockstar
milestone: none → entertainer-0.4
status: Triaged → In Progress
Paul Hummer (rockstar)
Changed in entertainer:
status: In Progress → Fix Committed
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

Related questions

Remote bug watches

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