Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Jobs are failing with "No such kernel named conda-root-py" #267

Closed
vitillo opened this issue Feb 27, 2017 · 3 comments
Closed

Jobs are failing with "No such kernel named conda-root-py" #267

vitillo opened this issue Feb 27, 2017 · 3 comments
Assignees

Comments

@vitillo
Copy link
Contributor

vitillo commented Feb 27, 2017

The following jobs are affected:

  • container-testpilottest-pipeline
  • addon-okr-data-to-s3
  • txp-pulse-etl
  • txp-snoozetabs-etl
Picked up _JAVA_OPTIONS: -Djava.io.tmpdir=/mnt1/ -Xmx15000M -Xms1000M
[NbConvertApp] Searching [u'/home/hadoop/analyses/output', '/home/hadoop/.jupyter', '/home/hadoop/anaconda2/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[NbConvertApp] Looking for jupyter_config in /etc/jupyter
[NbConvertApp] Looking for jupyter_config in /usr/local/etc/jupyter
[NbConvertApp] Looking for jupyter_config in /home/hadoop/anaconda2/etc/jupyter
[NbConvertApp] Looking for jupyter_config in /home/hadoop/.jupyter
[NbConvertApp] Looking for jupyter_config in /home/hadoop/analyses/output
[NbConvertApp] Looking for jupyter_nbconvert_config in /etc/jupyter
[NbConvertApp] Looking for jupyter_nbconvert_config in /usr/local/etc/jupyter
[NbConvertApp] Looking for jupyter_nbconvert_config in /home/hadoop/anaconda2/etc/jupyter
[NbConvertApp] Looking for jupyter_nbconvert_config in /home/hadoop/.jupyter
[NbConvertApp] Looking for jupyter_nbconvert_config in /home/hadoop/analyses/output
[NbConvertApp] Converting notebook ../container_pipeline.ipynb to notebook
[NbConvertApp] Notebook name is 'container_pipeline'
[NbConvertApp] Applying preprocessor: ExecutePreprocessor
[NbConvertApp] Executing notebook with kernel: conda-root-py
[NbConvertApp] Native kernel (python2) available from /home/hadoop/anaconda2/lib/python2.7/site-packages/ipykernel/resources
Traceback (most recent call last):
  File "/home/hadoop/anaconda2/bin/jupyter-nbconvert", line 6, in <module>
    main()
  File "/home/hadoop/anaconda2/lib/python2.7/site-packages/jupyter_core/application.py", line 267, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/home/hadoop/anaconda2/lib/python2.7/site-packages/traitlets/config/application.py", line 653, in launch_instance
    app.start()
  File "/home/hadoop/anaconda2/lib/python2.7/site-packages/nbconvert/nbconvertapp.py", line 293, in start
    self.convert_notebooks()
  File "/home/hadoop/anaconda2/lib/python2.7/site-packages/nbconvert/nbconvertapp.py", line 457, in convert_notebooks
    self.convert_single_notebook(notebook_filename)
  File "/home/hadoop/anaconda2/lib/python2.7/site-packages/nbconvert/nbconvertapp.py", line 428, in convert_single_notebook
    output, resources = self.export_single_notebook(notebook_filename, resources, input_buffer=input_buffer)
  File "/home/hadoop/anaconda2/lib/python2.7/site-packages/nbconvert/nbconvertapp.py", line 357, in export_single_notebook
    output, resources = self.exporter.from_filename(notebook_filename, resources=resources)
  File "/home/hadoop/anaconda2/lib/python2.7/site-packages/nbconvert/exporters/exporter.py", line 165, in from_filename
    return self.from_file(f, resources=resources, **kw)
  File "/home/hadoop/anaconda2/lib/python2.7/site-packages/nbconvert/exporters/exporter.py", line 183, in from_file
    return self.from_notebook_node(nbformat.read(file_stream, as_version=4), resources=resources, **kw)
  File "/home/hadoop/anaconda2/lib/python2.7/site-packages/nbconvert/exporters/notebook.py", line 26, in from_notebook_node
    nb_copy, resources = super(NotebookExporter, self).from_notebook_node(nb, resources, **kw)
  File "/home/hadoop/anaconda2/lib/python2.7/site-packages/nbconvert/exporters/exporter.py", line 130, in from_notebook_node
    nb_copy, resources = self._preprocess(nb_copy, resources)
  File "/home/hadoop/anaconda2/lib/python2.7/site-packages/nbconvert/exporters/exporter.py", line 302, in _preprocess
    nbc, resc = preprocessor(nbc, resc)
  File "/home/hadoop/anaconda2/lib/python2.7/site-packages/nbconvert/preprocessors/base.py", line 47, in __call__
    return self.preprocess(nb,resources)
  File "/home/hadoop/anaconda2/lib/python2.7/site-packages/nbconvert/preprocessors/execute.py", line 141, in preprocess
    cwd=path)
  File "/home/hadoop/anaconda2/lib/python2.7/site-packages/jupyter_client/manager.py", line 429, in start_new_kernel
    km.start_kernel(**kwargs)
  File "/home/hadoop/anaconda2/lib/python2.7/site-packages/jupyter_client/manager.py", line 230, in start_kernel
    kernel_cmd = self.format_kernel_cmd(extra_arguments=extra_arguments)
  File "/home/hadoop/anaconda2/lib/python2.7/site-packages/jupyter_client/manager.py", line 170, in format_kernel_cmd
    cmd = self.kernel_spec.argv + extra_arguments
  File "/home/hadoop/anaconda2/lib/python2.7/site-packages/jupyter_client/manager.py", line 82, in kernel_spec
    self._kernel_spec = self.kernel_spec_manager.get_kernel_spec(self.kernel_name)
  File "/home/hadoop/anaconda2/lib/python2.7/site-packages/jupyter_client/kernelspec.py", line 175, in get_kernel_spec
    raise NoSuchKernel(kernel_name)
jupyter_client.kernelspec.NoSuchKernel: No such kernel named conda-root-py
Picked up _JAVA_OPTIONS: -Djava.io.tmpdir=/mnt1/ -Xmx15000M -Xms1000M
[NbConvertApp] WARNING | pattern u'container_pipeline.ipynb' matched no files
Command exiting with ret '1'
@vitillo
Copy link
Contributor Author

vitillo commented Feb 27, 2017

cc @harterrt, @benmiroglio, @sunahsuh

@maurodoglio any idea what might be causing this problem?

@vitillo vitillo changed the title container-testpilottest-pipeline job is failing container-testpilottest-pipeline & addon-okr-data-to-s3 jobs are failing Feb 27, 2017
@vitillo vitillo changed the title container-testpilottest-pipeline & addon-okr-data-to-s3 jobs are failing container-testpilottest-pipeline, addon-okr-data-to-s3 & txp-snoozetabs-etl jobs are failing Feb 27, 2017
@vitillo vitillo changed the title container-testpilottest-pipeline, addon-okr-data-to-s3 & txp-snoozetabs-etl jobs are failing container-testpilottest-pipeline, addon-okr-data-to-s3, txp-pulse-etl & txp-snoozetabs-etl jobs are failing Feb 27, 2017
@vitillo vitillo changed the title container-testpilottest-pipeline, addon-okr-data-to-s3, txp-pulse-etl & txp-snoozetabs-etl jobs are failing Jobs are failing with "No such kernel named conda-root-py" Feb 27, 2017
@maurodoglio
Copy link
Contributor

Yeah, jupyter notebook and nbconvert don't see the installed kernels in the same way. We need to force nbconvert to use python2:

jupyter nbconvert --ExecutePreprocessor.kernel_name=python2 ...

@maurodoglio maurodoglio self-assigned this Mar 2, 2017
@maurodoglio
Copy link
Contributor

This was fixed by mozilla/emr-bootstrap-spark#71

