AI-Planning / AI-Planning/planutils
Bug: dual-bfws-ffparser fail in server
- Langage dominant
- Shell
- Étoiles
- 140
- Forks
- 37
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
How to reproduce:
1. Build docker: `environments/server/setup.sh`
2. Start in privileged mode: `docker run -p 5555:5555 --privileged -d planutils-server`
3. Try server. For instance, following https://github.com/AI-Planning/planning-as-a-service#example-use
```
import requests
import time
from pprint import pprint
req_body = {
"domain":"(define (domain BLOCKS) (:requirements :strips) (:predicates (on ?x ?y) (ontable ?x) (clear ?x) (handempty) (holding ?x) ) (:action pick-up :parameters (?x) :precondition (and (clear ?x) (ontable ?x) (handempty)) :effect (and (not (ontable ?x)) (not (clear ?x)) (not (handempty)) (holding ?x))) (:action put-down :parameters (?x) :precondition (holding ?x) :effect (and (not (holding ?x)) (clear ?x) (handempty) (ontable ?x))) (:action stack :parameters (?x ?y) :precondition (and (holding ?x) (clear ?y)) :effect (and (not (holding ?x)) (not (clear ?y)) (clear ?x) (handempty) (on ?x ?y))) (:action unstack :parameters (?x ?y) :precondition (and (on ?x ?y) (clear ?x) (handempty)) :effect (and (holding ?x) (clear ?y) (not (clear ?x)) (not (handempty)) (not (on ?x ?y)))))",
"problem":"(define (problem BLOCKS-4-0) (:domain BLOCKS) (:objects D B A C ) (:INIT (CLEAR C) (CLEAR A) (CLEAR B) (CLEAR D) (ONTABLE C) (ONTABLE A) (ONTABLE B) (ONTABLE D) (HANDEMPTY)) (:goal (AND (ON D C) (ON C B) (ON B A))) )"
}
solve_request=requests.post(f"http://localhost:5555/package/{planner}/solve", json=req_body).json()
print(solve_request)
```
Returns
```
{'stderr': '/root/.planutils/packages/dual-bfws-ffparser/run: line 2: lapkt: command not found\n', 'stdout': ''}
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.