Hi,
When I launch gmb, a segmentation error occurs :
print() on closed filehandle $fifofh at /usr/bin/gmusicbrowser line 313.
Reading saved tags in /home/minorgrubert/.config/gmusicbrowser/gmbrc ...
Reading saved tags in /home/minorgrubert/.config/gmusicbrowser/gmbrc ... done
Erreur de segmentation (core dumped)

I try with abo ppa oneiric, abo ppa precise,  abo ppa natty, shimmer ppa oneiric and shimmer ppa precise.

Works on Mint12 (based on Ubuntu oneiric).

My ~/.config/gmusicbrowser is shared (with simlink).

An idea ?



No idea. Can you do a comparison of the installed version of these packages :
libgtk2-perl libgtk2.0-0 perl
and maybe try launching gmb with option "-cfg /tmp/delme" : see if it still crashes with no gmbrc

#2 January 28, 2012, 14:26:53 Last Edit: January 28, 2012, 14:33:18 by mgrubert
On mint12 (gmb works) :
libgtk2-perl : 2:1.223-1build2
libgtk2.0-0 : 2.24.6-0ubuntu5linuxmint1
perl : 5.12.4-4


On Ubuntu 11.10 (gmb doesn't work) :
libgtk2-perl : 2:1.223-1build3
libgtk2.0-0 : 2.24.8-2ubuntu4
perl : 5.14.2-6ubuntu1

Gmb works with option "-cfg /tmp/delme"

I have just make a clean install of 12.04 daily, and gmb does not run.

I get the following errors:

user@machine:~$ gmusicbrowser
Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", at /usr/lib/perl5/Gtk2.pm line 138.
print() on closed filehandle $fifofh at /usr/bin/gmusicbrowser line 290.
Reading saved tags in /home/rasmus/.config/gmusicbrowser/gmbrc ...
Can't use an undefined value as an ARRAY reference at /usr/bin/gmusicbrowser line 600.

---------

rasmus@OptimusPrime:~$ gmusicbrowser -cfg /tmp/delme
Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", at /usr/lib/perl5/Gtk2.pm line 138.
Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", at /usr/lib/perl5/Gtk2.pm line 138.
Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", at /usr/lib/perl5/Gtk2.pm line 138.
Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", at /usr/lib/perl5/Gtk2.pm line 138.
print() on closed filehandle $fifofh at /usr/bin/gmusicbrowser line 290.
These commands were not found : flac123, ogg123
=> these file types won't be played by the 123 output : oga, flac
Ignoring layout 'Playlist, Library & Context (custom 2)' because it is based on unknown layout 'Playlist, Library & Context'
Use of uninitialized value $_[0] in vec at (eval 94) line 1.
Use of uninitialized value $_[0] in vec at (eval 95) line 1.
Use of uninitialized value $_[0] in vec at (eval 94) line 1.
Use of uninitialized value $_[0] in vec at (eval 95) line 1.
Use of uninitialized value $key in hash element at /usr/lib/perl5/Net/DBus/Binding/Iterator.pm line 504.
process 13578: Array or variant type requires that type boolean be written, but double was written.
The overall signature expected here was 'a{sb}' and we are on byte 4 of that signature.
process 13578: Array or variant type requires that type boolean be written, but string was written.
The overall signature expected here was 'a{sb}' and we are on byte 4 of that signature.
process 13578: Array or variant type requires that type boolean be written, but string was written.
The overall signature expected here was 'a{sb}' and we are on byte 4 of that signature.
rasmus@OptimusPrime:~$ sudo apt-get purge gmusicbrowser


Any tips?

Quote from: LondonJohnny on February 02, 2012, 16:15:41
I have just make a clean install of 12.04 daily, and gmb does not run.
What version of gmb are you using exactly ?
I'm not sure about the first error, but I think it is this bug http://forum.gmusicbrowser.org/index.php?topic=490.0 which I fixed in november.
The second error (with -cfg /tmp/delme) was a bug with the mpris2 plugin that I fixed recently (https://bugs.launchpad.net/bugs/880435)
So try using a more recent version of gmb, incidentally I've just released v1.1.9 :)

I was running v1.1.8-1 from the software center.

I just download and installed the .deb of the new version, and it runs! Thank you very much!  ;D
I have been living with Rhythmbox for the last couple of hours, but it's a very poor substitute after having organized my collection with gmb.

I case you are interested, here's what the terminal prints with the new version:

rasmus@OptimusPrime:~$ gmusicbrowser
Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", at /usr/lib/perl5/Gtk2.pm line 138.
Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", at /usr/lib/perl5/Gtk2.pm line 138.
Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", at /usr/lib/perl5/Gtk2.pm line 138.
Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", at /usr/lib/perl5/Gtk2.pm line 138.
Error loading Net::DBus :
Attempt to reload gmusicbrowser_dbus.pm aborted.
Compilation failed in require at /usr/bin/gmusicbrowser line 337.
=> controlling gmusicbrowser through DBus won't be possible.

Name "GMB::DBus::bus" used only once: possible typo at /usr/bin/gmusicbrowser line 320.
Reading saved tags in /home/rasmus/.config/gmusicbrowser/gmbrc ...
Reading saved tags in /home/rasmus/.config/gmusicbrowser/gmbrc ... done
These commands were not found : flac123, ogg123
=> these file types won't be played by the 123 output : oga, flac

QuoteGtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", at /usr/lib/perl5/Gtk2.pm line 138.
that has nothing to do with gmb, it means you have a problem with your gtk theme, it seems it is using the engine "pixmap" but can't find it.

QuoteError loading Net::DBus :
Attempt to reload gmusicbrowser_dbus.pm aborted.
I need to improve the error reporting of gmb for this, it seems there was an error loading gmusicbrowser_dbus.pm, did you run gmb with the -nofifo option ? if so can you run it without, it should display a better error message

1) Nice to know.

2) No, I ran it without additional arguments (as shown in the first line of the drop  ;) ).

