https://flyte.org logo
#ask-the-community
Title
# ask-the-community
n

Nadiia

09/08/2023, 9:28 AM
Hello there Maybe someone else experienced Segmentation fault issue when running
pyflyte package
and have some tips and tricks how to solve or investigate it? The exact command is :
pyflyte --pkgs ssp_sim_pipelines package --image <some_image> --force
The last messages it outputs
Copy code
Successfully packaged 8 flyte objects into /Users/nadiiag/workspace/ssp-sim-pipelines/_qstyx/flyte-package.tgz
zsh: segmentation fault /Users/nadiiag/.pyenv/versions/ssp-sim/bin/pyflyte --pkgs ssp_sim_pipelines
there is nothing useful in the verbose mode as well Unfortunately I haven’t found how to make core dumps on my machine (MacBook M1 Max Ventura OS), previous workarounds (https://developer.apple.com/forums/thread/694233) don’t works for me It would also be great if anyone has any suggestions how to enable them
s

Samhita Alla

09/08/2023, 12:54 PM
Hi Nadiia, aren't the tasks/workflows getting registered despite the segmentation fault?
n

Nadiia

09/08/2023, 2:23 PM
Hi Samhita No, I don't see it registered
d

David Espejo (he/him)

09/08/2023, 3:50 PM
@Nadiia what Python version are you using?
n

Nadiia

09/08/2023, 3:53 PM
3.8.12
s

Samhita Alla

09/09/2023, 10:21 AM
Sorry, I meant don't you see the tgz file? @Nadiia
n

Nadiia

09/09/2023, 9:06 PM
Yes, tgz files are generated
s

Samhita Alla

09/10/2023, 6:41 AM
In that case, you can run the
flytectl register
command. I used to encounter the segmentation fault error as well, but everything used to work fine.
n

Nadiia

09/11/2023, 9:24 AM
oh, ok, I will check that, thanks for some reason I haven't even tried that the package command has been executed as part of scheduling via styx, and I have't thought about proceeding the rest of the steps manually
5 Views