exoplanet-dev / exoplanet

Fast & scalable MCMC for all your exoplanet needs!
https://docs.exoplanet.codes
MIT License
206 stars 52 forks source link

Running Models under VSCode 1.56 - Extension host terminated unexpectedly #184

Closed JosephKarpinski closed 3 years ago

JosephKarpinski commented 3 years ago

Describe the bug A clear and concise description of what the bug is. Running models under MacOS Big Sur crashes with Extension host terminated unexpectedly To Reproduce This section should include a simple, standalone code snippet that demonstrates the issue. Run Fitting TESS data.ipynb Expected behavior A clear and concise description of what you expected to happen. Code to work Your setup (please complete the following information):

Additional context Add any other context about the problem here.Visual Studio code: Version: 1.56.0 Commit: cfa2e218100323074ac1948c885448fdf4de2a7f Date: 2021-05-04T22:06:21.189Z (5 days ago) Electron: 12.0.4 Chrome: 89.0.4389.114 Node.js: 14.16.0 V8: 8.9.255.24-electron.0 OS: Darwin x64 20.4.0

Screen Shot 2021-05-10 at 12 14 38 PM Screen Shot 2021-05-10 at 12 15 57 PM Screen Shot 2021-05-10 at 12 16 59 PM
JosephKarpinski commented 3 years ago

Python environment conda list: (env385exoplanet) josephkarpinski@Josephs-iMac ~ % conda list

packages in environment at /Users/josephkarpinski/opt/anaconda3/envs/env385exoplanet:

#

Name Version Build Channel

