April 11, 2010, 11:26:32 Last Edit: September 09, 2010, 21:19:44 by jjgomera
Hi

I have a problem with gmusicbrowser, yesterday work great, but today dont load, neither, 1.0.2 or development 1.1.4.
If i start from a console:

Quotejjgomera@ordenata:~$ gmusicbrowser
Use of uninitialized value $x in scalar assignment at /usr/share/perl/5.10/utf8_heavy.pl line 242.
Use of uninitialized value $x in pattern match (m//) at /usr/share/perl/5.10/utf8_heavy.pl line 243.
Use of uninitialized value $s in substitution (s///) at /usr/bin/gmusicbrowser line 93.
Use of uninitialized value $s in substitution (s///) at /usr/bin/gmusicbrowser line 93.
Use of uninitialized value $x in scalar assignment at /usr/share/perl/5.10/utf8_heavy.pl line 242.
Use of uninitialized value $x in pattern match (m//) at /usr/share/perl/5.10/utf8_heavy.pl line 243.
Error loading Net::DBus :
Constant name 'PCDATA' has invalid characters at /usr/share/perl5/XML/Twig.pm line 36
BEGIN failed--compilation aborted at /usr/share/perl5/XML/Twig.pm line 36.
Compilation failed in require at /usr/lib/perl5/Net/DBus/Binding/Introspector.pm line 57.
BEGIN failed--compilation aborted at /usr/lib/perl5/Net/DBus/Binding/Introspector.pm line 57.
Compilation failed in require at /usr/lib/perl5/Net/DBus/Exporter.pm line 245.
BEGIN failed--compilation aborted at /usr/lib/perl5/Net/DBus/Exporter.pm line 245.
Compilation failed in require at /usr/lib/perl5/Net/DBus/Object.pm line 129.
BEGIN failed--compilation aborted at /usr/lib/perl5/Net/DBus/Object.pm line 129.
Compilation failed in require at (eval 19) line 3.
   ...propagated at /usr/share/perl/5.10/base.pm line 92.
BEGIN failed--compilation aborted at /usr/bin/../share/gmusicbrowser/gmusicbrowser_dbus.pm line 13.
Compilation failed in require at /usr/bin/gmusicbrowser line 261.
=> controling gmusicbrowser through DBus won't be possible.

GStreamer::Interfaces perl module not found -> visuals not available
mpg321 not found => mp3 files won't be played through the 123 output.
flac123 or ogg123 not found => flac files won't be played through the 123 output.
ogg123 not found => ogg files won't be played through the 123 output.
Use of uninitialized value $x in scalar assignment at /usr/share/perl/5.10/utf8_heavy.pl line 242, <$fh> line 1.
Use of uninitialized value $x in pattern match (m//) at /usr/share/perl/5.10/utf8_heavy.pl line 243, <$fh> line 1.
Can't use an undefined value as a HASH reference at /usr/bin/../share/gmusicbrowser/gmusicbrowser_player.pm line 570, <$fh> line 23.
jjgomera@ordenata:~$

It's like perl dont found Net::Dbus module,but it's installed

Quotejjgomera@ordenata:~$ perl -mNet::DBus
Use of uninitialized value $x in scalar assignment at /usr/share/perl/5.10/utf8_heavy.pl line 242.
Use of uninitialized value $x in pattern match (m//) at /usr/share/perl/5.10/utf8_heavy.pl line 243.
Use of uninitialized value $x in scalar assignment at /usr/share/perl/5.10/utf8_heavy.pl line 242.
Use of uninitialized value $x in pattern match (m//) at /usr/share/perl/5.10/utf8_heavy.pl line 243.
Constant name 'PCDATA' has invalid characters at /usr/share/perl5/XML/Twig.pm line 36
BEGIN failed--compilation aborted at /usr/share/perl5/XML/Twig.pm line 36.
Compilation failed in require at /usr/lib/perl5/Net/DBus/Binding/Introspector.pm line 57.
BEGIN failed--compilation aborted at /usr/lib/perl5/Net/DBus/Binding/Introspector.pm line 57.
Compilation failed in require at /usr/lib/perl5/Net/DBus/RemoteObject.pm line 58.
BEGIN failed--compilation aborted at /usr/lib/perl5/Net/DBus/RemoteObject.pm line 58.
Compilation failed in require at /usr/lib/perl5/Net/DBus/RemoteService.pm line 55.
BEGIN failed--compilation aborted at /usr/lib/perl5/Net/DBus/RemoteService.pm line 55.
Compilation failed in require at /usr/lib/perl5/Net/DBus.pm line 97.
BEGIN failed--compilation aborted at /usr/lib/perl5/Net/DBus.pm line 97.
Compilation failed in require.
BEGIN failed--compilation aborted.
jjgomera@ordenata:~$

I've tried to reinstall gmusicbrowser, perl, libnet-dbus-perl, restart dbus daemon, remove gmusicbrowser config file in home directory, but gmusicbrowser don't load.

I use debian 5 and the gmusicbroser it's install from your repos

Help, please

The DBus module is optional anyway, what prevents gmb from running is this error :
Can't use an undefined value as a HASH reference at /usr/bin/../share/gmusicbrowser/gmusicbrowser_player.pm line 570, <$fh> line 23.
but I don't see how this could happen  ???
can you post the error message you get when you run v1.1.4 ?

Quotejjgomera@ordenata:~/compilaciones/gmusicbrowser-1.1.4$ ./gmusicbrowser.pl
Use of uninitialized value $x in scalar assignment at /usr/share/perl/5.10/utf8_heavy.pl line 242.
Use of uninitialized value $x in pattern match (m//) at /usr/share/perl/5.10/utf8_heavy.pl line 243.
Use of uninitialized value $s in substitution (s///) at ./gmusicbrowser.pl line 85.
Use of uninitialized value $s in substitution (s///) at ./gmusicbrowser.pl line 85.
Use of uninitialized value $x in scalar assignment at /usr/share/perl/5.10/utf8_heavy.pl line 242.
Use of uninitialized value $x in pattern match (m//) at /usr/share/perl/5.10/utf8_heavy.pl line 243.
Error loading Net::DBus :
Constant name 'PCDATA' has invalid characters at /usr/share/perl5/XML/Twig.pm line 36
BEGIN failed--compilation aborted at /usr/share/perl5/XML/Twig.pm line 36.
Compilation failed in require at /usr/lib/perl5/Net/DBus/Binding/Introspector.pm line 57.
BEGIN failed--compilation aborted at /usr/lib/perl5/Net/DBus/Binding/Introspector.pm line 57.
Compilation failed in require at /usr/lib/perl5/Net/DBus/Exporter.pm line 245.
BEGIN failed--compilation aborted at /usr/lib/perl5/Net/DBus/Exporter.pm line 245.
Compilation failed in require at /usr/lib/perl5/Net/DBus/Object.pm line 129.
BEGIN failed--compilation aborted at /usr/lib/perl5/Net/DBus/Object.pm line 129.
Compilation failed in require at (eval 26) line 3.
   ...propagated at /usr/share/perl/5.10/base.pm line 92.
BEGIN failed--compilation aborted at /home/jjgomera/compilaciones/gmusicbrowser-1.1.4/gmusicbrowser_dbus.pm line 13.
Compilation failed in require at ./gmusicbrowser.pl line 264.
=> controling gmusicbrowser through DBus won't be possible.

GStreamer::Interfaces perl module not found -> visuals not available
Use of uninitialized value $x in scalar assignment at /usr/share/perl/5.10/utf8_heavy.pl line 242.
Use of uninitialized value $x in pattern match (m//) at /usr/share/perl/5.10/utf8_heavy.pl line 243.
Use of uninitialized value $line in pattern match (m//) at ./gmusicbrowser.pl line 1771.
Use of uninitialized value $line in pattern match (m//) at ./gmusicbrowser.pl line 1771.
asked to lazy-load GMB::Plugin::FETCHCOVER, but that package is not registered at /usr/lib/perl5/Glib.pm line 197.
@Fields=album_shuffle replaygain_album_gain skipcount file grouping compilation replaygain_track_peak modif lastskip genre label title replaygain_album_peak album_artist samprate filetype bitrate missing added channel title_or_file size rating album_artist_raw lastplay shuffle playcount replaygain_track_gain extension track version path length artist album comment disc year barefilename fullfilename_raw artists first_artist album_picture album_years version_or_empty uri artist_picture rating_picture missingkey fullfilename at /home/jjgomera/compilaciones/gmusicbrowser-1.1.4/gmusicbrowser_songs.pm line 938.
** Compilation error in init
Code:-------
;
$Songs::Songs_replaygain_album_gain__=" "x8;;
$Songs::Songs_skipcount__="";;
;
$Songs::Songs_grouping__=""; $Songs::Songs_grouping_gid{""}=1; $Songs::Songs_grouping_name[1]=$Songs::Songs_grouping_iname[1]="";;
$Songs::Songs_compilation__="";;
$Songs::Songs_replaygain_track_peak__=" "x8;;
$Songs::Songs_modif__="";;
$Songs::Songs_lastskip__="";;
__genre_name[0]="Sin\ género"; __genre_iname[0]=::superlc(__genre_name[0]); #sgid_to_gid(VAL=$_)# for ();
__label_name[0]="Sin\ etiqueta"; __label_iname[0]=::superlc(__label_name[0]); #sgid_to_gid(VAL=$_)# for @{$::Options{Labels}};
;
$Songs::Songs_replaygain_album_peak__=" "x8;;
$Songs::Songs_album_artist__=""; $Songs::Songs_artist_gid{""}=1; $Songs::Songs_artist_iname[1]=::superlc( $Songs::Songs_artist_name[1]=_("<Unknown>") );;
$Songs::Songs_samprate__=""; $Songs::Songs_samprate_value[0]=undef;;
$Songs::Songs_filetype__=""; $Songs::Songs_filetype_gid{""}=1; $Songs::Songs_filetype_name[1]=$Songs::Songs_filetype_iname[1]="";;
$Songs::Songs_bitrate__="";;
$Songs::Songs_missing__="";;
$Songs::Songs_added__="";;
$Songs::Songs_channel__="";;
;
$Songs::Songs_size__="";;
$Songs::Songs_rating__ = $Songs::Songs_rating_default_ = "";;
$Songs::Songs_album_artist_raw__=""; $Songs::Songs_artist_gid{""}=1; $Songs::Songs_artist_iname[1]=::superlc( $Songs::Songs_artist_name[1]=_("<Unknown>") );;
$Songs::Songs_lastplay__="";;
;
$Songs::Songs_playcount__="";;
$Songs::Songs_replaygain_track_gain__=" "x8;;
;
$Songs::Songs_track__="";;
;
;
$Songs::Songs_length__="";;
$Songs::Songs_artist__=""; $Songs::Songs_artist_gid{""}=1; $Songs::Songs_artist_iname[1]=::superlc( $Songs::Songs_artist_name[1]=_("<Unknown>") );;
$Songs::Songs_album__=""; $Songs::Songs_album_gid{"\x00"}=1; $Songs::Songs_album_empty=""; vec($Songs::Songs_album_empty,1,1)=1; $Songs::Songs_album_iname[1]=::superlc( $Songs::Songs_album_name[1]=_("<Unknown>") );;
;
$Songs::Songs_disc__="";;
$Songs::Songs_year__="";;
;
;
;
;;
@Songs::Songs_album_picture=(); push @AAPicture::ArraysOfFiles, \@Songs::Songs_album_picture;;
;
;
;
@Songs::Songs_artist_picture=(); push @AAPicture::ArraysOfFiles, \@Songs::Songs_artist_picture;;
;
;
;

*Error:-------
syntax error at (eval 40) line 10, near "__genre_name["
**
These commands were not found : mpg123, ogg123, mpg321, flac123
=> these file types won't be played by the 123 output : mp3, oga, flac
Songs::SortList(SongArray=ARRAY(0x9621db8) shuffle)
sort (shuffle) : 0 s
asked to lazy-load GMB::Plugin::FETCHCOVER, but that package is not registered at /usr/lib/perl5/Glib.pm line 197.
layout empty
Can't call method "show_all" on an undefined value at /home/jjgomera/compilaciones/gmusicbrowser-1.1.4/gmusicbrowser_layout.pm line 1561.
jjgomera@ordenata:~/compilaciones/gmusicbrowser-1.1.4$

These are strange error messages...
Did you upgrade anything recently ?
Did you try rebooting ? (memory corruption can cause very strange errors)

Hi, really i dont know what else doing to solve this problem.

I reinstall all dependences, i run fsck over all partition, and the error go on

Really I miss gmusicbrowser, with mpd i can manage my collection, but i can't edit tags so easy than with gmusicbrowser, i wait for the debian squeeze freeze to upgrade the whole system to solve the problem

Some errors I can't explain, but some could be caused by a strange layout file. Have you tried without any layout file in ~/.config/gmusicbrowser/layouts/ ?

i rename the ~/.config/gmusicbrowser directory, that was my first idea but didnt work

I thought you did, but just wanted to be sure.
You can test it with the latest git (click on the latest snapshot on this page : http://gmusicbrowser.git.sourceforge.net/git/gitweb.cgi?p=gmusicbrowser/gmusicbrowser;a=summary), I added some sanity checks to make sure the layout errors you get can't happen, but I doubt it will fix your problem.

I've tested v1.0.2 with a debian 5 live cd under VirtualBox and it worked fine.

One last idea is changing the language to english, just in case.

Quote from: Quentin Sculo on May 13, 2010, 18:09:54
One last idea is changing the language to english, just in case.
I tried that but no solutions.

Finally I update to debian testing and gmusicbrowser work again, maybe a library corrupt or something similar, never mind, gmusicbrowser is my music-all again

Thanks