Dear Colleagues, I have just subscribed to the list. I'm a beginner in programming perl-gimp. I posted a help message to Dov Grobgeld a few minutes ago, but for sure I send my question to the list as well. If somebody can, please help me! Yours sincerely, Zoltan Kovacs assistant teacher at Bolyai Institute kovzol@xxxxxxxxxxxxxxxx http://www.math.u-szeged.hu/~kovzol ---------- Forwarded message ---------- Date: Mon, 12 Apr 2004 17:47:05 +0200 (CEST) From: kovzol <kovzol@xxxxxxxxxxxxxxxx> To: dov@xxxxxxxxxxxxxxxxxxxxx Subject: perlgimp question Dear Mr Grobgeld, I read your article on the net about Perl-Gimp. Finally I found something detailed information which describes Perl-Gimp! Thank you for this wonderful howto! I also wrote a script in Perl. In fact, I modified and used many sources and this script is the result of learning Perl and Perl-Gimp from scratch within about 8 hours... :-) It works fundamentally OK, however I still have a problem: If I don't have a graphical shell running on the working machine (e.g. I have to use terminal login or CGI execution) I get the following message: $ ./oval-buttons.pl -font_size_pixels 11 -text_string Hello oval-buttons.pl: protocol error (1) at /usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi/Gimp/Net.pm line 66. (ERROR) protocol error (1) at /usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi/Gimp/Net.pm line 66. I attach my script to you. You can also use it for any purpose, if you like it. I'm using SuSE 9.0 which works with gimp-perl-1.21. If you can, please give me some advice, how to continue. Any help is greatly appreciated. I read that you still work with Perl-Gimp and probably know some tips and tricks as you mention a few words about "Using Perl::Gimp in a CGI environment". Thank you in advance! Best regards, Kova'cs Zolta'n assistant teacher at Bolyai Institute kovzol@xxxxxxxxxxxxxxxx http://www.math.u-szeged.hu/~kovzol
Attachment:
oval-buttons.pl
Description: Perl program