Comments (6)
heya! I'm investigating, should have something soon :)
from docs.
Looks like the student had somehow accidentally installed a custom verison of nbconvert in their home directory. It was in .local/lib/python3.8/site-packages/
. I moved that so the version of nbconvert is back to what we ship, and it works now!
This is probably caused by running pip install --user <some-package>
. While it works in many cases, sometimes it causes an incompatibility and causes hard to debug issues like this. I saw this by accessing their server, creating a terminal (New -> Terminal), and then looking inside .local/lib/python3.8
.
It works for me now! Can you try it out and let me know if it works for you too?
from docs.
I also saw this error message while looking at the notebook logs:
[W 2021-03-10 21:52:40.771 SingleUserNotebookApp configurable:168] Config option `template_path` not recognized by `ExporterCollapsibleHeadings`. Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 2021-03-10 21:52:40.785 SingleUserNotebookApp configurable:168] Config option `template_path` not recognized by `ExporterCollapsibleHeadings`. Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 2021-03-10 21:52:40.870 SingleUserNotebookApp configurable:168] Config option `template_path` not recognized by `TocExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 2021-03-10 21:52:40.881 SingleUserNotebookApp configurable:168] Config option `template_path` not recognized by `TocExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 2021-03-10 21:52:40.899 SingleUserNotebookApp configurable:168] Config option `template_path` not recognized by `LenvsHTMLExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 2021-03-10 21:52:40.911 SingleUserNotebookApp configurable:168] Config option `template_path` not recognized by `LenvsHTMLExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 2021-03-10 21:52:40.966 SingleUserNotebookApp configurable:168] Config option `template_path` not recognized by `LenvsTocHTMLExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 2021-03-10 21:52:40.984 SingleUserNotebookApp configurable:168] Config option `template_path` not recognized by `LenvsTocHTMLExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`?
[E 2021-03-10 21:52:41.010 SingleUserNotebookApp web:1789] Uncaught exception GET /user/[email protected]/notebooks/ecc-materials-sp2021/materials/x19/lab/1/lab01/lab01.ipynb (10.128.0.19)
HTTPServerRequest(protocol='https', host='elcamino.cloudbank.2i2c.cloud', method='GET', uri='/user/[email protected]/notebooks/ecc-materials-sp2021/materials/x19/lab/1/lab01/lab01.ipynb', version='HTTP/1.1', remote_ip='10.128.0.19')
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/site-packages/tornado/web.py", line 1704, in _execute
result = await result
File "/opt/conda/lib/python3.8/site-packages/tornado/gen.py", line 775, in run
yielded = self.gen.send(value)
File "/opt/conda/lib/python3.8/site-packages/notebook/notebook/handlers.py", line 95, in get
self.write(self.render_template('notebook.html',
File "/opt/conda/lib/python3.8/site-packages/notebook/base/handlers.py", line 512, in render_template
return template.render(**ns)
File "/opt/conda/lib/python3.8/site-packages/jinja2/environment.py", line 1090, in render
self.environment.handle_exception()
File "/opt/conda/lib/python3.8/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/opt/conda/lib/python3.8/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/opt/conda/lib/python3.8/site-packages/notebook/templates/notebook.html", line 1, in top-level template code
{% extends "page.html" %}
File "<template>", line 2, in top-level template code
File "/opt/conda/lib/python3.8/site-packages/notebook/templates/page.html"
, line 154, in top-level template code
{% block header %}
File "/opt/conda/lib/python3.8/site-packages/notebook/templates/notebook.h
tml", line 115, in block "header"
{% for exporter in get_frontend_exporters() %}
File "/opt/conda/lib/python3.8/site-packages/notebook/notebook/handlers.py
", line 40, in get_frontend_exporters
for name in get_export_names():
File "/home/jovyan/.local/lib/python3.8/site-packages/nbconvert/exporters/
base.py", line 141, in get_export_names
e = get_exporter(exporter_name)(config=config)
File "/home/jovyan/.local/lib/python3.8/site-packages/nbconvert/exporters/
base.py", line 102, in get_exporter
if getattr(exporter(config=config), 'enabled', True):
File "/opt/conda/lib/python3.8/site-packages/nbinteract/exporters.py", lin
e 125, in __init__
self.template_path.insert(
AttributeError: 'InteractExporter' object has no attribute 'template_path'
[E 2021-03-10 21:52:41.013 SingleUserNotebookApp log:166] {
Points to probably an issue with https://www.nbinteract.com/, which I think isn't widely used either.
from docs.
I think that this one is now resolved, so gonna close it! @solomonlr please feel free to ping again or re-open if it still doesn't work.
from docs.
Yes, this looks good, thanks so much!
from docs.
Also opened up #58 to track documenting challenges w/ user installs!
from docs.
Related Issues (20)
- Create a user off-boarding checklist for hub admins
- Document Grafana access for communities HOT 1
- [BUG] readthedocs actions doesn't provide a working URL to deploy preview when updating docs
- Upgrade Hub Service Guide to Jupyter Book HOT 3
- [EPIC] Port existing Hub Service Guide content to Jupyter Book HOT 8
- Document that the configurator is not available if using profileLists
- Write technical content for guiding communities on how to build custom images for their hubs. HOT 7
- Add how to edit users in admin/howto/manage-users/
- Directive to replace custom Python, e.g. list of running hubs and feature tables HOT 5
- [EPIC] Update workflows for the Hub Service Guide (docs.2i2c.org) to aid support work
- How-to guide for adding persistent storage buckets HOT 6
- How-to guide for tracking usage and costs in Grafana HOT 2
- Update how-to-guides/add-packages-to-image.md
- Document the usage of temp rather than $HOME for keeping temporary data files HOT 2
- Move https://github.com/yuvipanda/example-inherit-from-community-image to 2i2c-org and change into template HOT 2
- Create how-to on using dask-gateway for communities HOT 6
- Document use of cloud object storage HOT 4
- Document how to test JupyterHub images locally
- Create redirect from old customise image docs to new customise image docs HOT 3
- Tutorial for data transfer workflow for large datasets
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.