Author Topic: Gmb doesn"t work on Oneiric/Precise at home  (Read 7532 times)

mgrubert

  • Sr. Member
  • ****
  • Posts: 369
    • View Profile
Gmb doesn"t work on Oneiric/Precise at home
« on: January 26, 2012, 10:18:51 »
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 ?



Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: Gmb doesn"t work on Oneiric/Precise at home
« Reply #1 on: January 27, 2012, 03:21:04 »
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

mgrubert

  • Sr. Member
  • ****
  • Posts: 369
    • View Profile
Re: Gmb doesn"t work on Oneiric/Precise at home
« Reply #2 on: January 28, 2012, 19:26:53 »
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"
« Last Edit: January 28, 2012, 19:33:18 by mgrubert »

LondonJohnny

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Gmb doesn"t work on Oneiric/Precise at home
« Reply #3 on: February 02, 2012, 21:15:41 »
I have just make a clean install of 12.04 daily, and gmb does not run.

I get the following errors:

[email protected]:~$ 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.

---------

[email protected]:~$ 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.
[email protected]:~$ sudo apt-get purge gmusicbrowser


Any tips?

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: Gmb doesn"t work on Oneiric/Precise at home
« Reply #4 on: February 02, 2012, 23:40:49 »
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 :)

LondonJohnny

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Gmb doesn"t work on Oneiric/Precise at home
« Reply #5 on: February 03, 2012, 01:13:09 »
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:

[email protected]:~$ 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

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: Gmb doesn"t work on Oneiric/Precise at home
« Reply #6 on: February 03, 2012, 03:49:28 »
Quote
Gtk-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.

Quote
Error 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

LondonJohnny

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Gmb doesn"t work on Oneiric/Precise at home
« Reply #7 on: February 03, 2012, 13:22:24 »
1) Nice to know.

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

mgrubert

  • Sr. Member
  • ****
  • Posts: 369
    • View Profile
Re: Gmb doesn"t work on Oneiric/Precise at home
« Reply #8 on: February 06, 2012, 20:49:40 »
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 ?

mgrubert

  • Sr. Member
  • ****
  • Posts: 369
    • View Profile
Re: Gmb doesn"t work on Oneiric/Precise at home
« Reply #9 on: March 01, 2012, 22:47:56 »
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

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: Gmb doesn"t work on Oneiric/Precise at home
« Reply #10 on: March 02, 2012, 21:09:14 »
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

mgrubert

  • Sr. Member
  • ****
  • Posts: 369
    • View Profile
Re : Gmb doesn"t work on Oneiric/Precise at home
« Reply #11 on: March 02, 2012, 21:57:19 »
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 :
Code: [Select]
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 :
Code: [Select]
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)

laite

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Gmusicbrowser-plugins by laite
Re: Re : Gmb doesn"t work on Oneiric/Precise at home
« Reply #12 on: March 04, 2012, 11:53:52 »
I put lastfm_pcget.pm, alone, in ~/.config/gmusicbrowser/plugins and launch gmb through terminal : it doesn't work and i get this :
Code: [Select]
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).

mgrubert

  • Sr. Member
  • ****
  • Posts: 369
    • View Profile
Re : Gmb doesn"t work on Oneiric/Precise at home
« Reply #13 on: March 04, 2012, 17:38:02 »
It works !
Cool !
Thx a lot (I like your plugin).

Only epicrating fails now.

laite

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Gmusicbrowser-plugins by laite
Re: Re : Gmb doesn"t work on Oneiric/Precise at home
« Reply #14 on: March 04, 2012, 19:03:47 »
It works !
Cool !
Thx a lot (I like your plugin).

Nice to hear, and thanks :)