mgomezAstro / staralt

A program to obtain the visibility plot of an astrophysical object in a determined world-location.
4 stars 0 forks source link

zsh: segmentation fault ipython #2

Open ferragamoantonio opened 1 year ago

ferragamoantonio commented 1 year ago

Hi, I am trying to use your code. However, when I try to initialise the ObjectVisibility object it couse an zsh: segmentation fault ipython

mgomezAstro commented 1 year ago

Hi,

Which version of python are you using? I tested it on python 3.7.16 (ipython v7.31.1) and on python 3.11.3 (ipython v8.12.0) and no issue was found. Segmentation fault errors usually comes from Low memory and/or faulty memory issue. You probably may increase the stack that your operating system allocates to python processes. In unix (linux and mac os) you can use the ulimit -s to check the current value and try to double it with ulimit -s <new_value>.

Also note that the program needs the "labellines" package that you can install it using pip install matplotlib-label-lines . I should add this to the README.