LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-09-2004, 09:48 AM   #1
pelatrix
LQ Newbie
 
Registered: Dec 2004
Location: Rosario
Distribution: Debian (sucks)
Posts: 2

Rep: Reputation: 0
Question perl2glade - Can't access method `app'


I'm new to glade-perl... (and english writing, so please, try to undesrstand)

When I'm trying to generate de Perl source code from Glade, I get the following message:

"Error running glade2perl to generate the Perl source code.
Check that you have glade2perl installed and that it is in your PATH.
Then try running 'glade2perl <project_file.glade>' in a terminal."

The thing is that i really have perl2glade installed and running, so I try this in the shell:

$ glade2perl myproject.glade 2

In the myproject.glade2perl.log generated by galde2perl, I get:
--------------------------------------------------------------------------------------------------------
DIAGNOSTICS - Thu Dec 9 09:51:01 CET 2004 (locale <C> verbosity 10) started by Glade::PerlGenerate (version 0.61)
- Using default output files in Glade <project><source_directory> in Glade::PerlSource::Write_to_File
- 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

Glade::PerlRun::AUTOLOAD('Glade::PerlGenerate=HASH(0x875e480)') called at /usr/share/perl5/Glade/PerlProject.pm line 434
Glade::PerlProject::use_Glade_Project('Glade::PerlGenerate=HASH(0x87128bc)', 'HASH(0x874d144)') 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', 10, 'log_file', 'p01_glade_perl.glade2perl.log', 'write_source', 'True', 'dont_show_UI', 'True', ...) called at /usr/bin/glade2perl line 82
----------------------------------------------------------------------------------------------------------

And versions are...
perl2glade is 0.61
glade 2.6.5
gtk 2.13.x

Thanks.
 
Old 12-31-2005, 09:21 AM   #2
NewToUbuntu
LQ Newbie
 
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
this tutorial might help you. you don't need to convert glade's xml to perl anymore - you can just load it from your perl programm.

linux-magazin.de/Artikel/ausgabe/2004/11/perl/perl.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Method Not Allowed: The requested method POST is not allowed for the URL /writedhcp.p WiWa Linux - Networking 15 01-06-2011 01:20 PM
app launched at boot not prevents access to login screen wvmikep Linux - Newbie 5 07-03-2004 07:41 AM
requiring root password for app access? mysticpain Linux - Software 3 06-08-2004 08:19 PM
Remote App and Desktop Access Chazz_CA Linux - Software 3 03-12-2004 01:40 PM
Looking for App to allow internet access to VB software oudent Linux - Software 0 04-10-2003 06:30 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration