Replies: 1 comment
-
Hello @anantoni ! If you are getting a python exception when running Logica then most likely you have found a bug in Logica! It is assumed for a few annotations (like @limit, @Ground, etc) that first argument is a predicate and it seems that you passed something else. However I don't see the error in your program. But also definition of e.g. Anyway I have submitted change to main branch of Logica that shoud be producing a proper error message and pointing where the issue in the program is. Would you be able to run Logica by cloning the repo? Let me know if you have any issues with it and what is the outcome :-) Thank you for finding the bug! |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am trying to do an evaluation of Logica for program analysis. For the most part, I was able to debug my program by removing rules and re-adding them, but now I'm stuck with the following error:
I don't know if it's of any help, but here is my program (I'd love to share the facts too, but some files are too large for Git/Git-LFS.
To get back to my question, is there a consistent way to understand and resolve "KeyError: 'the_predicate'"? Any recommendations?
Thanks,
Anastasios
Beta Was this translation helpful? Give feedback.
All reactions