Skip to content
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

'expression not well-formed' error when parsing PDDL #454

Closed
MFaisalZaki opened this issue Jul 14, 2023 · 2 comments
Closed

'expression not well-formed' error when parsing PDDL #454

MFaisalZaki opened this issue Jul 14, 2023 · 2 comments

Comments

@MFaisalZaki
Copy link

MFaisalZaki commented Jul 14, 2023

Grounder generated 'expression not well-formed'.
To reproduce,

from unified_planning.io import PDDLReader
from unified_planning.shortcuts import *

planning_task = PDDLReader().parse_problem('domain.pddl', 'p1.pddl')
with Compiler(problem_kind=planning_task.kind, compilation_kind=CompilationKind.GROUNDING) as grounder:
     g_task grounder.compile(planning_task, compilation_kind=CompilationKind.GROUNDING).problem

I get this error:

unified_planning.exceptions.UPTypeError: The expression '(depot0 == market1)' is not well-formed

files.zip

@alvalentini
Copy link
Member

@MFaisalZaki the issue should be fixed by #457. Can you confirm?

@MFaisalZaki
Copy link
Author

@alvalentini, Yup, it works. Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants