You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am facing a RuntimeError that is produced while working with the clingo Python API. Using previous clingo versions and Python 2, I was able to define a class, pass it to grounding via the named argument "context", and thereby use its methods from within a logic program through the @-syntax. Once I updated to clingo 5.2.1 and Python 3.6 this fails with a RuntimeError.
Here is a toy example of the problem.
Hello,
I am facing a RuntimeError that is produced while working with the clingo Python API. Using previous clingo versions and Python 2, I was able to define a class, pass it to grounding via the named argument "context", and thereby use its methods from within a logic program through the @-syntax. Once I updated to clingo 5.2.1 and Python 3.6 this fails with a RuntimeError.
Here is a toy example of the problem.
Under previous versions, running this Python script would return the expected output:
Under Python 3.6 it no longer works:
Is there any way to overcome this problem? Thanks.
Best,
Torsten
The text was updated successfully, but these errors were encountered: