Open rpgoldman opened 4 months ago
The plugin needs to be updated for the modern era solver.planning.domains (uses PaasS now). You can add a new planning engine, select the planning-as-a-service option, and configure like so:
@jan-dolejsi : ya still with us, bud?
I had a similar issue and haz's recommendation fixed things for a while but now when I've configured planning as a service as: https://solver.planning.domains:5001/package and the extension is stuck loading here: . Please could you help :) @jan-dolejsi
I need bit more info, @wikssss Just tested using the currently published version of the extension and all seems to work.
Can you try the following?
Test using the out-of-the-box planner configuration (the last one in the list):
Please invoke the VS Code command Preferences: Open User Settings (JSON), find the "pddl.planners": [...]
section and paste the content here (especially the entry related to the Planning-as-a-service entry). It should look like this:
{
"kind": "PLANNING_AS_A_SERVICE",
"url": "https://solver.planning.domains:5001/package",
"title": "https://solver.planning.domains:5001/package",
"canConfigure": true
}
In VS Code invoke the Developer: Toggle Developer Tools command and look for an error in the Console tab that could be related to the planner HTTP call or related...
You should also see a valid JSON response if you put the https://solver.planning.domains:5001/package address directly to your browser.
Thx. Jan
I was learning the VS Code plugin, so I downloaded the vscode-pddl-samples and per the instructions tried to generate a plan for
Airport/1plane.pddl
usingAirport/domain.pddl
. I expected the planning to fail, since there's an intentionally-introduced error in that file. But instead of failing, I get a 400 error from the solver.planning.domains server:I uploaded those files interactively to the planning editor at planning.domains, and tried to generate a plan using LAMA. Planning failed, as expected, but there was no error.
Here's my configuration:
Tried using
paas-uom.org:5001
as the planner instead and the planning attempt hangs with this:Any idea what I am doing wrong?