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
Create a PDDLReader instance, and call its parse_problem() method.
See syntax error.
Expected behavior
A parsed temporal problem, as can be received when following the same steps as above, with the temporal IPC Sokoban domain and problem, which contains a "total-time" expression.
Screenshots
For office_robot domain:
File ".../python3.11/site-packages/unified_planning/io/pddl_reader.py", line 1089, in declare_type
declare_type(father_name, type_declarations[father_name])
[Previous line repeated 990 more times]
RecursionError: maximum recursion depth exceeded
For Pathways domain:
File ".../python3.11/site-packages/unified_planning/io/pddl_reader.py", line 539, in _parse_exp
raise SyntaxError(
SyntaxError: Found invalid expression: total-time. From line: 144, col 47 to line: 144, col 57
Software versions:
OS: Ubuntu 24.04
Python 3.11, pip 25.0
Unified-Planning 1.2.0
networkx 3.4.2
pyparsing 3.2.1
ConfigSpace 1.2.1
The text was updated successfully, but these errors were encountered:
Hello @maayan25, the first error should be fixed in #665.
The second error instead is due to the fact that the unified-planning does not support the combination of the minimization of the makespan with other optimization objectives.
Describe the bug
When attempting to parse Temporal PDDL files using PDDLReader.parse_problem(), 2 different errors occur.
To Reproduce
Steps to reproduce the behavior (1):
Steps to reproduce the behavior (2):
Expected behavior
A parsed temporal problem, as can be received when following the same steps as above, with the temporal IPC Sokoban domain and problem, which contains a "total-time" expression.
Screenshots
For office_robot domain:
For Pathways domain:
Software versions:
The text was updated successfully, but these errors were encountered: