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
When I try to use translate.py with python3 it seems like the parser gets stuck in infinite recursive calls. python3 $TFD_HOME/translate/translate.py domain.pddl problem.pddl
.....
File "...TemporalFastDownward/downward/translate/pddl/pddl_file.py", line 15, in parse_pddl_file
return parser.parse_nested_list(open(filename))
File "...TemporalFastDownward/downward/translate/pddl/pddl_file.py", line 44, in open
domain_pddl = parse_pddl_file("domain", domain_filename)
File "...TemporalFastDownward/downward/translate/pddl/pddl_file.py", line 15, in parse_pddl_file
return parser.parse_nested_list(open(filename))
File "...TemporalFastDownward/downward/translate/pddl/pddl_file.py", line 44, in open
domain_pddl = parse_pddl_file("domain", domain_filename)
File "...TemporalFastDownward/downward/translate/pddl/pddl_file.py", line 15, in parse_pddl_file
return parser.parse_nested_list(open(filename))
File "...TemporalFastDownward/downward/translate/pddl/pddl_file.py", line 44, in open
domain_pddl = parse_pddl_file("domain", domain_filename)
File "...TemporalFastDownward/downward/translate/pddl/pddl_file.py", line 15, in parse_pddl_file
return parser.parse_nested_list(open(filename))
File "...TemporalFastDownward/downward/translate/pddl/pddl_file.py", line 44, in open
domain_pddl = parse_pddl_file("domain", domain_filename)
File "...TemporalFastDownward/downward/translate/pddl/pddl_file.py", line 15, in parse_pddl_file
return parser.parse_nested_list(open(filename))
File "...TemporalFastDownward/downward/translate/pddl/pddl_file.py", line 44, in open
domain_pddl = parse_pddl_file("domain", domain_filename)
File "..TemporalFastDownward/downward/translate/pddl/pddl_file.py", line 15, in parse_pddl_file
return parser.parse_nested_list(open(filename))
File "...TemporalFastDownward/downward/translate/pddl/pddl_file.py", line 44, in open
domain_pddl = parse_pddl_file("domain", domain_filename)
File "...TemporalFastDownward/downward/translate/pddl/pddl_file.py", line 15, in parse_pddl_file
return parser.parse_nested_list(open(filename))
File "...TemporalFastDownward/downward/translate/pddl/pddl_file.py", line 44, in open
domain_pddl = parse_pddl_file("domain", domain_filename)
File "...TemporalFastDownward/downward/translate/pddl/pddl_file.py", line 15, in parse_pddl_file
return parser.parse_nested_list(open(filename))
File "...TemporalFastDownward/downward/translate/pddl/pddl_file.py", line 34, in open
dirname, basename = os.path.split(task_filename)
File "/usr/lib/python3.9/posixpath.py", line 104, in split
sep = _get_sep(p)
File "/usr/lib/python3.9/posixpath.py", line 42, in _get_sep
if isinstance(path, bytes):
As far as I could dig, this seems to be caused by the change
I don't know if you fixed this already, but I think open(filename) was meant to use the builtin open() function of python, instead of pddl.open() which it does.
Dear maintainers,
Thanks for the work invested in the repo.
When I try to use translate.py with python3 it seems like the parser gets stuck in infinite recursive calls.
python3 $TFD_HOME/translate/translate.py domain.pddl problem.pddl
As far as I could dig, this seems to be caused by the change
982e9a4#diff-00f68d6d7b9e60fd1c9500c7436acddf2c2feb8277faa3eb0120bb7e5ac8170bR14
Am I missing something obvious?
The text was updated successfully, but these errors were encountered: