GNOME Bugzilla – Bug 726721
Some tracks are identified as 'MediaVideo' and crash in various places
Last modified: 2014-04-21 12:59:06 UTC
I get this error when I try to search for artists in the artist pane. Traceback (most recent call last):
+ Trace 233364
artist = media.get_artist()
sorry, that was incorrect. I don't even need to issue a search. It is enough to visit the songs pane.
Created attachment 272557 [details] [review] Use 'Untitled Artist' and "Untitled Album" in searchbar
Fixed in https://git.gnome.org/browse/gnome-music/commit/?id=9a1b515
Hmm, I'm not so sure about that. I just got the same error again: Traceback (most recent call last):
+ Trace 233400
if media.get_artist() is not None:
I have the newest version of gnome-music.
That looks like the same error message but in different place. Could you identify which track is causing this?
It's hard to reproduce the error; I am limited also by bug 726459. I am unable to pinpoint the cause of the problem. However, I made an 18 min long screencast that shows the effect of bug 726459 several times and the error referred to here at the very end. I provoke it by switching tabs while playing the same piece of music over and over on repeat. https://www.dropbox.com/s/traq6nhmzrjy2m9/Screencast%20from%2027-03-14%2010%3A00%3A59%20AM.webm?m=
for some reason, the quality of the screencast is much better if it's downloaded.
Pushed https://git.gnome.org/browse/gnome-music/commit/?id=b5092d6 to master
I really hate to bother everyone again with this... I bet I am the only person with audio files that are also videos... It seems these m4r files cause fatal errors also in other circumstances. I got the following error while clicking on one of them in the Album track list in the Artists view: Traceback (most recent call last):
+ Trace 233402
'Metadata': dbus.Dictionary(self._get_metadata(),
'xesam:trackNumber': media.get_track_number(),
The same exception is raised in selection mode and in the Songs view when clicked on one of the tracks.
Commit https://git.gnome.org/browse/gnome-music/commit/?id=2142ff6 should fix the crash and https://git.gnome.org/browse/gnome-music/commit/?id=995bfd6 should display an artist for this track (or Unknown Artist). Please reopen if the app crashes in any other place for this file or MediaVideo object
I updated gnome-music and tested the patch. I regret to report that it does not solve the issues. I now get: Traceback (most recent call last):
+ Trace 233411
trackNumber = media.get_track_number()
Okay, thanks, in commit https://git.gnome.org/browse/gnome-music/commit/?id=c42c36c we're skipping any exceptions, occurring in this modules. Please reopen the bug if something related to MediaVideo object crashes the app.
there we go again: Traceback (most recent call last):
+ Trace 233414
self.player.set_playing(True)
self.play()
self.load(media)
and: Traceback (most recent call last): File "/usr/lib64/python3.2/site-packages/gnomemusic/view.py", line 434, in _on_item_activated self.player.set_playing(True) File "/usr/lib64/python3.2/site-packages/gnomemusic/player.py", line 340, in set_playing self.play() File "/usr/lib64/python3.2/site-packages/gnomemusic/player.py", line 391, in play self.load(media) File "/usr/lib64/python3.2/site-packages/gnomemusic/player.py", line 362, in load if media.get_artist() is not None: AttributeError: 'MediaVideo' object has no attribute 'get_artist'
https://git.gnome.org/browse/gnome-music/commit/?id=b252ec9 should take care of that
don't know if related, but, yeah, have a look: Traceback (most recent call last): (gnome-music:24973): GLib-GIO-CRITICAL **: g_file_get_parent: assertion 'G_IS_FILE (file)' failed
+ Trace 233498
retval = fn(*v, **k)
assert media.get_artist() is not None AssertionError
This error is not related to the original bug report. Please open a new issue for that
Ok, I do once I find a pattern. So far it's an isolated incident.