AI-Planning / planning-as-a-service

The newly improved planner (and more) in the cloud.
Apache License 2.0
30 stars 7 forks source link

Wrap planner arguments in quotes. #53

Open haz opened 4 months ago

nirlipo commented 4 months ago

It gives the following error:

plan-as-service:~$ python3 test_service.py 
Computing...
{'result': {'call': 'timeout 30 planutils run dual-bfws-ffparser "domain '
                    'problem plan"',
            'output': {'plan.ipc': ''},
            'output_type': 'generic',
            'stderr': 'No output plan file specified, defaulting to '
                      "'plan.ipc'\n"
                      '\n'
                      "ff: can't find fact file: --output\n"
                      '\n'
                      ': No such file or directory\n',
            'stdout': ''},
 'status': 'ok'}
Computing...
{'result': {'error': 'stderr: \n'
                     "No output plan file specified, defaulting to 'plan.ipc'\n"
                     '\n'
                     "ff: can't find fact file: --output\n"
                     '\n'
                     ': No such file or directory\n'
                     '\n'
                     'stdout: \n',
            'length': 0,
            'logPath': 'None',
            'output': '',
            'parse_status': 'err',
            'plan': [],
            'planPath': 'None',
            'type': 'full'},
 'status': 'error'}
Computing...
{'result': {'error': 'stderr: \n'
                     "No output plan file specified, defaulting to 'plan.ipc'\n"
                     '\n'
                     "ff: can't find fact file: --output\n"
                     '\n'
                     ': No such file or directory\n'
                     '\n'
                     'stdout: \n',
            'length': 0,
            'logPath': 'None',
            'output': '',
            'parse_status': 'err',
            'plan': [],
            'planPath': 'None',
            'type': 'full'},
 'status': 'error'}
Computing...
{'result': {'error': 'stderr: \n'
                     "line 1:1583 mismatched character '<EOF>' expecting "
                     "'\\n'\n"
                     "line 1:1583 mismatched input '<EOF>' expecting ')'\n"
                     '\n'
                     'stdout: \n'
                     'Some Syntax Error\n',
            'length': 0,
            'logPath': 'None',
            'output': '',
            'parse_status': 'err',
            'plan': [],
            'planPath': 'None',
            'type': 'full'},
 'status': 'error'}