kaskada icon indicating copy to clipboard operation
kaskada copied to clipboard

bug: `make wren/run` doesn't work

Open bjchambers opened this issue 1 year ago • 4 comments

Description As stated in CONTRIBUTING.md, the command make wren/run fails with the following error: "unable to open database file: no such file or directory" exit status 1 make: *** [wren/run] Error 1

This seems to be because the directory it creates the SQLite DB in doesn't exist. I fixed this by running mkdir tests/integration/data.

We should probably fix the documentation and/or ensure the directory exists before attempting to create the DB.

bjchambers avatar Jun 28 '23 21:06 bjchambers

Also instructions for running integration tests using docker seem broken.

make test/int/docker-up

produces the following errors:

kaskada  | /bin/wren: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /bin/wren)
kaskada exited with code 1

bjchambers avatar Jun 28 '23 22:06 bjchambers

Also, once the local binaries are running, things still fail since a Pulsar is necessary as well.

bjchambers avatar Jul 05 '23 19:07 bjchambers

Thanks @bjchambers for opening this issue. I ran into the same Pulsar missing issues today trying to setup a local dev environment.

jeffbanks avatar Jul 07 '23 23:07 jeffbanks

#490 should fix the creation of the sqlite and objectStore directories, and the GLIBC issue on Apple Silicon.

epinzur avatar Jul 10 '23 20:07 epinzur