Hi all, I’m on a mac M1 and trying to build with ...
# troubleshoot
w
Hi all, I’m on a mac M1 and trying to build with
./gradlew build -x test -x yarnTest -x testQuick
. Everything seems to work fine but at 99% of building it fails at task
:metadata-ingestion:docGen
I seem to get a seg fault:
./scripts/docgen.sh: line 10: 51078 Segmentation fault: 11 python scripts/docgen.py --out-dir ${DOCS_OUT_DIR} --extra-docs ${EXTRA_DOCS_DIR} $@
. Now the strange thing is that the script actually succeeds in generating the docs, it exits with 0. I’m using my system’s python, which is
3.9.6
. Any suggestions? Cheers!
👀 1
a
Hi Adri, have you modified the docs at all while building it? If you run with --stacktrace do you get a more detailed outfile?
you can also just specify the part of the app you’d like to build using the commands here: https://datahubproject.io/docs/developers
w
Hey Paul, I did a clean clone just te be certain I didnt change anything. Stacktrace not really helpful either…
Caused by: org.gradle.process.internal.ExecException: Process 'command 'bash'' finished with non-zero exit value 139
It throws the seg fault just right after
generate()
exists in
docgen.py
. 😕
Still experiencing this issue 😞
a
Hi @wooden-breakfast-17692, thanks for the update here- Did you add documentation to the site? If you added a new file that could be causing issues
I’ll check docgen and see what the issue could be- have you tried updating to the most recent python?