AbsaOSS / enceladus

Dynamic Conformance Engine
Apache License 2.0
29 stars 14 forks source link

Import of data into Menas fails on macOS 12.6 #2149

Closed lsulak closed 1 year ago

lsulak commented 1 year ago

Describe the bug

Upload of json data files failing on realpath command when calculating path to the data file. Used prepared script import_all.sh

Problem is that realpath function doesn't exist on OS X (at least my M1 Mac with version 12.6 doesn't have it), see https://github.com/whatwg/html-build/issues/90. I couldn't install it via brew install coreutils either.

To Reproduce

Steps to reproduce the behavior OR commands run:

  1. Expected Enceladus app built and running
  2. Run script import_all.sh in your bash environment. (OS X, zsh)
  3. Problem occurs, no data imported.

Expected behavior

No error message visible. All data files imported in Menas DB.

Desktop:

Additional context

Proposal to repair - either document installation steps of the realpath function or implement the realpath into the script direcly.

lsulak commented 1 year ago

I was able to install the realpath function with (re)installing coreutils via the brew. My coreutils I previously had was partly corrupted for some reason, but I didn't know about it until now. I will close this issue now as the script works as expected under OS X.