fast-downward icon indicating copy to clipboard operation
fast-downward copied to clipboard

Running the example does not find a plan

Open dan-blank opened this issue 2 years ago • 1 comments

When I run FastDownward/Examples/Gripper.hs, I get Couldn't find a plan! which is unexpected to me since in https://blog.ocharles.org.uk/posts/2018-12-25-fast-downward.html a plan is found. downward is on my PATH.

Using WSL2 on Windows 11.

Steps:

  1. $ mkdir proj
  2. $ cd proj
  3. $ cabal init -p proj
  4. Add fast-doward in proj.cabal: build-depends: base ^>=4.12.0.0, fast-downward >= 0.2.2.0
  5. Replace app/Main.hs with the content of FastDownward/Examples/Gripper.hs from this repo, replacing the module line with module Main where
  6. $ cabal run

Edit: Printing the result told me that there seems to be input error: Couldn't find a plan!InputError

Assuming that solving the example problem should give a plan, how would I go about debugging this issue?

dan-blank avatar Jul 11 '22 20:07 dan-blank

since i just had to pick up an old thing of mine and ran into the same thing, there's some breakage in how the options are handled in newer versions of fd, i tried a few versions back and at least the 2019 version of fd works fine.

Reasonable-Solutions avatar Feb 23 '24 15:02 Reasonable-Solutions

sorry for the late answer! Glad to hear :)

dan-blank avatar Jun 06 '24 22:06 dan-blank

Closing this issue: Not tried out the suggested solution, but I am fairly sure it works.

dan-blank avatar Jun 06 '24 22:06 dan-blank