[Glade-users] glade2perl problem



This message is in MIME format
--_=XFMail.1.4.4.Linux:20010226102402:13624=_
Content-Type: text/plain; charset=us-ascii

Hi,

my glade version is 0.5.9 in RedHat 7.0.

I have problems to generate perl code under certain circumstances:
When using a Button, removing the button's label, adding a pixmap
to the button, and then geneating perl code, the code generation
aborts with an error message (see below). The problem does not
arise if I use buttons with pixmaps inside of a toolbar (more exact: in such
buttons, the label cannot be removed).

The glade file has been attached.

----------------------------------------------------------------------

The contents of the glade error window:
=======================================

Errors writing source code

Error running glade2perl to generate the Perl source code.
Check that you have glade2perl installed and that it is in your PATH.

-----------------------------------------------------------------------

Error messages written to stderr:
=================================

     DIAGNOSTICS (locale <en> verbosity 2) started by Glade::PerlProject (version 0.57) at Mon Feb 2
6 10:20:14 CET 2001
    - Using default output files in Glade <project><source_directory> in Glade::PerlGenerate->Write_
to_File
    - Saving project options in file '/disk3/people/backes/test/test.glade2perl.xml'
    - Gtk-Perl reported version 0.7005 (CVS 20000901)
error Pixmap file 'pixmaps/xmotd.hide.xpm' does not exist in Glade::PerlGenerate->create_pixmap

in Glade::PerlGenerate->Widget_from_Proto
        while trying to eval '$widgets->{'pixmap1'} = Glade::PerlGenerate->new_GtkPixmap('window1', 
$proto, 2 );'
        FAILED with Eval error '
error Glade::PerlGenerate->new_GtkPixmap failed to create pixmap from file '"$Glade::PerlRun::pixmap
s_directory/xmotd.hide.xpm"'
        Glade::PerlUIGtk::new_GtkPixmap('Glade::PerlGenerate', 'window1', 'HASH(0x85daf94)', 2) call
ed at (eval 34) line 1
        eval '$widgets->{\'pixmap1\'} = Glade::PerlGenerate->new_GtkPixmap(\'window1\', $proto, 2 );
' called at /usr/lib/perl5/site_perl/5.6.0/Glade/PerlUI.pm line 451
        Glade::PerlUI::Widget_from_Proto('Glade::PerlGenerate', 'window1', 'HASH(0x85daf94)', 2, und
ef, undef) called at /usr/lib/perl5/site_perl/5.6.0/Glade/PerlUI.pm line 506
        Glade::PerlUI::Widget_from_Proto('Glade::PerlGenerate', undef, 'HASH(0x85df478)', 1, undef, 
undef) called at /usr/lib/perl5/site_perl/5.6.0/Glade/PerlUI.pm line 506
        Glade::PerlUI::Widget_from_Proto('Glade::PerlGenerate', undef, 'HASH(0x85df454)', 0, '$forms
->{\'test\'}{\'__HIERARCHY\'}') called at /usr/lib/perl5/site_perl/5.6.0/Glade/PerlGenerate.pm line 
177
        Glade::PerlGenerate::Form_from_Proto('Glade::PerlGenerate', 'Glade::PerlProject=HASH(0x85d7f
20)', 'HASH(0x85372c0)') called at /usr/lib/perl5/site_perl/5.6.0/Glade/PerlGenerate.pm line 92
        Glade::PerlGenerate::Form_from_Glade_File('Glade::PerlGenerate', 'glade_filename', '/disk3/p
eople/backes/test/test.glade') called at /usr/bin/glade2perl line 34
'
        Glade::PerlUI::Widget_from_Proto('Glade::PerlGenerate', 'window1', 'HASH(0x85daf94)', 2, und
ef, undef) called at /usr/lib/perl5/site_perl/5.6.0/Glade/PerlUI.pm line 506
        Glade::PerlUI::Widget_from_Proto('Glade::PerlGenerate', undef, 'HASH(0x85df478)', 1, undef, 
undef) called at /usr/lib/perl5/site_perl/5.6.0/Glade/PerlUI.pm line 506
        Glade::PerlUI::Widget_from_Proto('Glade::PerlGenerate', undef, 'HASH(0x85df454)', 0, '$forms
->{\'test\'}{\'__HIERARCHY\'}') called at /usr/lib/perl5/site_perl/5.6.0/Glade/PerlGenerate.pm line 
177
        Glade::PerlGenerate::Form_from_Proto('Glade::PerlGenerate', 'Glade::PerlProject=HASH(0x85d7f
20)', 'HASH(0x85372c0)') called at /usr/lib/perl5/site_perl/5.6.0/Glade/PerlGenerate.pm line 92
        Glade::PerlGenerate::Form_from_Glade_File('Glade::PerlGenerate', 'glade_filename', '/disk3/p
eople/backes/test/test.glade') called at /usr/bin/glade2perl line 34



--_=XFMail.1.4.4.Linux:20010226102402:13624=_
Content-Disposition: attachment; filename="test.glade"
Content-Transfer-Encoding: base64
Content-Description: test.glade
Content-Type: application/octet-stream; name=test.glade; SizeO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8eHBhZD4wPC94cGFkPgog
ICAgPHlwYWQ+MDwveXBhZD4KICAgIDxidWlsZF9pbnNlbnNpdGl2ZT5UcnVlPC9idWlsZF9pbnNl
bnNpdGl2ZT4KICA8L3dpZGdldD4KPC93aWRnZXQ+Cgo8L0dUSy1JbnRlcmZhY2U+Cg==

--_=XFMail.1.4.4.Linux:20010226102402:13624=_--
End of MIME message





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]