aesara-theano-fallback 0.0.4 pypi_0 pypi appnope 0.1.2 py38h50d1736_1 conda-forge argon2-cffi 20.1.0 py38h5406a74_2 conda-forge arviz 0.11.2 pyhd8ed1ab_1 conda-forge astropy 4.2.1 py38h96a0964_0 conda-forge astroquery 0.4.1 pyh9f0ad1d_0 conda-forge async_generator 1.10 py_0 conda-forge attrs 21.2.0 pyhd8ed1ab_0 conda-forge autograd 1.3 py_0 conda-forge backcall 0.2.0 pyh9f0ad1d_0 conda-forge backports 1.0 py_2 conda-forge backports.functools_lru_cache 1.6.4 pyhd8ed1ab_0 conda-forge beautifulsoup4 4.9.3 pyhb0f4dca_0 conda-forge bleach 3.3.0 pyh44b312d_0 conda-forge bokeh 2.3.1 py38h50d1736_0 conda-forge brotlipy 0.7.0 py38h5406a74_1001 conda-forge bzip2 1.0.8 h0d85af4_4 conda-forge c-ares 1.17.1 h0d85af4_1 conda-forge ca-certificates 2020.12.5 h033912b_0 conda-forge cachetools 4.2.2 pypi_0 pypi celerite2 0.2.0 pypi_0 pypi certifi 2020.12.5 py38h50d1736_1 conda-forge cffi 1.14.5 py38ha97d567_0 conda-forge cftime 1.4.1 py38ha1b04c9_0 conda-forge chardet 4.0.0 py38h50d1736_1 conda-forge corner 2.2.1 pyhd8ed1ab_0 conda-forge cryptography 3.4.7 py38h1fa4640_0 conda-forge curl 7.76.1 h06286d4_1 conda-forge cycler 0.10.0 py_2 conda-forge decorator 5.0.7 pyhd8ed1ab_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge dill 0.3.3 pypi_0 pypi entrypoints 0.3 pyhd8ed1ab_1003 conda-forge exoplanet 0.5.0 pypi_0 pypi exoplanet-core 0.1.1 pypi_0 pypi fastprogress 1.0.0 pypi_0 pypi fbpca 1.0 py_0 conda-forge filelock 3.0.12 pypi_0 pypi freetype 2.10.4 h4cff582_1 conda-forge future 0.18.2 py38h50d1736_3 conda-forge hdf4 4.2.13 hefd3b78_1005 conda-forge hdf5 1.10.6 nompi_hc5d9132_1114 conda-forge html5lib 1.1 pyh9f0ad1d_0 conda-forge idna 2.10 pyh9f0ad1d_0 conda-forge importlib-metadata 4.0.1 py38h50d1736_0 conda-forge importlib_metadata 4.0.1 hd8ed1ab_0 conda-forge ipykernel 5.5.4 py38h6c79ece_0 conda-forge ipython 7.23.1 py38h6c79ece_0 conda-forge ipython_genutils 0.2.0 py_1 conda-forge jedi 0.18.0 py38h50d1736_2 conda-forge jinja2 2.11.3 pyh44b312d_0 conda-forge joblib 1.0.1 pyhd8ed1ab_0 conda-forge jpeg 9d hbcb3906_0 conda-forge jsonschema 3.2.0 pyhd8ed1ab_3 conda-forge jupyter_client 6.1.12 pyhd8ed1ab_0 conda-forge jupyter_core 4.7.1 py38h50d1736_0 conda-forge jupyterlab_pygments 0.1.2 pyh9f0ad1d_0 conda-forge keyring 23.0.1 py38h50d1736_0 conda-forge kiwisolver 1.3.1 py38hd9c93a9_1 conda-forge krb5 1.17.2 h60d9502_0 conda-forge lcms2 2.12 h577c468_0 conda-forge libblas 3.9.0 9_openblas conda-forge libcblas 3.9.0 9_openblas conda-forge libcurl 7.76.1 h8ef9fac_1 conda-forge libcxx 11.1.0 habf9029_0 conda-forge libedit 3.1.20191231 h0678c8f_2 conda-forge libev 4.33 haf1e3a3_1 conda-forge libffi 3.3 h046ec9c_2 conda-forge libgfortran 5.0.0 9_3_0_h6c81a4c_22 conda-forge libgfortran5 9.3.0 h6c81a4c_22 conda-forge liblapack 3.9.0 9_openblas conda-forge libnetcdf 4.8.0 nompi_h81fa352_101 conda-forge libnghttp2 1.43.0 h07e645a_0 conda-forge libopenblas 0.3.15 openmp_h5e1b9a4_0 conda-forge libpng 1.6.37 h7cec526_2 conda-forge libsodium 1.0.18 hbcb3906_1 conda-forge libssh2 1.9.0 h52ee1ee_6 conda-forge libtiff 4.2.0 h7c11950_1 conda-forge libwebp-base 1.2.0 h0d85af4_2 conda-forge libzip 1.7.3 hbc046b2_0 conda-forge lightkurve 2.0.9 pyhd8ed1ab_0 conda-forge llvm-openmp 11.1.0 hda6cdc1_1 conda-forge lz4-c 1.9.3 h046ec9c_0 conda-forge markupsafe 1.1.1 py38h5406a74_3 conda-forge matplotlib 3.4.1 py38h50d1736_0 conda-forge matplotlib-base 3.4.1 py38h6152e83_0 conda-forge matplotlib-inline 0.1.2 pyhd8ed1ab_2 conda-forge memoization 0.3.2 pyhd8ed1ab_0 conda-forge mistune 0.8.4 py38h5406a74_1003 conda-forge nbclient 0.5.3 pyhd8ed1ab_0 conda-forge nbconvert 6.0.7 py38h50d1736_3 conda-forge nbformat 5.1.3 pyhd8ed1ab_0 conda-forge ncurses 6.2 h2e338ed_4 conda-forge nest-asyncio 1.5.1 pyhd8ed1ab_0 conda-forge netcdf4 1.5.6 nompi_py38h8ce633d_103 conda-forge notebook 6.3.0 pyha770c72_1 conda-forge numpy 1.20.2 py38had91d27_0 conda-forge oktopus 0.1.2 py_0 conda-forge olefile 0.46 pyh9f0ad1d_1 conda-forge openjpeg 2.4.0 h6cbf5cd_0 conda-forge openssl 1.1.1k h0d85af4_0 conda-forge packaging 20.9 pyh44b312d_0 conda-forge pandas 1.2.4 pypi_0 pypi pandoc 2.13 h0d85af4_0 conda-forge pandocfilters 1.4.2 py_1 conda-forge parso 0.8.2 pyhd8ed1ab_0 conda-forge patsy 0.5.1 py_0 conda-forge pexpect 4.8.0 pyh9f0ad1d_2 conda-forge pickleshare 0.7.5 py_1003 conda-forge pillow 8.1.2 py38h83525de_1 conda-forge pip 21.1.1 pyhd8ed1ab_0 conda-forge prometheus_client 0.10.1 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.18 pyha770c72_0 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge pycparser 2.20 pyh9f0ad1d_2 conda-forge pyerfa 1.7.3 pypi_0 pypi pygments 2.9.0 pyhd8ed1ab_0 conda-forge pymc3 3.11.2 pypi_0 pypi pymc3-ext 0.1.0 pypi_0 pypi pyopenssl 20.0.1 pyhd8ed1ab_0 conda-forge pyparsing 2.4.7 pyh9f0ad1d_0 conda-forge pyrsistent 0.17.3 py38h5406a74_2 conda-forge pysocks 1.7.1 py38h50d1736_3 conda-forge python 3.8.5 h26836e1_1
python-dateutil 2.8.1 py_0 conda-forge python_abi 3.8 1_cp38 conda-forge pytz 2021.1 pyhd8ed1ab_0 conda-forge pyyaml 5.4.1 py38h5406a74_0 conda-forge pyzmq 22.0.3 py38hd3b92b6_1 conda-forge readline 8.1 h05e3726_0 conda-forge requests 2.25.1 pyhd3deb0d_0 conda-forge scikit-learn 0.24.2 py38h011f2c5_0 conda-forge scipy 1.6.3 py38h431c0a8_0 conda-forge semver 2.13.0 pypi_0 pypi send2trash 1.5.0 py_0 conda-forge setuptools 49.6.0 py38h50d1736_3 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge soupsieve 2.0.1 py_1 conda-forge sqlite 3.35.5 h44b9ce1_0 conda-forge terminado 0.9.4 py38h50d1736_0 conda-forge testpath 0.4.4 py_0 conda-forge theano-pymc 1.1.2 pypi_0 pypi threadpoolctl 2.1.0 pyh5ca1d4c_0 conda-forge tk 8.6.10 h0419947_1 conda-forge tornado 6.1 py38h5406a74_1 conda-forge tqdm 4.60.0 pyhd8ed1ab_0 conda-forge traitlets 5.0.5 py_0 conda-forge typing-extensions 3.10.0.0 pypi_0 pypi typing_extensions 3.7.4.3 py_0 conda-forge uncertainties 3.1.5 pyhd8ed1ab_0 conda-forge urllib3 1.26.4 pyhd8ed1ab_0 conda-forge wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge webencodings 0.5.1 py_1 conda-forge wheel 0.36.2 pyhd3deb0d_0 conda-forge xarray 0.18.0 pyhd8ed1ab_0 conda-forge xz 5.2.5 haf1e3a3_1 conda-forge yaml 0.2.5 haf1e3a3_0 conda-forge zeromq 4.3.4 h1c7c35f_0 conda-forge zipp 3.4.1 pyhd8ed1ab_0 conda-forge zlib 1.2.11 h7795811_1010 conda-forge zstd 1.4.9 h582d3a0_0 conda-forge

JosephKarpinski commented 3 years ago

Created open issue with Microsoft VScode; Extension host terminated unexpectedly - JavaScript heap out of memory #123498

https://github.com/microsoft/vscode/issues/123498

JosephKarpinski commented 3 years ago

Moved to a different Microsoft issue queue:

https://github.com/microsoft/vscode-jupyter/issues/5840

JosephKarpinski commented 3 years ago

Installed VS Code Insiders. Python Models work under VS Code Insiders. Python Models fail with "Extension host terminated unexpectedly" under VSCode 1.56 Closing as an IDE bug.