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
Make sure you can reproduce the issue with the latest version available
pip install milatools --upgrade
[milatools command e.g. mila code ...]
What command did you run?
[e.g. mila code ...]
Describe the bug
A clear and concise description of what the bug is. If there is an error
traceback, please paste it here.
can't open mila code
Traceback (most recent call last):
File "/Users/annabel/miniconda3/lib/python3.10/site-packages/milatools/cli/commands.py", line 43, in main
auto_cli(milatools)
File "/Users/annabel/miniconda3/lib/python3.10/site-packages/coleo/cli.py", line 656, in auto_cli
result = run_cli(entry, args, **kwargs)
File "/Users/annabel/miniconda3/lib/python3.10/site-packages/coleo/cli.py", line 628, in run_cli
return call(opts=opts, args=args)
File "/Users/annabel/miniconda3/lib/python3.10/site-packages/coleo/cli.py", line 587, in thunk
result = fn(*args)
File "/Users/annabel/miniconda3/lib/python3.10/site-packages/milatools/cli/commands.py", line 291, in code
data, proc = cnode.ensure_allocation()
File "/Users/annabel/miniconda3/lib/python3.10/site-packages/milatools/cli/remote.py", line 271, in ensure_allocation
node_name = get_first_node_name(results["node_name"])
KeyError: 'node_name'
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Mac OS 13.4
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
The salloc message states Prolog failure on node cn-b001, which I believe usually indicates there is an issue with that particular node. Try again, possibly adding -x cn-b001 to make sure it picks a different node.
lebrice
changed the title
[v0.0.18] Issue running the command mila code
[v0.0.18] Issue running the command mila code: KeyError: 'node_name'
Nov 8, 2023
Make sure you can reproduce the issue with the latest version available
What command did you run?
[e.g.
mila code ...
]Describe the bug
A clear and concise description of what the bug is. If there is an error
traceback, please paste it here.
can't open mila code
Traceback (most recent call last):
File "/Users/annabel/miniconda3/lib/python3.10/site-packages/milatools/cli/commands.py", line 43, in main
auto_cli(milatools)
File "/Users/annabel/miniconda3/lib/python3.10/site-packages/coleo/cli.py", line 656, in auto_cli
result = run_cli(entry, args, **kwargs)
File "/Users/annabel/miniconda3/lib/python3.10/site-packages/coleo/cli.py", line 628, in run_cli
return call(opts=opts, args=args)
File "/Users/annabel/miniconda3/lib/python3.10/site-packages/coleo/cli.py", line 587, in thunk
result = fn(*args)
File "/Users/annabel/miniconda3/lib/python3.10/site-packages/milatools/cli/commands.py", line 291, in code
data, proc = cnode.ensure_allocation()
File "/Users/annabel/miniconda3/lib/python3.10/site-packages/milatools/cli/remote.py", line 271, in ensure_allocation
node_name = get_first_node_name(results["node_name"])
KeyError: 'node_name'
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Mac OS 13.4
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: