After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 733686 - Gnome music will not launch
Gnome music will not launch
Status: RESOLVED FIXED
Product: gnome-music
Classification: Applications
Component: general
3.12.x
Other Linux
: Normal critical
: 3.16
Assigned To: gnome-music-maint
gnome-music-maint
: 738940 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-07-24 16:18 UTC by Jack Parsons
Modified: 2015-01-22 06:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jack Parsons 2014-07-24 16:18:46 UTC
Overview: 

Launching gnome-music from the 'rhughes-f20-gnome-3-12-x86_64' Fedora repository produces a crash.

Steps to Reproduce: 
    
    1) Install gnome-music from above repository.

    2) Attempt to launch for the first time.

Actual Results: What the application did after performing the above steps.

    The application crashed.

Expected Results: What the application should have done, were the bug not present.

    The window should appear and begin updating with my music library contents.

Build Date & Platform: Date and platform of the build in which you first encountered the bug.

    Build 2014-07-24 on Fedora 20.

Additional Information: The terminal output with the debug option enabled:

17:04:02 DEBUG		gnomemusic.application.__init__(<Application object at 0x7fbc7c0c30a0 (uninitialized at 0x0)>)
17:04:02 DEBUG		returned None
17:04:02 DEBUG		gnomemusic.application.do_startup(<Application object at 0x7fbc7c0c30a0 (gnomemusic+application+Application at 0x18de1c0)>)
17:04:02 DEBUG		|gnomemusic.application.build_app_menu(<Application object at 0x7fbc7c0c30a0 (gnomemusic+application+Application at 0x18de1c0)>)
17:04:02 DEBUG		|returned None
17:04:02 DEBUG		returned None
17:04:02 DEBUG		gnomemusic.window.__init__(<Window object at 0x7fbc7c0d7aa0 (uninitialized at 0x0)>, <Application object at 0x7fbc7c0c30a0 (gnomemusic+application+Application at 0x18de1c0)>)
17:04:02 DEBUG		|gnomemusic.window._setup_view(<Window object at 0x7fbc7c0d7aa0 (gnomemusic+window+Window at 0x1a7c3d0)>)
17:04:02 DEBUG		||gnomemusic.player.__init__(<Player object at 0x7fbc7c0d7af0 (uninitialized at 0x0)>)
17:04:02 DEBUG		|||gnomemusic.albumArtCache.make_default_icon(<gnomemusic.albumArtCache.AlbumArtCache object at 0x7fbc90028510>, 34, 34)
17:04:02 DEBUG		||||gnomemusic.albumArtCache._make_icon_frame(<gnomemusic.albumArtCache.AlbumArtCache object at 0x7fbc90028510>, <Pixbuf object at 0x7fbc7c0d7b90 (GdkPixbuf at 0x19c1400)>)
17:04:02 DEBUG		|||||gnomemusic.albumArtCache._draw_rounded_path(<gnomemusic.albumArtCache.AlbumArtCache object at 0x7fbc90028510>, 0, 0, 32, 32, 3)
17:04:02 DEBUG		|||||returned <Pixbuf object at 0x7fbc7c0d7cd0 (GdkPixbuf at 0x18dd2d0)>
17:04:02 DEBUG		||||returned <Pixbuf object at 0x7fbc7c0d7cd0 (GdkPixbuf at 0x18dd2d0)>
17:04:02 DEBUG		|||returned <Pixbuf object at 0x7fbc7c0d7cd0 (GdkPixbuf at 0x18dd2d0)>
17:04:02 DEBUG		|||gnomemusic.player._setup_view(<Player object at 0x7fbc7c0d7af0 (gnomemusic+player+Player at 0x15b7160)>)
17:04:02 DEBUG		||||gnomemusic.player._sync_repeat_image(<Player object at 0x7fbc7c0d7af0 (gnomemusic+player+Player at 0x15b7160)>)
17:04:02 DEBUG		||||returned None
17:04:02 DEBUG		|||returned None
17:04:02 DEBUG		||returned None
17:04:02 DEBUG		||gnomemusic.player.__init__(<gnomemusic.player.SelectionToolbar object at 0x7fbc7c0ed110>)
17:04:02 DEBUG		||returned None
17:04:02 DEBUG		||gnomemusic.toolbar.__init__(<Toolbar object at 0x7fbc7c0e9dc0 (uninitialized at 0x0)>)
17:04:02 DEBUG		|||gnomemusic.searchbar.__init__(<Searchbar object at 0x7fbc7c0e9f50 (uninitialized at 0x0)>, <StackSwitcher object at 0x7fbc7c0e9e10 (GtkStackSwitcher at 0x150e900)>, <ToggleButton object at 0x7fbc7c0e9f00 (GtkToggleButton at 0x1eadab0)>)
17:04:02 DEBUG		|||returned None
17:04:02 DEBUG		||returned None
Traceback (most recent call last):
  • File "/usr/lib/python3.3/site-packages/gnomemusic/application.py", line 122 in do_activate
    self._window = Window(self)
  • File "/usr/lib/python3.3/site-packages/gnomemusic/__init__.py", line 44 in wrapped
    retval = fn(*v, **k)
  • File "/usr/lib/python3.3/site-packages/gnomemusic/window.py", line 96 in __init__
    self._setup_view()
  • File "/usr/lib/python3.3/site-packages/gnomemusic/__init__.py", line 44 in wrapped
    retval = fn(*v, **k)
  • File "/usr/lib/python3.3/site-packages/gnomemusic/window.py", line 204 in _setup_view
    if cursor is not None and cursor.next(None):
gi._glib.GError: Invalid child

Comment 1 Vadim Rutkovsky 2014-07-28 13:52:26 UTC
Looks like tracker crasher, as cursor is what 'tracker.query(Query.all_songs_count(), None)' returns
Comment 2 Vadim Rutkovsky 2014-10-03 12:05:39 UTC
We don't know why the tracker is crashing, but we can avoid gnome-music crash: user will be redirected to No Music page.

If this happens all the time please reopen the issue.

Commits:
master https://git.gnome.org/browse/gnome-music/commit/?id=6dc84ea
gnome-3-14 https://git.gnome.org/browse/gnome-music/commit/?id=c0c1ab8
gnome-3-12 https://git.gnome.org/browse/gnome-music/commit/?id=6105b69
Comment 3 Vadim Rutkovsky 2014-10-21 13:48:42 UTC
*** Bug 738940 has been marked as a duplicate of this bug. ***
Comment 4 Vadim Rutkovsky 2014-10-21 13:49:18 UTC
Still happens, it seems the fix from comment 2 didn't help
Comment 6 Peter Johanson 2015-01-22 06:19:46 UTC
I started encountering this error recently when trying to run gnome-music, and the only thing that resolved it was to run the "Indexing Preferences" dialog, and on the "System" tab click the button to reset the indexed data. I then logged out and back in again.

After that, I was able to run gnome-music and it displayed my music as expected.

Corrupt tracker index(es) somehow?