Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v0.0.18] Issue running the command mila code #64

Open
rajeshkochi444 opened this issue Oct 31, 2023 · 0 comments
Open

[v0.0.18] Issue running the command mila code #64

rajeshkochi444 opened this issue Oct 31, 2023 · 0 comments

Comments

@rajeshkochi444
Copy link

rajeshkochi444 commented Oct 31, 2023

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.

(base) C:\Users\rajes>mila code .
Traceback (most recent call last):
  File "C:\Users\rajes\anaconda3\lib\site-packages\milatools\cli\commands.py", line 43, in main
    auto_cli(milatools)
  File "C:\Users\rajes\anaconda3\lib\site-packages\coleo\cli.py", line 656, in auto_cli
    result = run_cli(entry, args, **kwargs)
  File "C:\Users\rajes\anaconda3\lib\site-packages\coleo\cli.py", line 628, in run_cli
    return call(opts=opts, args=args)
  File "C:\Users\rajes\anaconda3\lib\site-packages\coleo\cli.py", line 587, in thunk
    result = fn(*args)
  File "C:\Users\rajes\anaconda3\lib\site-packages\milatools\cli\commands.py", line 285, in code
    remote = Remote("mila")
  File "C:\Users\rajes\anaconda3\lib\site-packages\milatools\cli\remote.py", line 84, in __init__
    connection.open()
  File "C:\Users\rajes\anaconda3\lib\site-packages\fabric\connection.py", line 636, in open
    self.client.connect(**kwargs)
  File "C:\Users\rajes\anaconda3\lib\site-packages\paramiko\client.py", line 435, in connect
    self._auth(
  File "C:\Users\rajes\anaconda3\lib\site-packages\paramiko\client.py", line 766, in _auth
    raise saved_exception
  File "C:\Users\rajes\anaconda3\lib\site-packages\paramiko\client.py", line 736, in _auth
    key = self._key_from_filepath(
  File "C:\Users\rajes\anaconda3\lib\site-packages\paramiko\client.py", line 588, in _key_from_filepath
    key = klass.from_private_key_file(key_path, password)
  File "C:\Users\rajes\anaconda3\lib\site-packages\paramiko\pkey.py", line 242, in from_private_key_file
    key = cls(filename=filename, password=password)
  File "C:\Users\rajes\anaconda3\lib\site-packages\paramiko\ed25519key.py", line 63, in __init__
    signing_key = self._parse_signing_key_data(data, password)
  File "C:\Users\rajes\anaconda3\lib\site-packages\paramiko\ed25519key.py", line 112, in _parse_signing_key_data
    raise SSHException("Invalid key")
paramiko.ssh_exception.SSHException: Invalid key

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.18&template=bug_report.md&title=%5Bv0.0.18%5D+Issue+running+the+command+%60mila+code%60
Please provide the error traceback with the report (the red text above).

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant