Quickstart notebook fails on Chianti data section
AlexHls opened this issue · 1 comments
AlexHls commented
Describe the bug
When running the quickstart notebook (after following the installation section), the Chianti data section of the notebook fails with the following error
AttributeError: module 'ChiantiPy.tools.data' has no attribute 'Defaults'
To Reproduce
(from a freshly cloned carsus directory)
conda env create -f carsus_env3.yml
conda activate carsus
pip install -e .
export XUVTOP=<path-to-chianti>
jupyter notebook
Then run the quickstart notebook
Screenshots
System
-
OS:
- GNU/Linux
- macOS
-
Environment (
conda list
):
# Name Version Build Channel
_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 2_gnu conda-forge
alabaster 0.7.13 pyhd8ed1ab_0 conda-forge
anyio 3.7.1 pyhd8ed1ab_0 conda-forge
argon2-cffi 23.1.0 pyhd8ed1ab_0 conda-forge
argon2-cffi-bindings 21.2.0 py37h540881e_2 conda-forge
arrow-cpp 0.14.1 py37h6b969ab_1 conda-forge
astropy 3.2.3 py37h516909a_0 conda-forge
astropy-sphinx-theme 1.1 pyhd8ed1ab_0 conda-forge
attrs 23.1.0 pyh71513ae_1 conda-forge
babel 2.13.0 pyhd8ed1ab_0 conda-forge
backcall 0.2.0 pyh9f0ad1d_0 conda-forge
backports 1.0 pyhd8ed1ab_3 conda-forge
backports.functools_lru_cache 1.6.5 pyhd8ed1ab_0 conda-forge
backports.zoneinfo 0.2.1 py37h540881e_5 conda-forge
beautifulsoup4 4.12.2 pyha770c72_0 conda-forge
bleach 6.1.0 pyhd8ed1ab_0 conda-forge
blosc 1.21.1 hd32f23e_0 conda-forge
boost-cpp 1.70.0 ha2d47e9_1 conda-forge
brotli 1.1.0 hd590300_1 conda-forge
brotli-bin 1.1.0 hd590300_1 conda-forge
brotli-python 1.0.9 py37hd23a5d3_7 conda-forge
bzip2 1.0.8 h7f98852_4 conda-forge
c-ares 1.20.1 hd590300_0 conda-forge
ca-certificates 2023.7.22 hbcca054_0 conda-forge
carsus 0.1.dev718+gc43d1f2.d20231011 pypi_0 pypi
certifi 2023.7.22 pyhd8ed1ab_0 conda-forge
cffi 1.15.1 py37h43b0acd_1 conda-forge
charset-normalizer 3.3.0 pyhd8ed1ab_0 conda-forge
chiantipy 0.8.4 pyhd8ed1ab_0 conda-forge
click 8.1.3 py37h89c1867_0 conda-forge
colorama 0.4.6 pyhd8ed1ab_0 conda-forge
commonmark 0.9.1 py_0 conda-forge
coverage 6.5.0 py37h540881e_0 conda-forge
cycler 0.11.0 pyhd8ed1ab_0 conda-forge
dataclasses 0.8 pyhc8e2a94_3 conda-forge
dbus 1.13.6 h5008d03_3 conda-forge
debugpy 1.6.3 py37hd23a5d3_0 conda-forge
decorator 5.1.1 pyhd8ed1ab_0 conda-forge
defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge
docutils 0.18.1 py37h89c1867_1 conda-forge
double-conversion 3.3.0 h59595ed_0 conda-forge
entrypoints 0.4 pyhd8ed1ab_0 conda-forge
exceptiongroup 1.1.3 pyhd8ed1ab_0 conda-forge
expat 2.5.0 hcb278e6_1 conda-forge
fontconfig 2.14.2 h14ed4e7_0 conda-forge
freetype 2.12.1 h267a509_2 conda-forge
future 0.18.2 py37h89c1867_5 conda-forge
gettext 0.21.1 h27087fc_0 conda-forge
gflags 2.2.2 he1b5a44_1004 conda-forge
git-lfs 3.4.0 ha770c72_0 conda-forge
glib 2.78.0 hfc55251_0 conda-forge
glib-tools 2.78.0 hfc55251_0 conda-forge
glog 0.5.0 h48cff8f_0 conda-forge
gmp 6.2.1 h58526e2_0 conda-forge
grpc-cpp 1.25.0 h18db393_0 conda-forge
gst-plugins-base 1.14.1 h6a678d5_1
gstreamer 1.14.1 h5eee18b_1
h5py 2.10.0 nompi_py37h90cd8ad_104 conda-forge
hdf5 1.10.6 nompi_h7c3c948_1111 conda-forge
html5lib 1.1 pyh9f0ad1d_0 conda-forge
hypothesis 6.56.3 py37h89c1867_1 conda-forge
icu 58.2 hf484d3e_1000 conda-forge
idna 3.4 pyhd8ed1ab_0 conda-forge
imagesize 1.4.1 pyhd8ed1ab_0 conda-forge
importlib-metadata 4.11.4 py37h89c1867_0 conda-forge
importlib_metadata 4.11.4 hd8ed1ab_0 conda-forge
importlib_resources 6.0.0 pyhd8ed1ab_0 conda-forge
iniconfig 2.0.0 pyhd8ed1ab_0 conda-forge
ipykernel 6.16.2 pyh210e3f2_0 conda-forge
ipyparallel 8.6.1 pyhd8ed1ab_0 conda-forge
ipython 7.33.0 py37h89c1867_0 conda-forge
ipython_genutils 0.2.0 py_1 conda-forge
jedi 0.19.1 pyhd8ed1ab_0 conda-forge
jinja2 3.1.2 pyhd8ed1ab_1 conda-forge
jpeg 9e h0b41bf4_3 conda-forge
jsonschema 4.17.3 pyhd8ed1ab_0 conda-forge
jupyter_client 7.4.9 pyhd8ed1ab_0 conda-forge
jupyter_core 4.11.1 py37h89c1867_0 conda-forge
jupyter_server 1.23.4 pyhd8ed1ab_0 conda-forge
jupyterlab_pygments 0.2.2 pyhd8ed1ab_0 conda-forge
keyutils 1.6.1 h166bdaf_0 conda-forge
kiwisolver 1.4.4 py37h7cecad7_0 conda-forge
krb5 1.20.1 hf9c8cef_0 conda-forge
latexcodec 2.0.1 pyh9f0ad1d_0 conda-forge
lcms2 2.11 hcbb858e_1 conda-forge
ld_impl_linux-64 2.40 h41732ed_0 conda-forge
libblas 3.9.0 8_openblas conda-forge
libbrotlicommon 1.1.0 hd590300_1 conda-forge
libbrotlidec 1.1.0 hd590300_1 conda-forge
libbrotlienc 1.1.0 hd590300_1 conda-forge
libcblas 3.9.0 8_openblas conda-forge
libcurl 7.87.0 h6312ad2_0 conda-forge
libedit 3.1.20191231 he28a2e2_2 conda-forge
libev 4.33 h516909a_1 conda-forge
libevent 2.1.10 h9b69904_4 conda-forge
libexpat 2.5.0 hcb278e6_1 conda-forge
libffi 3.4.2 h7f98852_5 conda-forge
libgcc-ng 13.2.0 h807b86a_2 conda-forge
libgfortran-ng 7.5.0 h14aa051_20 conda-forge
libgfortran4 7.5.0 h14aa051_20 conda-forge
libglib 2.78.0 hebfc3b9_0 conda-forge
libgomp 13.2.0 h807b86a_2 conda-forge
libiconv 1.17 h166bdaf_0 conda-forge
liblapack 3.9.0 8_openblas conda-forge
libnghttp2 1.51.0 hdcd2b5c_0 conda-forge
libnsl 2.0.0 hd590300_1 conda-forge
libopenblas 0.3.12 pthreads_hb3c22a3_1 conda-forge
libpng 1.6.39 h753d276_0 conda-forge
libprotobuf 3.8.0 h8b12597_0 conda-forge
libsodium 1.0.18 h36c2ea0_1 conda-forge
libsqlite 3.43.2 h2797004_0 conda-forge
libssh2 1.10.0 haa6b8db_3 conda-forge
libstdcxx-ng 13.2.0 h7e041cc_2 conda-forge
libtiff 4.1.0 hc3755c2_3 conda-forge
libuuid 2.38.1 h0b41bf4_0 conda-forge
libxcb 1.16 hd590300_0 conda-forge
libxml2 2.9.9 h13577e0_2 conda-forge
libzlib 1.2.13 hd590300_5 conda-forge
lz4-c 1.8.3 he1b5a44_1001 conda-forge
lzo 2.10 h516909a_1000 conda-forge
markupsafe 2.1.1 py37h540881e_1 conda-forge
matplotlib 3.3.2 py37h89c1867_1 conda-forge
matplotlib-base 3.3.2 py37hd478181_0 conda-forge
matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge
mistune 3.0.1 pyhd8ed1ab_0 conda-forge
mock 5.1.0 pyhd8ed1ab_0 conda-forge
nbclassic 1.0.0 pyhb4ecaf3_1 conda-forge
nbclient 0.7.0 pyhd8ed1ab_0 conda-forge
nbconvert 7.6.0 pyhd8ed1ab_0 conda-forge
nbconvert-core 7.6.0 pyhd8ed1ab_0 conda-forge
nbconvert-pandoc 7.6.0 pyhd8ed1ab_0 conda-forge
nbformat 5.8.0 pyhd8ed1ab_0 conda-forge
nbsphinx 0.9.3 pyhd8ed1ab_0 conda-forge
ncurses 6.4 hcb278e6_0 conda-forge
nest-asyncio 1.5.7 pyhd8ed1ab_0 conda-forge
notebook 6.5.6 pyha770c72_0 conda-forge
notebook-shim 0.2.3 pyhd8ed1ab_0 conda-forge
numexpr 2.7.1 py37h0da4684_1 conda-forge
numpy 1.15.4 py37h8b7e671_1002 conda-forge
numpydoc 1.5.0 pyhd8ed1ab_0 conda-forge
olefile 0.46 pyh9f0ad1d_1 conda-forge
openssl 1.1.1w hd590300_0 conda-forge
packaging 23.2 pyhd8ed1ab_0 conda-forge
pandas 1.0.5 py37h0da4684_0 conda-forge
pandoc 3.1.3 h32600fe_0 conda-forge
pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge
parquet-cpp 1.5.1 2 conda-forge
parso 0.8.3 pyhd8ed1ab_0 conda-forge
pbr 5.11.1 pyhd8ed1ab_0 conda-forge
pcre2 10.40 hc3806b6_0 conda-forge
pexpect 4.8.0 pyh1a96a4e_2 conda-forge
pickleshare 0.7.5 py_1003 conda-forge
pillow 8.1.0 py37he6b4880_1 conda-forge
pip 23.2.1 pyhd8ed1ab_0 conda-forge
pkgutil-resolve-name 1.3.10 pyhd8ed1ab_1 conda-forge
pluggy 1.0.0 py37h89c1867_3 conda-forge
prometheus_client 0.17.1 pyhd8ed1ab_0 conda-forge
prompt-toolkit 3.0.39 pyha770c72_0 conda-forge
psutil 5.9.3 py37h540881e_0 conda-forge
pthread-stubs 0.4 h36c2ea0_1001 conda-forge
ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge
pyarrow 0.14.1 py37h8b68381_1 conda-forge
pybtex 0.24.0 pyhd8ed1ab_2 conda-forge
pybtex-docutils 1.0.2 py37h89c1867_1 conda-forge
pycparser 2.21 pyhd8ed1ab_0 conda-forge
pygments 2.16.1 pyhd8ed1ab_0 conda-forge
pyparsing 2.2.2 py_0 conda-forge
pyqt 5.9.2 py37hcca6a23_4 conda-forge
pyrsistent 0.18.1 py37h540881e_1 conda-forge
pysocks 1.7.1 py37h89c1867_5 conda-forge
pytables 3.6.1 py37h56451d4_2 conda-forge
pytest 7.4.2 pyhd8ed1ab_0 conda-forge
pytest-arraydiff 0.6.0.alpha1 pyh7b7c402_0 epassaro
pytest-astropy 0.10.0 pyhd8ed1ab_0 conda-forge
pytest-astropy-header 0.2.2 pyhd8ed1ab_0 conda-forge
pytest-cov 4.1.0 pyhd8ed1ab_0 conda-forge
pytest-doctestplus 1.0.0 pyhd8ed1ab_0 conda-forge
pytest-filter-subpackage 0.1.2 pyhd8ed1ab_0 conda-forge
pytest-mock 3.11.1 pyhd8ed1ab_0 conda-forge
pytest-openfiles 0.5.0 py_0 conda-forge
pytest-remotedata 0.4.1 pyhd8ed1ab_0 conda-forge
python 3.7.12 hb7a2778_100_cpython conda-forge
python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
python-fastjsonschema 2.18.1 pyhd8ed1ab_0 conda-forge
python_abi 3.7 4_cp37m conda-forge
pytz 2023.3.post1 pyhd8ed1ab_0 conda-forge
pyyaml 6.0 py37h540881e_4 conda-forge
pyzmq 24.0.1 py37h0c0c2a8_0 conda-forge
qt 5.9.7 h5867ecd_1
re2 2020.04.01 he1b5a44_0 conda-forge
readline 8.2 h8228510_1 conda-forge
recommonmark 0.7.1 pyhd8ed1ab_0 conda-forge
requests 2.31.0 pyhd8ed1ab_0 conda-forge
roman 4.1 pyhd8ed1ab_0 conda-forge
scipy 1.5.1 py37ha3d9a3c_0 conda-forge
send2trash 1.8.2 pyh41d4057_0 conda-forge
setuptools 59.8.0 py37h89c1867_1 conda-forge
setuptools-scm 7.0.5 pyhd8ed1ab_0 conda-forge
setuptools_scm 7.0.5 hd8ed1ab_1 conda-forge
sip 4.19.8 py37hf484d3e_1000 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
snappy 1.1.10 h9fff704_0 conda-forge
sniffio 1.3.0 pyhd8ed1ab_0 conda-forge
snowballstemmer 2.2.0 pyhd8ed1ab_0 conda-forge
sortedcontainers 2.4.0 pyhd8ed1ab_0 conda-forge
soupsieve 2.3.2.post1 pyhd8ed1ab_0 conda-forge
sphinx 5.3.0 pyhd8ed1ab_0 conda-forge
sphinx-astropy 1.9.1 pyhd8ed1ab_0 conda-forge
sphinx-automodapi 0.16.0 pyh6ff6d48_0 conda-forge
sphinx-copybutton 0.5.2 pyhd8ed1ab_0 conda-forge
sphinx-gallery 0.14.0 pyhd8ed1ab_0 conda-forge
sphinx_bootstrap_theme 0.8.1 pyhd8ed1ab_0 conda-forge
sphinx_rtd_theme 1.3.0 pyha770c72_0 conda-forge
sphinxcontrib-apidoc 0.3.0 py_1 conda-forge
sphinxcontrib-applehelp 1.0.4 pyhd8ed1ab_0 conda-forge
sphinxcontrib-bibtex 2.5.0 pyhd8ed1ab_0 conda-forge
sphinxcontrib-devhelp 1.0.2 py_0 conda-forge
sphinxcontrib-htmlhelp 2.0.1 pyhd8ed1ab_0 conda-forge
sphinxcontrib-jquery 4.1 pyhd8ed1ab_0 conda-forge
sphinxcontrib-jsmath 1.0.1 pyhd8ed1ab_0 conda-forge
sphinxcontrib-qthelp 1.0.3 py_0 conda-forge
sphinxcontrib-serializinghtml 1.1.5 pyhd8ed1ab_2 conda-forge
sqlalchemy 1.2.18 py37h14c3975_0 conda-forge
sqlite 3.43.2 h2c6b66d_0 conda-forge
terminado 0.17.1 pyh41d4057_0 conda-forge
thrift-cpp 0.12.0 hf3afdfd_1004 conda-forge
tinycss2 1.2.1 pyhd8ed1ab_0 conda-forge
tk 8.6.13 h2797004_0 conda-forge
toml 0.10.2 pyhd8ed1ab_0 conda-forge
tomli 2.0.1 pyhd8ed1ab_0 conda-forge
tornado 6.2 py37h540881e_0 conda-forge
tqdm 4.66.1 pyhd8ed1ab_0 conda-forge
traitlets 5.9.0 pyhd8ed1ab_0 conda-forge
typing-extensions 4.7.1 hd8ed1ab_0 conda-forge
typing_extensions 4.7.1 pyha770c72_0 conda-forge
tzdata 2023c h71feb2d_0 conda-forge
uncertainties 3.1.7 pyhd8ed1ab_0 conda-forge
uriparser 0.9.7 hcb278e6_1 conda-forge
urllib3 2.0.6 pyhd8ed1ab_0 conda-forge
wcwidth 0.2.8 pyhd8ed1ab_0 conda-forge
webencodings 0.5.1 pyhd8ed1ab_2 conda-forge
websocket-client 1.6.1 pyhd8ed1ab_0 conda-forge
wheel 0.41.2 pyhd8ed1ab_0 conda-forge
xorg-libxau 1.0.11 hd590300_0 conda-forge
xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge
xz 5.2.6 h166bdaf_0 conda-forge
yaml 0.2.5 h7f98852_2 conda-forge
zeromq 4.3.4 h9c3ff4c_1 conda-forge
zipp 3.15.0 pyhd8ed1ab_0 conda-forge
zlib 1.2.13 hd590300_5 conda-forge
zstd 1.4.4 h3b9ef0a_2 conda-forge
Additional context
andrewfullard commented
Should be resolved following the merge of #406