bcych / BiCEP_GUI

GUI for using the BiCEP method (Cych et al, 2021) on paleointensity data.
5 stars 3 forks source link

hanging notebook with 'couldn't close' error bug still there #7

Closed ltauxe closed 1 year ago

ltauxe commented 2 years ago

error on first specimen in the S16 data set:

On entry to DLASCLS parameter number 5 had an illegal value On entry to DLASCLS parameter number 4 had an illegal value .dylib: terminating with uncaught exception of type std::runtime_error: Couldn't close file libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: Couldn't close file libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: Couldn't close file

bcych commented 2 years ago

This is a bug with python's "multiprocessing" package on mac os catalina. Pystan forums suggest that this is a bug with matplotlib's font_manager.py. See: https://discourse.mc-stan.org/t/issues-with-pystan-multiprocessing-and-subsequently-the-pystan3-pre-release-on-mac-os-catalina/12798/14

bcych commented 1 year ago

Confirmed that doing the above fixed this problem. Please note that the font_manager.py file is located in anaconda3/envs/BiCEP/lib/python3.7/site-packages/matplotlib/font_manager.py wherever your anaconda directory is.