jezdez pushed a commit that referenced this issue Nov 12, 2018
Bumps [pycparser](https://github.com/eliben/pycparser) from 2.18 to 2.19.
<details>
<summary>Changelog</summary>

*Sourced from [pycparser's changelog](https://github.com/eliben/pycparser/blob/master/CHANGES).*

> + Version 2.19 (2018.09.19)
> 
>   - PR [#277](https://github-redirect.dependabot.com/eliben/pycparser/issues/277): Fix parsing of floating point literals
>   - PR [#254](https://github-redirect.dependabot.com/eliben/pycparser/issues/254): Add support for parsing empty structs
>   - PR [#240](https://github-redirect.dependabot.com/eliben/pycparser/issues/240): Fix enum formatting in generated C code (also [#216](https://github-redirect.dependabot.com/eliben/pycparser/issues/216))
>   - PR [#222](https://github-redirect.dependabot.com/eliben/pycparser/issues/222): Add support for #pragma in struct declarations
>   - There are reports that this release doesn't work with Python 2.6 ([#281](https://github-redirect.dependabot.com/eliben/pycparser/issues/281)).
>     Please note that the minimal supported version is 2.7; the required versions
>     are listed in the README file. 
> 
> + Version 2.18 (2017.07.04)
> 
>   - PR [#161](https://github-redirect.dependabot.com/eliben/pycparser/issues/161) & [#184](https://github-redirect.dependabot.com/eliben/pycparser/issues/184): Update bundled PLY version to 3.10
>   - PR [#158](https://github-redirect.dependabot.com/eliben/pycparser/issues/158): Add support for the __int128 type.
>   - PR [#169](https://github-redirect.dependabot.com/eliben/pycparser/issues/169): Handle more tricky TYPEID in declarators.
>   - PR [#178](https://github-redirect.dependabot.com/eliben/pycparser/issues/178): Add columns to the coord of each node
> 
> + Version 2.17 (2016.10.29)
> 
>   - Again functionality identical to 2.15 and 2.16; the difference is that the
>     tarball now contains Python files with properly set permissions.
> 
> + Version 2.16 (2016.10.18)
> 
>   - Functionally identical to 2.15, but fixes a packaging problem that caused
>     failed installation (_build_tables wasn't rerun in the pycparser/ dir).
> 
> + Version 2.15 (2016.10.18)
> 
>   - PR [#121](https://github-redirect.dependabot.com/eliben/pycparser/issues/121): Update bundled PLY version to 3.8
>   - Issue [#117](https://github-redirect.dependabot.com/eliben/pycparser/issues/117): Fix parsing of extra semi-colons inside structure declarations.
>   - PR [#109](https://github-redirect.dependabot.com/eliben/pycparser/issues/109): Update c_generator to add {} around nested named initializers.
>   - PR [#101](https://github-redirect.dependabot.com/eliben/pycparser/issues/101): Added support for parsing pragmas into the AST.
>   - Additional fake headers and typedefs, manifest fixes ([#97](https://github-redirect.dependabot.com/eliben/pycparser/issues/97), [#106](https://github-redirect.dependabot.com/eliben/pycparser/issues/106), [#111](https://github-redirect.dependabot.com/eliben/pycparser/issues/111)).
>   - Testing with Python 3.5 instead of 3.3 now (3.4 and 3.5 are the 3.x versions
>     tested).
>   - PR [#145](https://github-redirect.dependabot.com/eliben/pycparser/issues/145): More complete support for offsetof()
>   - Issue [#116](https://github-redirect.dependabot.com/eliben/pycparser/issues/116): Fix line numbers recorded for empty and compound statements.
>   - Minor performance improvement to the invalid string literal regex.
> 
> + Version 2.14 (2015.06.09)
> 
>   - Added CParser parameter to specify output directory for generated parsing
>     tables ([#84](https://github-redirect.dependabot.com/eliben/pycparser/issues/84)).
>   - Removed lcc's cpp and its license from the distribution. Using lcc's cpp
>     is no longer recommended, now that Clang has binary builds available for
>     Windows.
> 
> + Version 2.13 (2015.05.12)
> 
></table> ... (truncated)
</details>
<details>
<summary>Commits</summary>

- [`caa4c11`](eliben/pycparser@caa4c11) Bump versions to 2.19
- [`bcb5f9f`](eliben/pycparser@bcb5f9f) Reformat dates in CHANGES to yyyy.mm.dd format
- [`40f0d91`](eliben/pycparser@40f0d91) Add test for parsing a hex float constant to the right type
- [`a915c3d`](eliben/pycparser@a915c3d) Correct Parsing of Floating Point Literals, issue [#253](https://github-redirect.dependabot.com/eliben/pycparser/issues/253) ([#277](https://github-redirect.dependabot.com/eliben/pycparser/issues/277))
- [`ccd673e`](eliben/pycparser@ccd673e) Merge branch 'master' of github.com:eliben/pycparser
- [`92f65b6`](eliben/pycparser@92f65b6) Add tests for empty struct/union typedecls
- [`8ff8088`](eliben/pycparser@8ff8088) Trim whitespace in test file
- [`a301cbb`](eliben/pycparser@a301cbb) Drop testing for EOL Pythons 3.2 & 3.3 ([#271](https://github-redirect.dependabot.com/eliben/pycparser/issues/271))
- [`0baa8f4`](eliben/pycparser@0baa8f4) Remove unnecessary __future__ import ([#266](https://github-redirect.dependabot.com/eliben/pycparser/issues/266))
- [`1d86699`](eliben/pycparser@1d86699) Use https:// for all project links where available ([#267](https://github-redirect.dependabot.com/eliben/pycparser/issues/267))
- Additional commits viewable in [compare view](eliben/pycparser@release_v2.18...release_v2.19)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=pycparser&package-manager=pip&previous-version=2.18&new-version=2.19)](https://dependabot.com/compatibility-score.html?dependency-name=pycparser&package-manager=pip&previous-version=2.18&new-version=2.19)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants