I'm attaching another example where our error reporting should be improved:
...
Completing instantiation...
Traceback (most recent call last):
File "./translate/translate.py", line 578, in <module>
sas_task = pddl_to_sas(task)
File "./translate/translate.py", line 441, in pddl_to_sas
reachable_action_params) = instantiate.explore(task)
File "/home/abdon/downward/src/translate/instantiate.py", line 77, in explore
return instantiate(task, model)
File "/home/abdon/downward/src/translate/instantiate.py", line 57, in instantiate
fluent_facts, type_to_objects)
File "/home/abdon/downward/src/translate/pddl/actions.py", line 137, in
instantiate
objects_by_type, effects)
File "/home/abdon/downward/src/translate/pddl/effects.py", line 129, in
instantiate
self._instantiate(var_mapping, init_facts, fluent_facts, result)
File "/home/abdon/downward/src/translate/pddl/effects.py", line 137, in
_instantiate
self.literal.instantiate(var_mapping, init_facts, fluent_facts, effects)
File "/home/abdon/downward/src/translate/pddl/conditions.py", line 300, in
instantiate
raise Impossible()
pddl.conditions.Impossible
The cause of this is apparently that some condition is written as "(open ?door)"
instead of the correct "(open ?d)".
|