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
{{ message }}
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
When trying to create the release of an assignment with a few cells that take a long time to run, I encountered the following
File "/opt/conda/lib/python3.10/site-packages/nbgrader/preprocessors/instantiatetests.py", line 582, in _async_poll_for_reply_code
shell_msg = await self._ensure_async(self.kc.shell_channel.get_msg(timeout=new_timeout))
File "/opt/conda/lib/python3.10/site-packages/nbgrader/preprocessors/instantiatetests.py", line 475, in _ensure_async
result = await obj
File "/opt/conda/lib/python3.10/site-packages/jupyter_client/channels.py", line 230, in get_msg
raise Empty
_queue.Empty
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.10/site-packages/nbgrader/converters/base.py", line 390, in convert_notebooks
self.convert_single_notebook(notebook_filename)
File "/opt/conda/lib/python3.10/site-packages/nbgrader/converters/base.py", line 344, in convert_single_notebook
output, resources = self.exporter.from_filename(notebook_filename, resources=resources)
File "/opt/conda/lib/python3.10/site-packages/nbconvert/exporters/exporter.py", line 190, in from_filename
return self.from_file(f, resources=resources, **kw)
File "/opt/conda/lib/python3.10/site-packages/nbconvert/exporters/exporter.py", line 207, in from_file
return self.from_notebook_node(
File "/opt/conda/lib/python3.10/site-packages/nbconvert/exporters/notebook.py", line 35, in from_notebook_node
nb_copy, resources = super().from_notebook_node(nb, resources, **kw)
File "/opt/conda/lib/python3.10/site-packages/nbconvert/exporters/exporter.py", line 147, in from_notebook_node
nb_copy, resources = self._preprocess(nb_copy, resources)
File "/opt/conda/lib/python3.10/site-packages/nbconvert/exporters/exporter.py", line 342, in _preprocess
nbc, resc = preprocessor(nbc, resc)
File "/opt/conda/lib/python3.10/site-packages/nbconvert/preprocessors/base.py", line 47, in __call__
return self.preprocess(nb, resources)
File "/opt/conda/lib/python3.10/site-packages/nbgrader/preprocessors/instantiatetests.py", line 180, in preprocess
nb, resources = super(InstantiateTests, self).preprocess(nb, resources)
File "/opt/conda/lib/python3.10/site-packages/nbconvert/preprocessors/execute.py", line 91, in preprocess
self.preprocess_cell(cell, resources, index)
File "/opt/conda/lib/python3.10/site-packages/nbgrader/preprocessors/instantiatetests.py", line 322, in preprocess_cell
asyncio.run(self._async_execute_code_snippet("\n".join(non_autotest_code_lines)))
File "/opt/conda/lib/python3.10/site-packages/nest_asyncio.py", line 35, in run
return loop.run_until_complete(task)
File "/opt/conda/lib/python3.10/site-packages/nest_asyncio.py", line 90, in run_until_complete
return f.result()
File "/opt/conda/lib/python3.10/asyncio/futures.py", line 201, in result
raise self._exception.with_traceback(self._exception_tb)
File "/opt/conda/lib/python3.10/asyncio/tasks.py", line 234, in __step
result = coro.throw(exc)
File "/opt/conda/lib/python3.10/site-packages/nbgrader/preprocessors/instantiatetests.py", line 618, in _async_execute_code_snippet
msg = await task_poll_for_reply
File "/opt/conda/lib/python3.10/asyncio/futures.py", line 285, in __await__
yield self # This tells Task to wait for completion.
File "/opt/conda/lib/python3.10/asyncio/tasks.py", line 304, in __wakeup
future.result()
File "/opt/conda/lib/python3.10/asyncio/futures.py", line 201, in result
raise self._exception.with_traceback(self._exception_tb)
File "/opt/conda/lib/python3.10/asyncio/tasks.py", line 232, in __step
result = coro.send(None)
File "/opt/conda/lib/python3.10/site-packages/nbgrader/preprocessors/instantiatetests.py", line 599, in _async_poll_for_reply_code
await self._async_handle_timeout()
TypeError: InstantiateTests._async_handle_timeout() missing 1 required positional argument: 'timeout'
When trying to create the release of an assignment with a few cells that take a long time to run, I encountered the following
For an example, the DSCI 100 py_worksheet_inference1 will fail when sample sizes are set to 1500 (https://github.ubc.ca/UBC-DSCI/dsci-100-instructor/issues/763)
The text was updated successfully, but these errors were encountered: