AI-Planning / AI-Planning/cloud-solver

Cannot run locally

Đang mở
#9 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
26
Fork
8
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi, I tried as the README that deploys on Heroku, which successes in response to the URL, however when I tried to run locally with command

`node web.js`

The same URL will always show errors about the phrase of the JSON file.

`SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at _processStopped (/Users/harbour/Desktop/graph_planner/cloud-solver/web.js:190:23)
at ChildProcess.exithandler (child_process.js:397:5)
at ChildProcess.emit (events.js:400:28)
at maybeClose (internal/child_process.js:1055:16)
at Socket. (internal/child_process.js:441:11)
at Socket.emit (events.js:400:28)
at Pipe. (net.js:675:12)
`

The URL is
`http://127.0.0.1:5001/solve?domain=http://www.haz.ca/planning-domains/classical/blocks/domain.pddl&problem=http://www.haz.ca/planning-domains/classical/blocks/probBLOCKS-4-1.pddl`
and
`https://safe-dusk-54737.herokuapp.com/solve?domain=http://www.haz.ca/planning-domains/classical/blocks/domain.pddl&problem=http://www.haz.ca/planning-domains/classical/blocks/probBLOCKS-4-1.pddl`

Any help?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.