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

Keyerror: 'language' #52

Open
yashjakhotiya opened this issue Sep 18, 2021 · 2 comments
Open

Keyerror: 'language' #52

yashjakhotiya opened this issue Sep 18, 2021 · 2 comments

Comments

@yashjakhotiya
Copy link

 ➜  Downloads nbterm Yash\'s_copy_of_TextClassification_release.ipynb 
Traceback (most recent call last):
  File "/home/yash-jakhotiya/.local/bin/nbterm", line 8, in <module>
    sys.exit(cli())
  File "/home/yash-jakhotiya/.local/lib/python3.8/site-packages/nbterm/nbterm.py", line 85, in cli
    typer.run(main)
  File "/home/yash-jakhotiya/.local/lib/python3.8/site-packages/typer/main.py", line 864, in run
    app()
  File "/home/yash-jakhotiya/.local/lib/python3.8/site-packages/typer/main.py", line 214, in __call__
    return get_command(self)(*args, **kwargs)
  File "/home/yash-jakhotiya/.local/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/home/yash-jakhotiya/.local/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/home/yash-jakhotiya/.local/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/yash-jakhotiya/.local/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/home/yash-jakhotiya/.local/lib/python3.8/site-packages/typer/main.py", line 500, in wrapper
    return callback(**use_params)  # type: ignore
  File "/home/yash-jakhotiya/.local/lib/python3.8/site-packages/nbterm/nbterm.py", line 65, in main
    nb = Notebook(
  File "/home/yash-jakhotiya/.local/lib/python3.8/site-packages/nbterm/notebook.py", line 79, in __init__
    self.read_nb()
  File "/home/yash-jakhotiya/.local/lib/python3.8/site-packages/nbterm/format.py", line 16, in read_nb
    self.set_language()  # type: ignore
  File "/home/yash-jakhotiya/.local/lib/python3.8/site-packages/nbterm/notebook.py", line 91, in set_language
    self.language = self.json["metadata"]["kernelspec"]["language"]
KeyError: 'language'

@joshjetson
Copy link

I am experiencing the same issue.

@vinibosch
Copy link

same 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

3 participants