You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jupyter-nbconvert --to pdfviahtml DataStructures.ipynb
[NbConvertApp] Converting notebook DataStructures.ipynb to pdfviahtml
[NbConvertApp] WARNING | Alternative text is missing on 1 image(s).
Traceback (most recent call last):
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/bin/jupyter-nbconvert", line 10, in
sys.exit(main())
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/jupyter_core/application.py", line 283, in launch_instance
super().launch_instance(argv=argv, **kwargs)
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/traitlets/config/application.py", line 1075, in launch_instance
app.start()
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/nbconvert/nbconvertapp.py", line 420, in start
self.convert_notebooks()
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/nbconvert/nbconvertapp.py", line 597, in convert_notebooks
self.convert_single_notebook(notebook_filename)
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/nbconvert/nbconvertapp.py", line 563, in convert_single_notebook
output, resources = self.export_single_notebook(
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/nbconvert/nbconvertapp.py", line 487, in export_single_notebook
output, resources = self.exporter.from_filename(
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/nbconvert/exporters/templateexporter.py", line 386, in from_filename
return super().from_filename(filename, resources, **kw) # type:ignore[return-value]
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/nbconvert/exporters/exporter.py", line 201, in from_filename
return self.from_file(f, resources=resources, **kw)
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/nbconvert/exporters/templateexporter.py", line 392, in from_file
return super().from_file(file_stream, resources, **kw) # type:ignore[return-value]
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/nbconvert/exporters/exporter.py", line 220, in from_file
return self.from_notebook_node(
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/notebook_as_pdf/init.py", line 235, in from_notebook_node
heading_positions = self.pool.submit(
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/concurrent/futures/_base.py", line 445, in result
return self.__get_result()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result
raise self._exception
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/notebook_as_pdf/init.py", line 187, in notebook_to_pdf
heading_positions = await html_to_pdf(f.name, pdf_path, pyppeteer_args)
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/notebook_as_pdf/init.py", line 25, in html_to_pdf
browser = await launch(
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/pyppeteer/launcher.py", line 307, in launch
return await Launcher(options, **kwargs).launch()
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/pyppeteer/launcher.py", line 168, in launch
self.browserWSEndpoint = get_ws_endpoint(self.url)
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/pyppeteer/launcher.py", line 227, in get_ws_endpoint
raise BrowserError('Browser closed unexpectedly:\n')
pyppeteer.errors.BrowserError: Browser closed unexpectedly:
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/pyppeteer/launcher.py", line 153, in _close_process
self._loop.run_until_complete(self.killChrome())
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 617, in run_until_complete
self._check_closed()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 510, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
sys:1: RuntimeWarning: coroutine 'Launcher.killChrome' was never awaited
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
The text was updated successfully, but these errors were encountered:
jupyter-nbconvert --to pdfviahtml DataStructures.ipynb
[NbConvertApp] Converting notebook DataStructures.ipynb to pdfviahtml
[NbConvertApp] WARNING | Alternative text is missing on 1 image(s).
Traceback (most recent call last):
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/bin/jupyter-nbconvert", line 10, in
sys.exit(main())
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/jupyter_core/application.py", line 283, in launch_instance
super().launch_instance(argv=argv, **kwargs)
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/traitlets/config/application.py", line 1075, in launch_instance
app.start()
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/nbconvert/nbconvertapp.py", line 420, in start
self.convert_notebooks()
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/nbconvert/nbconvertapp.py", line 597, in convert_notebooks
self.convert_single_notebook(notebook_filename)
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/nbconvert/nbconvertapp.py", line 563, in convert_single_notebook
output, resources = self.export_single_notebook(
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/nbconvert/nbconvertapp.py", line 487, in export_single_notebook
output, resources = self.exporter.from_filename(
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/nbconvert/exporters/templateexporter.py", line 386, in from_filename
return super().from_filename(filename, resources, **kw) # type:ignore[return-value]
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/nbconvert/exporters/exporter.py", line 201, in from_filename
return self.from_file(f, resources=resources, **kw)
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/nbconvert/exporters/templateexporter.py", line 392, in from_file
return super().from_file(file_stream, resources, **kw) # type:ignore[return-value]
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/nbconvert/exporters/exporter.py", line 220, in from_file
return self.from_notebook_node(
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/notebook_as_pdf/init.py", line 235, in from_notebook_node
heading_positions = self.pool.submit(
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/concurrent/futures/_base.py", line 445, in result
return self.__get_result()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result
raise self._exception
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/notebook_as_pdf/init.py", line 187, in notebook_to_pdf
heading_positions = await html_to_pdf(f.name, pdf_path, pyppeteer_args)
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/notebook_as_pdf/init.py", line 25, in html_to_pdf
browser = await launch(
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/pyppeteer/launcher.py", line 307, in launch
return await Launcher(options, **kwargs).launch()
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/pyppeteer/launcher.py", line 168, in launch
self.browserWSEndpoint = get_ws_endpoint(self.url)
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/pyppeteer/launcher.py", line 227, in get_ws_endpoint
raise BrowserError('Browser closed unexpectedly:\n')
pyppeteer.errors.BrowserError: Browser closed unexpectedly:
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/Volumes/T7 Shield/s2/ysda-py-1/public-2023-fall/venv/lib/python3.9/site-packages/pyppeteer/launcher.py", line 153, in _close_process
self._loop.run_until_complete(self.killChrome())
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 617, in run_until_complete
self._check_closed()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 510, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
sys:1: RuntimeWarning: coroutine 'Launcher.killChrome' was never awaited
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
The text was updated successfully, but these errors were encountered: