You are not logged in.

#1 2014-08-19 09:33:06

AVDuma
Member
Registered: 2013-04-01
Posts: 21

[SOLVED] Can't load gnome-music

Hi!
I've installed Arch Linux with GNOME 3 and if I run gnome-music it doesn't start.
Here's the terminal's output:

[albi@albi-desktop ~]$ gnome-music 
Traceback (most recent call last):
  File "/usr/bin/gnome-music", line 38, in <module>
    from gnomemusic.application import Application
  File "/usr/lib/python3.4/site-packages/gnomemusic/application.py", line 36, in <module>
    from gnomemusic.window import Window
  File "/usr/lib/python3.4/site-packages/gnomemusic/window.py", line 38, in <module>
    from gnomemusic.query import Query
  File "/usr/lib/python3.4/site-packages/gnomemusic/query.py", line 32, in <module>
    class Query():
  File "/usr/lib/python3.4/site-packages/gnomemusic/query.py", line 35, in Query
    GLib.get_user_special_dir(GLib.UserDirectory.DIRECTORY_MUSIC)
TypeError: Argument 0 does not allow None as a value

And here's the version of gnome-session and gnome-music packages.

[albi@albi-desktop ~]$ pacman -Q gnome-session gnome-music
gnome-session 3.12.1-1
gnome-music 3.12.2.1-1

Please let me know if you need other inputs and I'll thank you in advantage for tips to make gnome-music works.

Last edited by AVDuma (2014-08-20 11:23:29)

Offline

#2 2014-08-19 10:04:20

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED] Can't load gnome-music

from that error, my guess is that gnome-music is trying to find your XDG_MUSIC_DIR, but fails because it's undefined.
try something like this in your ~/.config/user-dirs.dirs (if you haven't set it already

XDG_MUSIC_DIR="$HOME/music"

also make sure that the directory actually exists

just a guess, but could be worth a shot.
if that solves your issue, please make a bug report

Offline

#3 2014-08-19 12:02:23

AVDuma
Member
Registered: 2013-04-01
Posts: 21

Re: [SOLVED] Can't load gnome-music

Thank you ooo,

I've set my music directory into "/media/Dati/Documenti/Musica" (the Hard Disk with Datas) and gnome-music now gets loaded.

But it cannot see any file.

[albi@albi-desktop ~]$ gnome-music 

(gnome-music:1255): Grilo-WARNING **: [registry] grl-registry.c:944: Failed to open module: liblua.so.5.2: impossibile aprire il file oggetto condiviso: File o directory non esistente
Detected new source available: 'Tracker' and it supports search

And the error on Gnome-Music windows is:
"No track founded
Load some files on the folder /media/Dati/Documenti/Musica"

But the folder is full of directory with mp3 files and I've pasted a couple of mp3 directly on /media/Dati/Documenti/Musica .
_____
How and where I have to open a bug report?

Offline

#4 2014-08-19 14:16:47

AVDuma
Member
Registered: 2013-04-01
Posts: 21

Re: [SOLVED] Can't load gnome-music

Ok I've installed lua (sudo pacman -S lua) and now I only get the Tracker error and still the main window without file.
I1xXJzK.png

Offline

#5 2014-08-20 09:24:54

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED] Can't load gnome-music

the lua warning you had was about grilo-pllugins, which optionally depends on lua for some plugins, and it probably wasn't anything critical.
I don't think the tracker message is any kind of critical error either. Looks like it just reports that it was able to connect with tracker service, and everything should be ok.

It's hard to guess why it can't find your mp3 files though, as there's no error messages or anything, but I have few ideas:
- it could be that your missing whatever library gnome-music uses for decoding mp3 files. I looked at the dependecy tree but couldn't figure out what that library could be, but since pretty much all gnome media applications are using gstreamer for that purpose, you could be just missing some gst-plugins. Also you could try if gnome-music can load any .wav .ogg or .flac files for example from your music dir.
- I'm not sure you're allowed to set XDG_MUSIC_DIR outside of your /home. Try creating music directory in your home, copy a few files in it, and change the directory in user-dirs.dirs accordingly.

I think gnome-music 3.12 isn't considered 100% production ready yet, as it is still in early development stages and there could still be some issues and missing features. For now rhythmbox is still the 'default' audio player for gnome.


about the bug reporting. If the bug is something arch linux specific, like missing dependencies, you should report it to arch bug tracker.
if it's a bug in the application itself, like the issue in your first post, it would make more sense to report it directly to gnome bugzilla. Although in that case it might be good idea to test the latest development snapshot (i.e. gnome-music-git from AUR) to check that the bug hasn't been fixed already.


also, please use LC_ALL=C when posting application output to get error messages in english, and use thumbnails when posting images: https://wiki.archlinux.org/index.php/Fo … s_and_Code

Offline

#6 2014-08-20 11:23:09

AVDuma
Member
Registered: 2013-04-01
Posts: 21

Re: [SOLVED] Can't load gnome-music

Thank you ooo,
After some reboot gnome-music can load my entire collection (5000 mp3 more or less), but it is very laggy for a every day use.
So I've installed Rhythmbox that is more reactive and it has integration with Tray Icon.
I'll flag as solved my initial issues because your first advice to set XDG_MUSIC_DIR works good, exspecially if you launch after xdg-user-dirs-update .

Thank you for your kind support!

Offline

Board footer

Powered by FluxBB