-
Notifications
You must be signed in to change notification settings - Fork 15
Description
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.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. Ubuntu 22.04, Mac OS 12.5, Windows 11, etc.]
Additional context
Add any other context about the problem here.
(base) michelle@caboose:~$ mila code /home/
Olexa and i spent 3 hours trying to debug this.
Traceback (most recent call last):
File "/home/michelle/.local/lib/python3.9/site-packages/milatools/cli/commands.py", line 42, in main
auto_cli(milatools)
File "/home/michelle/.local/lib/python3.9/site-packages/coleo/cli.py", line 656, in auto_cli
result = run_cli(entry, args, **kwargs)
File "/home/michelle/.local/lib/python3.9/site-packages/coleo/cli.py", line 628, in run_cli
return call(opts=opts, args=args)
File "/home/michelle/.local/lib/python3.9/site-packages/coleo/cli.py", line 587, in thunk
result = fn(*args)
File "/home/michelle/.local/lib/python3.9/site-packages/milatools/cli/commands.py", line 308, in code
remote = Remote("mila")
File "/home/michelle/.local/lib/python3.9/site-packages/milatools/cli/remote.py", line 83, in init
connection.open()
File "/home/michelle/.local/lib/python3.9/site-packages/fabric/connection.py", line 636, in open
self.client.connect(**kwargs)
File "/usr/lib/python3/dist-packages/paramiko/client.py", line 435, in connect
self._auth(
File "/usr/lib/python3/dist-packages/paramiko/client.py", line 764, in _auth
raise saved_exception
File "/usr/lib/python3/dist-packages/paramiko/client.py", line 740, in _auth
self._transport.auth_publickey(username, key)
File "/usr/lib/python3/dist-packages/paramiko/transport.py", line 1580, in auth_publickey
return self.auth_handler.wait_for_response(my_event)
File "/usr/lib/python3/dist-packages/paramiko/auth_handler.py", line 250, in wait_for_response
raise e
paramiko.ssh_exception.AuthenticationException: Authentication failed.
An error occured during the execution of the command code. Please try updating milatools by running
pip install milatools --upgrade
in the terminal. If the issue persists, consider filling a bug report at https://github.com/mila-iqia/milatools/issues/new?labels=code%2C0.0.16&template=bug_report.md&title=%5Bv0.0.16%5D+Issue+running+the+command+%60mila+code%60