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. at jess.Jesp.a(Unknown Source) at jess.Jesp.a(Unknown Source) at jess.Jesp.if(Unknown Source) at jess.Jesp.do(Unknown Source) at jess.Jesp.int(Unknown Source) at jess.Jesp.for(Unknown Source) at jess.Jesp.parse(Unknown Source) at jess.Jesp.parse(Unknown Source) at jess.Main.execute(Unknown Source) at JessTab.JessTabEngine.run(Unknown Source) at java.lang.Thread.run(Thread.java:536)
without the :NAME slot, i also have :
Jess> (defrule test_to_fix_this (object (prenom ?pp)) => (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 20.
at jess.Jesp.a(Unknown Source)
at jess.Jesp.a(Unknown Source)
at jess.Jesp.if(Unknown Source)
at jess.Jesp.do(Unknown Source)
at jess.Jesp.int(Unknown Source)
at jess.Jesp.for(Unknown Source)
at jess.Jesp.parse(Unknown Source)
at jess.Jesp.parse(Unknown Source)
at jess.Main.execute(Unknown Source)
at JessTab.JessTabEngine.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
in fact whatever i do if i use something like (object (prenom ?pp)) , it fall...
I am afraid iwill have to recreate the whole ontology as, if i open another one, everything works fine (so it does not come from a java or jesstab or protege version or anything else...)
I assume you are right... there's a stray control character in the text causing you some grief... but where... ;-) that's the question...
Many thanks to you both ! for the time you spent on this topic
Best regards,
Bertrand GILLE
From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: JESS: RE: problem_using_jesstab_and_protege Date: Wed, 1 Sep 2004 10:31:43 -0700 (PDT)
I think Jason Morris wrote:
> >>I think that ejfried wrote:
> > Regarding the O.P.'s original problem: what is the error you are seeing?
>
> Hi Ernest,
> Have a look at ...
> http://promethai.free.fr/dforum/nav.php3?page=voirsujet&boardid=4&postid=182
> &overcount=1
The message "Bad slot value" refers not to the name of the slot, but the value -- i.e., the thing after the name in a slot. The full Jess error message would show you the actual token where the error was detected, but Protege isn't showing us all the information, so we're left to guess.
I don't see anything wrong. Have you tried simply erasing the whole rule and retyping it? Perhaps there's a stray control character in the text causing you some grief.
--------------------------------------------------------- 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] --------------------------------------------------------------------
_________________________________________________________________
MSN Messenger http://g.msn.fr/FR1001/866 : dialoguez en direct et gratuitement avec vos amis !
-------------------------------------------------------------------- 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] --------------------------------------------------------------------