SpectroscopySchool/msspecbook/_build/html/reports/light/Activity01_light.err.log

70 lines
4.7 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Traceback (most recent call last):
File "/opt/msspec/msspec_venv/lib/python3.11/site-packages/jupyter_core/utils/__init__.py", line 154, in wrapped
asyncio.get_running_loop()
RuntimeError: no running event loop
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/msspec/msspec_venv/lib/python3.11/site-packages/jupyter_cache/executors/utils.py", line 58, in single_nb_execution
executenb(
File "/opt/msspec/msspec_venv/lib/python3.11/site-packages/nbclient/client.py", line 1319, in execute
return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/msspec/msspec_venv/lib/python3.11/site-packages/jupyter_core/utils/__init__.py", line 158, in wrapped
return loop.run_until_complete(inner)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/pyenv/versions/3.11.3/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/opt/msspec/msspec_venv/lib/python3.11/site-packages/nbclient/client.py", line 709, in async_execute
await self.async_execute_cell(
File "/opt/msspec/msspec_venv/lib/python3.11/site-packages/nbclient/client.py", line 1062, in async_execute_cell
await self._check_raise_for_error(cell, cell_index, exec_reply)
File "/opt/msspec/msspec_venv/lib/python3.11/site-packages/nbclient/client.py", line 918, in _check_raise_for_error
raise CellExecutionError.from_cell_and_msg(cell, exec_reply_content)
nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell:
------------------
from ase.io import read
from ase.visualize import view
from msspec.calculator import MSSPEC
cluster = read('copper.cif')
# view the cluster
view(cluster, viewer='x3d')
------------------
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
Cell In[3], line 6
 2 from ase.visualize import view
 3 from msspec.calculator import MSSPEC
----> 6 cluster = read('copper.cif')
 7 # view the cluster
 8 view(cluster, viewer='x3d')
File /opt/msspec/msspec_venv/lib/python3.11/site-packages/ase/io/formats.py:808, in read(filename, index, format, parallel, do_not_split_by_at_sign, **kwargs)
 806 if index is None:
 807 index = -1
--> 808 format = format or filetype(filename, read=isinstance(filename, str))
 810 io = get_ioformat(format)
 811 if isinstance(index, (slice, str)):
File /opt/msspec/msspec_venv/lib/python3.11/site-packages/ase/io/formats.py:983, in filetype(filename, read, guess)
 980 return ext
 982 if orig_filename == filename:
--> 983 fd = open_with_compression(filename, 'rb')
 984 else:
 985 fd = orig_filename # type: ignore[assignment]
File /opt/msspec/msspec_venv/lib/python3.11/site-packages/ase/io/formats.py:612, in open_with_compression(filename, mode)
 609 return lzma.open(filename, mode)
 610 else:
 611 # Either None or unknown string
--> 612 return open(filename, mode)
FileNotFoundError: [Errno 2] No such file or directory: 'copper.cif'