-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Control.py broken? #323
Comments
*The same programs do run on 5.4 though |
I think the API interface has slightly changed in the latest update. Wrap the 42 inside Clingo.Number().-------- Originalnachricht --------Betreff: Re: [potassco/clingo] Control.py broken? (#323)Von: ZimneJonas An: potassco/clingo Cc: Subscribed
*The same programs do run on 5.4 though
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.
[
{
***@***.***": "http://schema.org",
***@***.***": "EmailMessage",
"potentialAction": {
***@***.***": "ViewAction",
"target": "#323 (comment)",
"url": "#323 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
***@***.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
Thank you, that works. Making the new clingo versions not backwards compatible, seems bad for educational papers like this. However, if this is necessary it is no longer a problem. |
Hi @ZimneJonas ! Thanks for pointing this out to us! In fact, the paper at archive will ultimately align with 5.5 (have you checked the recent version ?), once it is published. We just pre-published its preliminary version that only ran with an intermediate version. Sorry for any inconvenience! |
I am going to open an issue for the asprilo visualizer. |
Hi, I tried to run the examples published in 'Multi-shot ASP solving with clingo' section 5.1, Listing 5, 6 and 7 https://arxiv.org/abs/1705.09811 and encountered the same error as Jonas. I followed the advice to wrap the parameters inside the number method and now I'm getting : |
Please do not comment on long closed issues and rather use a new one. Please open a new one and also show us the code you are trying to run. |
I seem to have problems with control.py.
I expect to have done some mistake while installing.
File "/home/zimne/anaconda3/envs/tel/lib/python3.9/site-packages/clingo/control.py", line 335, in ground
c_part.params[i] = sym._rep
AttributeError: 'int' object has no attribute '_rep'
File "/home/zimne/anaconda3/envs/tel/lib/python3.9/site-packages/visualizer-0.2.2-py3.7.egg/visualizer/parser.py", line 206, in parse
AttributeError: 'Control' object has no attribute 'builder'
The text was updated successfully, but these errors were encountered: