Hi all.

Slight problem:
None of my previously functional filters and playlists work.
No idea why.

I ran a backtrace for those that know about this sort of thing.

$ gmusicbrowser -backtrace
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 1241
eval {...} called at /usr/bin/gmusicbrowser line 1241
Reading saved tags in /home/USERNAME/.config/gmusicbrowser/gmbrc ...
at /usr/bin/gmusicbrowser line 1866
main::ReadSavedTags() called at /usr/bin/gmusicbrowser line 1246
Reading saved tags in /home/USERNAME/.config/gmusicbrowser/gmbrc ... done
at /usr/bin/gmusicbrowser line 1955
main::ReadSavedTags() called at /usr/bin/gmusicbrowser line 1246
These commands were not found : mpg123, flac123, mpg321
at /usr/bin/../share/gmusicbrowser/gmusicbrowser_123.pm line 68
Play_123::init('Play_123') called at /usr/bin/gmusicbrowser line 1253
=> these file types won't be played by the 123 output : mp3
at /usr/bin/../share/gmusicbrowser/gmusicbrowser_123.pm line 69
Play_123::init('Play_123') called at /usr/bin/gmusicbrowser line 1253
Ignoring layout 'Playlist, Library & Context (custom 2)' because it is based on unknown layout 'Playlist, Library & Context'
at /usr/bin/../share/gmusicbrowser/gmusicbrowser_layout.pm line 793
Layout::ParseLayout('ARRAY(0xa43f098)', '/home/USERNAME/.config/gmusicbrowser/layouts/') called at /usr/bin/../share/gmusicbrowser/gmusicbrowser_layout.pm line 778
Layout::ReadLayoutFile('/home/USERNAME/.config/gmusicbrowser/layouts/Playlist, Library & ...') called at /usr/bin/../share/gmusicbrowser/gmusicbrowser_layout.pm line 741
Layout::InitLayouts() called at /usr/bin/gmusicbrowser line 1284
Use of uninitialized value $s in string eq at /usr/bin/../share/gmusicbrowser/gmusicbrowser_layout.pm line 4582.
at /usr/bin/../share/gmusicbrowser/gmusicbrowser_layout.pm line 4582
Skin::_resize('Gtk2::Gdk::Pixbuf=HASH(0x971b938)', '', 392, 24) called at /usr/bin/../share/gmusicbrowser/gmusicbrowser_layout.pm line 1917
Layout::Window::resize_skin_cb('Layout::Window=HASH(0xc9b46c8)', 'Gtk2::Gdk::Rectangle=SCALAR(0xc542120)') called at /usr/bin/../share/gmusicbrowser/gmusicbrowser_layout.pm line 1702
eval {...} called at /usr/bin/../share/gmusicbrowser/gmusicbrowser_layout.pm line 1702
Layout::Window::init('Layout::Window=HASH(0xc9b46c8)') called at /usr/bin/../share/gmusicbrowser/gmusicbrowser_layout.pm line 1669
Layout::Window::new('Layout::Window', 'D_Panel', 'w', 1, 'below', '', 'x', 83, 'y', ...) called at /usr/bin/../share/gmusicbrowser/plugins/desktopwidget.pm line 207
GMB::Plugin::DesktopWidgets::CreateWindow('DesktopWidget000') called at /usr/bin/../share/gmusicbrowser/plugins/desktopwidget.pm line 26
GMB::Plugin::DesktopWidgets::__ANON__() called at /usr/bin/gmusicbrowser line 1299
eval {...} called at /usr/bin/gmusicbrowser line 1299
Writing tags in /home/USERNAME/.config/gmusicbrowser/gmbrc ...
at /usr/bin/gmusicbrowser line 1981
main::SaveTags() called at /usr/bin/gmusicbrowser line 1444
main::Quit called at /usr/bin/../share/gmusicbrowser/gmusicbrowser_layout.pm line 2915
Layout::Button::clicked_cb('Layout::Button=HASH(0xb8e9340)') called at /usr/bin/gmusicbrowser line 1299
eval {...} called at /usr/bin/gmusicbrowser line 1299
Writing tags in /home/USERNAME/.config/gmusicbrowser/gmbrc ... done
at /usr/bin/gmusicbrowser line 2068
main::SaveTags() called at /usr/bin/gmusicbrowser line 1444
main::Quit called at /usr/bin/../share/gmusicbrowser/gmusicbrowser_layout.pm line 2915
Layout::Button::clicked_cb('Layout::Button=HASH(0xb8e9340)') called at /usr/bin/gmusicbrowser line 1299
eval {...} called at /usr/bin/gmusicbrowser line 1299


Can you show me the output with the option -debug (and no -backtrace, -debug is messy enough) ?
(btw a small explanation about -backtrace , it only shows a backtrace for each of the various warnings, if none of the existing warnings are relevant to the problem, -backtrace doesn't help)

Quote from: Quentin Sculo on November 13, 2011, 22:23:19
Can you show me the output with the option -debug (and no -backtrace, -debug is messy enough) ?
(btw a small explanation about -backtrace , it only shows a backtrace for each of the various warnings, if none of the existing warnings are relevant to the problem, -backtrace doesn't help)

As requested [external link as it's over 20,000 characters]
http://pastebin.com/zmw8F5Dd

I don't see error, but it seems all your filters include "added:<ago:1h" which means songs added less than 1 hour ago, is that normal ?

Quote from: Quentin Sculo on November 13, 2011, 22:40:59
I don't see error, but it seems all your filters include "added:<ago:1h" which means songs added less than 1 hour ago, is that normal ?

Interesting.
That's not normal, no. Only one of my filters has that condition, and none of them have been manually changed in quite some time.
It would seem that -somehow- filter conditions have changed without my input.

I'll have a go at sorting out the filters to see if that works.

Odd. Just went through my filters and all seems normal. No extra condition for a time limit.

Can you send me your gmbrc by email ?
My guess would be the filter is added automatically to the selected filter, something like the "lockfilter" widget, except in its case it is not saved, so shouldn't happen on startup.

Quentin, may be it's because you had change the gmbrc for the playlist ?
Remember the bug I mention because I was using 1.1.7 on one distro and 1.1.8 on another, using the same gmbrc.

Quote from: Quentin Sculo on November 13, 2011, 22:57:57
Can you send me your gmbrc by email ?
My guess would be the filter is added automatically to the selected filter, something like the "lockfilter" widget, except in its case it is not saved, so shouldn't happen on startup.

Sent

It took me a while before realizing it was due to a recent fix (http://git.gmusicbrowser.org/commit/ee5710d986) that I knew replaced a bug by an other, I thought it would be better, but maybe not.
Fixing the "playlist" mode  for SongList/SongTree is a bit tricky, I'm going to think about it for a bit, in the meantime you can simply remove the line "if ($self->{type} eq 'A') { $self->{array}->SetFilter($filter); return }"  in gmusicbrowser_list.pm

Quote from: Quentin Sculo on November 14, 2011, 15:19:37remove the line "if ($self->{type} eq 'A') { $self->{array}->SetFilter($filter); return }"  in gmusicbrowser_list.pm

This worked perfectly :) Thanks Quentin.

For anyone arriving here via a search or google; The file is located at: /usr/share/gmusicbrowser/gmusicbrowser_list.pm