Using Glade with Perl under Ubuntu

Rosalind Mitchell rcmitchell at gmail.com
Sat Aug 26 12:30:53 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I know this isn't directly relevant, and I have also asked on the
Glade-users forum, but I'm asking on the off-chance that this may be an
Ubuntu-related issue.

I am running Glade 2.12.1 under Dapper to generate data entry forms for
use with Perl applications.  I can easily get Glade to generate
appropriate code in C, but I have a problem when I try to convert this
code to Perl using the glade2perl utility

Eg, when I run % glade2perl project3.glade 2. the process encounters an
error and generates the following diagnostic in the log file:

- --------------------------------------------------------
      DIAGNOSTICS - Fri Aug 25 18:52:30 BST 2006 (locale <en_GB.UTF-8>
verbosity 2) started by Glade::PerlGenerate (version 0.61)
    - Gtk-Perl reported version 0.7009 (CVS 20010629)
Can't access method `app' in class Glade::PerlGenerate
We were called from Glade::PerlProject,
/usr/share/perl5/Glade/PerlProject.pm, 434

 at /usr/share/perl5/Glade/PerlRun.pm line 344
	Glade::PerlRun::AUTOLOAD('Glade::PerlGenerate=HASH(0x8762440)') called
at /usr/share/perl5/Glade/PerlProject.pm line 434
	Glade::PerlProject::use_Glade_Project('Glade::PerlGenerate=HASH(0x86c8138)',
'HASH(0x83ef6ac)') called at /usr/share/perl5/Glade/PerlGenerate.pm line 242
	Glade::PerlGenerate::Glade_Proto_from_File('Glade::PerlGenerate')
called at /usr/share/perl5/Glade/PerlGenerate.pm line 209
	Glade::PerlGenerate::Form_from_Glade_File('Glade::PerlGenerate',
'verbose', 2, 'log_file', 'project3.glade2perl.log', 'write_source',
'True', 'dont_show_UI', 'True', ...) called at /usr/bin/glade2perl line 82

Can anybody throw some light on this?

Rosie

- --
Currently reading: FFORDE, JASPER: Lost In A Good Book
The Book of Enitharmon: : <http://swanofkennet.livejournal.com>
PGP Public Key ID - B02AC5EC: If it ain't digitally signed it ain't from me!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE8D79efQOfbAqxewRAgV9AJ9BJOrMCZBVUOfBi+tXQupFSy+qyQCcCnRj
5n0vTa1snVKXgOVQvgEjmZs=
=ZZjr
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list