[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-GIFT] libGIFTAcPerl
From: |
Pruet Boonma |
Subject: |
Re: [help-GIFT] libGIFTAcPerl |
Date: |
Tue, 03 Dec 2002 11:31:44 +0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 |
Hi,
Ok, I believe that I got the real(?) problem here. My system is gcc
3.0.4/2.95.4, perl5.6.1 and gift 0.1.9
When I try to use CGIFTLinkDemo.pl , I go this error when query with a
MRML mentioned below,
...
Loading new perl source
code/home/pruet/public_html/gift-embed-perl-modules.pl
Too many arguments for defined operator at /usr/local//bin/CGIFTLink.pm
line 307, near "$lValue)"
Compilation failed in require at
/home/pruet/public_html/gift-embed-perl-modules.pl line 34.
BEGIN failed--compilation aborted at
/home/pruet/public_html/gift-embed-perl-modules.pl line 34.
..
So I check CGIFTLink.pm and make a little hack at line 305, like this.
305c305,307
< }while(defined($lInstruction) and defined($lName) and defined($lValue));
---
> }while(defined($lInstruction,
> $lName,
> $lValue));
Which I am not sure that I did the correct thing, anyway the error gone
but I found new error when query in the same way, the error is,
...
I am going to call the perl function CGIFTLink::setAlgorithm
Can't call method "setAlgorithm" on an undefined value at
/home/pruet/public_html/gift-embed-perl-modules.pl line 50.
...
It means that the caller function didn't pass any argument into the
functions inherit from CGIFTLink class, which are defined in
gift-embed-perl-modules.pl .
Will try to find the cause of error, just wanna show you what is the
problem here.
Cheers,
pruet
Wolfgang Mueller wrote:
Hi,
No, it doesn't work, when I query with this MRML message,
<mrml session-id="1"><configure-session session-id="1" ><algorithm
algorithm-id="a-perl" algorithm-type="a-perl"
collection-id="c-24-49-16-25-8-102-3-267-0"
></algorithm></configure-session><query-step session-id="1"
result-size="30" algorithm-id="a-perl"
collection="c-24-49-16-25-8-102-3-267-0"/></mrml>
The server die with the message I post in the last email.
Hence, I will try to track down the problem, thanks anyway :-)
pruet
Strange. I trust you to find that bug.
BTW the stuff you sent to the list are all more-or-less normal startup
messages for the GIFT AFAICS.
Cheers,
Wolfgang
--
Pruet Boonma
Department of Computer Engineering, Chiang Mai University
http://www.doc.eng.cmu.ac.th
"Think twice before attaching M$-word, M$-excel, M$-powerpoint"
http://www.gnu.org/philosophy/no-word-attachments.html
- Re: [help-GIFT] libGIFTAcPerl,
Pruet Boonma <=