Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running lama in planutils #124

Open
psuzzi opened this issue Jul 4, 2023 · 2 comments
Open

Error running lama in planutils #124

psuzzi opened this issue Jul 4, 2023 · 2 comments

Comments

@psuzzi
Copy link

psuzzi commented Jul 4, 2023

I followed the instructions to run planutils with docker but I get an error that prevents me to run

Here is what i did

# starts planutils and mount a data directory, to be used as working dir
docker run -it --privileged -v "$HOME/temp/planutils/data:/root/data" aiplanning/planutils:latest bash

# activate planutils
planutils activate

# solve
lama data/tequilla.pddl data/drink.pddl

When executing lama, I am told that two packages needs to be installed: downward (36M), lama (20K). But during the install I get a failure, see output below.

(planutils) root@0eee8bb33bb1:~$ lama data/tequilla.pddl data/drink.pddl

Package not installed!
  Download & install? [Y/n] Y
lama will be installed.

About to install the following packages: downward (36M), lama (20K)
  Proceed? [Y/n] Y
Installing downward...
INFO:    Starting build...
Getting image source signatures
Copying blob 6e3729cf69e0 [=====================================>] 28.7MiB / 29.0MiB
Copying blob f74f564ec75d [==================================>---] 9.1MiB / 10.0MiB
Copying blob 498b73f074e8 [============================>---------] 1.5MiB / 2.0MiB
Copying blob a20a07026a4b done
Copying blob a1d1274d3bc1 done
Copying blob baf063b67029 [================================>-----] 4.6MiB / 5.3MiB
FATAL:   While performing build: conveyor failed to get: initializing source oci:/root/.apptainer/cache/blob:c503d5cb165648d3fdecb54c3a53bfdd7f961b68e8d34c09b2e1c4a61bdecf17: writing blob: happened during read: unexpected EOF

Error installing downward. Rolling back changes...
rm: cannot remove 'downward.sif': No such file or directory

(planutils) root@0eee8bb33bb1:~$

In short, this but is preventing lama to run in planutils. Can someone take care of fixing this but or providing a workaround?

Additional information

  • I am running on MacOs (Apple Silicon)
@haz
Copy link
Contributor

haz commented Jul 4, 2023

M1 w/ arm arch? It's a known limitation of planutils, and pretty much every planning tech out there that isn't built from scratch natively :(. Relevant issues:

Until we have someone willing to mirror the package builds for arm, I'm afraid we're kinda out of luck.

@psuzzi
Copy link
Author

psuzzi commented Jul 4, 2023

What a pity. Thank you for the clear information.
I would be interested to see if there are any possible solutions.

I will leave the issue open, with the hope of getting updates on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants