[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


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 , I go this error when query with a MRML mentioned below,
Loading new perl source code/home/pruet/public_html/ Too many arguments for defined operator at /usr/local//bin/ line 307, near "$lValue)" Compilation failed in require at /home/pruet/public_html/ line 34. BEGIN failed--compilation aborted at /home/pruet/public_html/ line 34.

So I check and make a little hack at line 305, like this.

<   }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/ line 50.

It means that the caller function didn't pass any argument into the functions inherit from CGIFTLink class, which are defined in .

Will try to find the cause of error, just wanna show you what is the problem here.


Wolfgang Mueller wrote:

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"

></algorithm></configure-session><query-step  session-id="1"

result-size="30" algorithm-id="a-perl"

The server die with the message I post in the last email.

Hence, I will try to track down the problem, thanks anyway :-)


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.


Pruet Boonma
Department of Computer Engineering, Chiang Mai University

"Think twice before attaching M$-word, M$-excel, M$-powerpoint"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]