/
2_robo_dictionary.log
51 lines (46 loc) · 3.68 KB
/
2_robo_dictionary.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Traceback (most recent call last):
File "/mnt/software/anaconda3/lib/python3.8/site-packages/jupyter_cache/executors/utils.py", line 51, in single_nb_execution
executenb(
File "/mnt/software/anaconda3/lib/python3.8/site-packages/nbclient/client.py", line 1112, in execute
return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute()
File "/mnt/software/anaconda3/lib/python3.8/site-packages/nbclient/util.py", line 74, in wrapped
return just_run(coro(*args, **kwargs))
File "/mnt/software/anaconda3/lib/python3.8/site-packages/nbclient/util.py", line 53, in just_run
return loop.run_until_complete(coro)
File "/mnt/software/anaconda3/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/mnt/software/anaconda3/lib/python3.8/site-packages/nbclient/client.py", line 553, in async_execute
await self.async_execute_cell(
File "/mnt/software/anaconda3/lib/python3.8/site-packages/nbclient/client.py", line 857, in async_execute_cell
self._check_raise_for_error(cell, exec_reply)
File "/mnt/software/anaconda3/lib/python3.8/site-packages/nbclient/client.py", line 760, 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:
------------------
get_allocation()
------------------
[0;31m---------------------------------------------------------------------------[0m
[0;31mStdinNotImplementedError[0m Traceback (most recent call last)
[0;32m<ipython-input-2-19454c49e5b0>[0m in [0;36m<module>[0;34m[0m
[0;32m----> 1[0;31m [0mget_allocation[0m[0;34m([0m[0;34m)[0m[0;34m[0m[0;34m[0m[0m
[0m
[0;32m<ipython-input-1-bbc80d1b0c91>[0m in [0;36mget_allocation[0;34m()[0m
[1;32m 23[0m [0;32mdef[0m [0mget_allocation[0m[0;34m([0m[0;34m)[0m[0;34m:[0m[0;34m[0m[0;34m[0m[0m
[1;32m 24[0m [0;34m[0m[0m
[0;32m---> 25[0;31m [0mage[0m [0;34m=[0m [0mget_age[0m[0;34m([0m[0;34m)[0m[0;34m[0m[0;34m[0m[0m
[0m[1;32m 26[0m [0;34m[0m[0m
[1;32m 27[0m [0;31m# apply rule of 100[0m[0;34m[0m[0;34m[0m[0;34m[0m[0m
[0;32m<ipython-input-1-bbc80d1b0c91>[0m in [0;36mget_age[0;34m()[0m
[1;32m 2[0m [0mneed_age[0m [0;34m=[0m [0;32mTrue[0m[0;34m[0m[0;34m[0m[0m
[1;32m 3[0m [0;32mwhile[0m [0mneed_age[0m[0;34m:[0m[0;34m[0m[0;34m[0m[0m
[0;32m----> 4[0;31m [0mage[0m [0;34m=[0m [0minput[0m[0;34m([0m[0;34m'What is your age? Enter it as a numberic argument (e.g. "50", not "fifty")\n'[0m[0;34m)[0m[0;34m[0m[0;34m[0m[0m
[0m[1;32m 5[0m [0;32mtry[0m[0;34m:[0m[0;34m[0m[0;34m[0m[0m
[1;32m 6[0m [0mage[0m [0;34m=[0m [0mint[0m[0;34m([0m[0mage[0m[0;34m)[0m [0;31m# this will break (raise an exception) if age is not numeric[0m[0;34m[0m[0;34m[0m[0m
[0;32m/mnt/software/anaconda3/lib/python3.8/site-packages/ipykernel/kernelbase.py[0m in [0;36mraw_input[0;34m(self, prompt)[0m
[1;32m 855[0m """
[1;32m 856[0m [0;32mif[0m [0;32mnot[0m [0mself[0m[0;34m.[0m[0m_allow_stdin[0m[0;34m:[0m[0;34m[0m[0;34m[0m[0m
[0;32m--> 857[0;31m raise StdinNotImplementedError(
[0m[1;32m 858[0m [0;34m"raw_input was called, but this frontend does not support input requests."[0m[0;34m[0m[0;34m[0m[0m
[1;32m 859[0m )
[0;31mStdinNotImplementedError[0m: raw_input was called, but this frontend does not support input requests.
StdinNotImplementedError: raw_input was called, but this frontend does not support input requests.