Author Topic: GMB 1.1.8 (shimmer PPA) refusing to start with existing profile.  (Read 5042 times)

helloindustries

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Hi all,

Earlier today, GMB began refusing to start with my existing config settings (.config/gmusicbrowser) - It starts just fine with a new profile.

Terminal outputs the following error:

Code: [Select]
$ gmusicbrowser
print() on closed filehandle $fifofh at /usr/bin/gmusicbrowser line 291.
GStreamer::Interfaces perl module not found -> visuals not available
Reading saved tags in /home/USER/.config/gmusicbrowser/gmbrc ...
Can't use an undefined value as an ARRAY reference at /usr/bin/gmusicbrowser line 611.

If anyone knows what i need to do to rescue my profile (and the almost 1000 faved tracks etc) i'd really appreciate it.

Running:
Linux mint 11 x86 pae
shimmer ppa
GMB v1.1.8
« Last Edit: November 13, 2011, 01:56:49 by helloindustries »

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: GMB 1.1.8 (shimmer PPA) refusing to start with existing profile.
« Reply #1 on: November 13, 2011, 02:02:09 »
Sorry about that, someone emailed me about this error too, I guess it's a recent change, it will soon be fixed.
I'm searching for what it could be, but if you could run it with the options -backtrace, the output would help me finding it faster.

helloindustries

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: GMB 1.1.8 (shimmer PPA) refusing to start with existing profile.
« Reply #2 on: November 13, 2011, 02:25:05 »
Well, at least i know it's not something i've done.
That's a start :)

As requested, the terminal output with the option of -backtrace:

Code: [Select]
gmusicbrowser -backtrace
print() on closed filehandle $fifofh at /usr/bin/gmusicbrowser line 291.
 at /usr/bin/gmusicbrowser line 291
main::BEGIN() called at /usr/bin/gmusicbrowser line 317
eval {...} called at /usr/bin/gmusicbrowser line 317
GStreamer::Interfaces perl module not found -> visuals not available
 at /usr/bin/../share/gmusicbrowser/gmusicbrowser_gstreamer-0.10.pm line 74
Play_GST::BEGIN() called at /usr/bin/../share/gmusicbrowser/gmusicbrowser_gstreamer-0.10.pm line 80
eval {...} called at /usr/bin/../share/gmusicbrowser/gmusicbrowser_gstreamer-0.10.pm line 80
require gmusicbrowser_gstreamer-0.10.pm called at /usr/bin/gmusicbrowser line 1246
eval {...} called at /usr/bin/gmusicbrowser line 1246
Reading saved tags in /home/USERNAME/.config/gmusicbrowser/gmbrc ...
 at /usr/bin/gmusicbrowser line 1871
main::ReadSavedTags() called at /usr/bin/gmusicbrowser line 1251
Can't use an undefined value as an ARRAY reference at /usr/bin/gmusicbrowser line 611.
 at /usr/bin/gmusicbrowser line 611
main::OneInCommon('ARRAY(0xb260d18)', undef) called at /usr/bin/gmusicbrowser line 4845
main::SongsChanged('ARRAY(0xb260d18)', 'ARRAY(0xc07d4f8)') called at (eval 62) line 172
Songs::__ANON__('ARRAY(0xc07d2e8)', 'HASH(0x98436e8)') called at /usr/bin/../share/gmusicbrowser/gmusicbrowser_songs.pm line 1610
Songs::Set('ARRAY(0xc07d2e8)', 'missing', 2873) called at /usr/bin/../share/gmusicbrowser/gmusicbrowser_songs.pm line 1722
Songs::AddMissing('ARRAY(0xc07d2e8)') called at /usr/bin/gmusicbrowser line 1940
main::ReadSavedTags() called at /usr/bin/gmusicbrowser line 1251

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: GMB 1.1.8 (shimmer PPA) refusing to start with existing profile.
« Reply #3 on: November 13, 2011, 02:48:45 »
thanks, I've pushed a quick fix in git : http://git.gmusicbrowser.org/commit/10fe09e0ea

helloindustries

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: GMB 1.1.8 (shimmer PPA) refusing to start with existing profile.
« Reply #4 on: November 13, 2011, 03:03:25 »
That was fast :)

I have no idea what to do with that, so i'll just wait for the update.

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: GMB 1.1.8 (shimmer PPA) refusing to start with existing profile.
« Reply #5 on: November 13, 2011, 03:08:17 »
While waiting for an update you can simply remove this line in  /usr/bin/gmusicbrowser  (should be line 1940 in your version) :
Code: [Select]
Songs::AddMissing( Songs::AllFilter('missing:-e:0') );It will only prevent songs that were recently removed to recover their non-tag properties if you add them back

helloindustries

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: GMB 1.1.8 (shimmer PPA) refusing to start with existing profile.
« Reply #6 on: November 13, 2011, 03:43:22 »
While waiting for an update you can simply remove this line in  /usr/bin/gmusicbrowser  (should be line 1940 in your version) :
Code: [Select]
Songs::AddMissing( Songs::AllFilter('missing:-e:0') );It will only prevent songs that were recently removed to recover their non-tag properties if you add them back

Awesome! That fixed it :D
Again; This is one of the main reasons i love GMB: Great support from the developer.

Thanks so much, Quentin.

ochosi

  • Full Member
  • ***
  • Posts: 187
    • View Profile
Re: GMB 1.1.8 (shimmer PPA) refusing to start with existing profile.
« Reply #7 on: November 13, 2011, 04:19:25 »
thanks to both of you for catching and fixing the bug. i'm already uploading updated packages to the ppa, so you should get your fix very soon.

VastOne

  • Full Member
  • ***
  • Posts: 200
    • View Profile
Re: GMB 1.1.8 (shimmer PPA) refusing to start with existing profile.
« Reply #8 on: November 13, 2011, 05:19:43 »
Just wanted to say great job by all on this and to echo what helloindustries said

Quote
This is one of the main reasons i love GMB: Great support from the developer