[NbConvertApp] Converting notebook 23_ScintillationProbes_MT.ipynb to html 0.00s - Debugger warning: It seems that frozen modules are being used, which may 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off 0.00s - to python to disable frozen modules. 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. 0.00s - Debugger warning: It seems that frozen modules are being used, which may 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off 0.00s - to python to disable frozen modules. 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. Traceback (most recent call last): File "/opt/anaconda3/envs/tunklScintHiRes/bin/jupyter-nbconvert", line 11, in sys.exit(main()) ^^^^^^ File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/jupyter_core/application.py", line 280, in launch_instance super().launch_instance(argv=argv, **kwargs) File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/traitlets/config/application.py", line 992, in launch_instance app.start() File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/nbconvert/nbconvertapp.py", line 412, in start self.convert_notebooks() File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/nbconvert/nbconvertapp.py", line 590, in convert_notebooks self.convert_single_notebook(notebook_filename) File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/nbconvert/nbconvertapp.py", line 556, in convert_single_notebook output, resources = self.export_single_notebook( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/nbconvert/nbconvertapp.py", line 479, in export_single_notebook output, resources = self.exporter.from_filename( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/nbconvert/exporters/templateexporter.py", line 389, in from_filename return super().from_filename(filename, resources, **kw) # type:ignore[return-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/nbconvert/exporters/exporter.py", line 203, in from_filename return self.from_file(f, resources=resources, **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/nbconvert/exporters/templateexporter.py", line 395, in from_file return super().from_file(file_stream, resources, **kw) # type:ignore[return-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/nbconvert/exporters/exporter.py", line 222, in from_file return self.from_notebook_node( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/nbconvert/exporters/html.py", line 260, in from_notebook_node html, resources = super().from_notebook_node(nb, resources, **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/nbconvert/exporters/templateexporter.py", line 411, in from_notebook_node nb_copy, resources = super().from_notebook_node(nb, resources, **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/nbconvert/exporters/exporter.py", line 156, in from_notebook_node nb_copy, resources = self._preprocess(nb_copy, resources) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/nbconvert/exporters/exporter.py", line 354, in _preprocess nbc, resc = preprocessor(nbc, resc) # type:ignore[operator] ^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/nbconvert/preprocessors/base.py", line 48, in __call__ return self.preprocess(nb, resources) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/nbconvert/preprocessors/execute.py", line 102, in preprocess self.preprocess_cell(cell, resources, index) File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/nbconvert/preprocessors/execute.py", line 123, in preprocess_cell cell = self.execute_cell(cell, index, store_history=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/jupyter_core/utils/__init__.py", line 173, in wrapped return loop.run_until_complete(inner) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/nbclient/client.py", line 1058, in async_execute_cell await self._check_raise_for_error(cell, cell_index, exec_reply) File "/opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/nbclient/client.py", line 914, 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: ------------------ # load data locally fnames = ['DAS_raw_data_dir/ch2.wfm', 'DAS_raw_data_dir/ch3.wfm', 'DAS_raw_data_dir/ch4.wfm', 'DAS_raw_data_dir/ch5.wfm', 'DAS_raw_data_dir/ch6.wfm', 'DAS_raw_data_dir/ch7.wfm'] if not os.path.isfile('DAS_raw_data_dir/ch6.wfm'): # or download from web (slow) ds = np.DataSource('/tmp/') for i, ch_no in enumerate(range(2,8)): try: file = ds.open(f'http://golem.fjfi.cvut.cz/shots/{shot_no}/Devices/Oscilloscopes/TektrMSO58-a/ch{ch_no}.wfm', mode = 'rb') fnames[i] = file.name file.close() except (ConnectionError, FileNotFoundError): err = Markdown('### Can not download data') t_vec, y_ch2 = readwfm(fnames[0]) _, y_ch3 = readwfm(fnames[1]) _, y_ch4 = readwfm(fnames[2]) _, y_ch5 = readwfm(fnames[3]) _, y_ch6 = readwfm(fnames[4]) _, y_ch7 = readwfm(fnames[5]) ------------------ --------------------------------------------------------------------------- FileNotFoundError Traceback (most recent call last) Cell In[5], line 20  17 except (ConnectionError, FileNotFoundError):  18 err = Markdown('### Can not download data') ---> 20 t_vec, y_ch2 = readwfm(fnames[0])  21 _, y_ch3 = readwfm(fnames[1])  22 _, y_ch4 = readwfm(fnames[2]) Cell In[4], line 123, in readwfm(path)  122 def readwfm(path): --> 123 volts, tstart, tscale, tfrac, tdatefrac, tdate = read_wfm(path)  124 toff = tfrac * tscale  125 samples, frames = volts.shape Cell In[4], line 20, in read_wfm(target)  18 def read_wfm(target):  19  """return sample data from target WFM file""" ---> 20 with open(target, 'rb') as f:  21 hbytes = f.read(838)  22 meta = decode_header(hbytes) File /opt/anaconda3/envs/tunklScintHiRes/lib/python3.11/site-packages/IPython/core/interactiveshell.py:310, in _modified_open(file, *args, **kwargs)  303 if file in {0, 1, 2}:  304 raise ValueError(  305 f"IPython won't let you open fd={file} by default "  306 "as it is likely to crash IPython. If you know what you are doing, "  307 "you can use builtins' open."  308 ) --> 310 return io_open(file, *args, **kwargs) FileNotFoundError: [Errno 2] No such file or directory: 'DAS_raw_data_dir/ch2.wfm' ERROR conda.cli.main_run:execute(49): `conda run jupyter-nbconvert --ExecutePreprocessor.timeout=300 --to html --execute 23_ScintillationProbes_MT.ipynb --output analysis.html` failed. (See above for error)