Hi Quentin,

I try to solve my problem but I don't succeed.

I upgrade all my version to 1.1.9.

All works when they are indepedant, with their own gmbrc, so it seems not to be a gmb problem.

Usually I replace ~/.config/gmusicbrowser with a symlink to a shared folder.

On Mint12 (based on Ubuntu 11.10) no problem.

On Ubuntu 11.10 (12.04 in fact) a segmentation error occurs (see above).

When I try with no symlink, but replacing gmbrc, same problem.

An idea ?

Hi, new attemps with 1.1.9 : on debian testing, gmb doesn't launcher with epic rating rating plugin and get_from_last_fm (something like that - Laite plugin to catch counter on lastfm or title correction and apply them).
Gmb only works when I delete plugin directory from .config/gmusicbrowser

I think this explain why gmb doesn't work on my ubuntu distribution when I share .config/gmusicbrowser

Can you try to determine which plugin exactly is causing problems ?
You can disable/enable a plugin from the command line with -plugin plugin_id (to disable) or +plugin plugin_id (to enable), you can get the plugin_id with the option -listplugin

I haven't got any plugins (except 'official') so I don't need line command.

I launch gmb without any plugin : no problem

I put lastfm_pcget.pm, alone, in ~/.config/gmusicbrowser/plugins and launch gmb through terminal : it doesn't work and i get this :
Reading saved tags in /home/minorgrubert/.config/gmusicbrowser/gmbrc ...
Reading saved tags in /home/minorgrubert/.config/gmusicbrowser/gmbrc ... done
Erreur de segmentation


I put epicrating.pm, alone, in ~/.config/gmusicbrowser/plugins and launch gmb through terminal : it doesn't work and i get this :
print() on closed filehandle $fifofh at /usr/bin/gmusicbrowser line 313.
Reading saved tags in /home/minorgrubert/.config/gmusicbrowser/gmbrc ...
Useless use of private variable in void context at /home/minorgrubert/.config/gmusicbrowser/plugins/epicrating.pm line 237.
Reading saved tags in /home/minorgrubert/.config/gmusicbrowser/gmbrc ... done
Usage: Gtk2::Widget::set_visible(widget, visible) at /usr/bin/../share/gmusicbrowser/gmusicbrowser_list.pm line 1773.


I put albuminfo.pm, alone, in ~/.config/gmusicbrowser/plugins and launch gmb through terminal : it works (but albuminfo.pm is too in /usr/share/gmusicbrowser/plugins so I guess its version in  ~/.config/gmusicbrowser/plugins isn't taken in consideration)

Quote from: mgrubert on March 02, 2012, 16:57:19
I put lastfm_pcget.pm, alone, in ~/.config/gmusicbrowser/plugins and launch gmb through terminal : it doesn't work and i get this :
Reading saved tags in /home/minorgrubert/.config/gmusicbrowser/gmbrc ...
Reading saved tags in /home/minorgrubert/.config/gmusicbrowser/gmbrc ... done
Erreur de segmentation


Hi, I'm the author of lastfm_pcGet. Unfortunately I can't reproduce this; I just now tried with clean install of Ubuntu 12.04 beta1, gmusicbrowser (1.1.9) from ubuntu repositories. Everything worked for me with lastfm_pcGet (and everything else, for that matter).

I've made some changes to plugin though, which weren't uploaded to git until now. Could you please try downloading plugin again (straight link: https://raw.github.com/laite/gmusicbrowser-plugins/master/lastfm_pcget/lastfm_pcget.pm) and perhaps you could try removing 'lastfm_corrections' and 'lastfm_corrections.banned' from ~/.config/gmusicbrowser (make a backup if you don't want to ban tracks once again).

It works !
Cool !
Thx a lot (I like your plugin).

Only epicrating fails now.