Just to finish this post, i have added all this discussion on our forum (just come back on the link jason gave you and go to the bottom of the post ;-))

Best Regards,

Bertrand GILLE

From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: JESS: RE: problem_using_jesstab_and_protege
Date: Thu, 2 Sep 2004 06:08:09 -0700 (PDT)

I think bertrand GILLE wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Wel... in fact... I've tried quite everything... deleting the rule, deleting
> the instance in protege, changing the names... changing quite everything...
> i can't see why it does not work as usual...
>
> Have a look :
> Jess> (defrule test_to_fix_this_pbm
> (object (:NAME ?nn)) => (printout t "YES or NO?" crlf))
> Jess reported an error in routine Jesp.parsePattern.
> Message: Bad slot value .
> Program text: ( defrule test_to_fix_this ( object ( at line 16.



Look at the "Program text" line: the last token to be processed is the "(" that *opens* the ":NAME" slot; i.e., the error occurs *before* Jess has even looked at the name of the slot. In fact, it's the "(" character itself that is an error -- in other words, Jess doesn't think that the "object" template should have any slots at all: Jess believes "object" is an ordered template.

This could happen if you've used the "object" template accidentally
someplace before defining it explicitly, or if you've got multiple
modules in place and accidentally defined "object" in a different
module than you intended.

The error message could be clearer, I agree (and in fact, in Jess 7
the message tells you specifically what the problem is.)



---------------------------------------------------------
Ernest Friedman-Hill
Advanced Software Research          Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550         http://herzberg.ca.sandia.gov

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------


_________________________________________________________________
Recevez par e-mail des imotictnes pour MSN Messenger http://g.msn.fr/FR1001/2275?url=http://www.msn.fr/ilovemessenger/premium/Default.asp?Ath=f




--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------



Reply via email to