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

ERROR: Failure: AttributeError (kernelspec) #18

Open
gramster opened this issue Jul 28, 2015 · 1 comment
Open

ERROR: Failure: AttributeError (kernelspec) #18

gramster opened this issue Jul 28, 2015 · 1 comment

Comments

@gramster
Copy link

We have finally upgraded our environment to IPython 3, so I'm trying nosebook again. Now on every notebook I get:

E
======================================================================
ERROR: Failure: AttributeError (kernelspec)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/gram/anaconda/lib/python2.7/site-packages/nose/plugins/manager.py", line 154, in generate
    for r in result:
   File "/Users/gram/anaconda/lib/python2.7/site-packages/nosebook.py", line 212, in loadTestsFromFile
    kernel = self.newKernel(nb)
  File "/Users/gram/anaconda/lib/python2.7/site-packages/nosebook.py", line 65, in newKernel
    kernel_name=nb.metadata.kernelspec.name
  File "/Users/gram/anaconda/lib/python2.7/site-packages/IPython/utils/ipstruct.py", line 149, in __getattr__
    raise AttributeError(key)
AttributeError: kernelspec

----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1)
@bollwyvl
Copy link
Owner

Hm. Now you've gone and confused the matrix, i suppose. I guess it's not
trying to convert anymore, but the notebooks are still in the old format?

On 19:14, Tue, Jul 28, 2015 Graham Wheeler [email protected] wrote:

We have finally upgraded our environment to IPython 3, so I'm trying
nosebook again. Now on every notebook I get:
E ERROR: Failure: AttributeError (kernelspec)

Traceback (most recent call last):
File
"/Users/gram/anaconda/lib/python2.7/site-packages/nose/plugins/manager.py",
line 154, in generate
for r in result:
File "/Users/gram/anaconda/lib/python2.7/site-packages/nosebook.py", line
212, in loadTestsFromFile
kernel = self.newKernel(nb)
File "/Users/gram/anaconda/lib/python2.7/site-packages/nosebook.py", line
65, in newKernel
kernel_name=nb.metadata.kernelspec.name
File
"/Users/gram/anaconda/lib/python2.7/site-packages/IPython/utils/ipstruct.py",
line 149, in getattr
raise AttributeError(key)

AttributeError: kernelspec

Ran 1 test in 0.001s

FAILED (errors=1)


Reply to this email directly or view it on GitHub
#18.

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

2 participants