-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1.x] Make server extension verification call during extension startu…
…p non-blocking (#480) (#481) * Make server extension verification call during extension startup non-blocking (#480) * remove async call, make call sync, refactor into a separate function * don't use abbreviations in the verifyServerExtension function or type naming * Update src/index.tsx Co-authored-by: david qiu <[email protected]> * remove unused type * add @jupyterlab/rendermime-interfaces as a dependency * Remove async from activatePlugin function declaration (makes it not async) * set @jupyterlab/rendermime-interfaces version to ^3.8.0 to support all JLab >= 4 --------- Co-authored-by: david qiu <[email protected]> * Fix translator usage, remove @jupyterlab/rendermime-interfaces dependency (#483) * update snapshots * use lowercase "es" is "es2017" as is convention in Project Jupyter * fix 1.x dependencies * fix package manifest to be compatible with JL3 * Make ErrorBoundary return JSX.Element to avoid type conflicts --------- Co-authored-by: david qiu <[email protected]>
- Loading branch information
Showing
8 changed files
with
2,604 additions
and
4,052 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import React from 'react'; | ||
|
||
export const SERVER_EXTENSION_404_JSX = ( | ||
<div> | ||
<p> | ||
The Jupyter Scheduler extension is installed but it can't be activated. It | ||
looks like the required Jupyter Server extension ( | ||
<code>jupyter_scheduler</code>) is not installed or not enabled in this | ||
environment. | ||
</p> | ||
<h3>Why am I seeing this message?</h3> | ||
<p> | ||
If you installed the Jupyter Scheduler extension from the Extension | ||
Manager in JupyterLab, you might have installed only the client extension | ||
and not the server extension. You can install the server extension by | ||
running <code>pip install jupyter_scheduler</code> in the same environment | ||
in which you run JupyterLab. | ||
</p> | ||
<h3>How do I check if the extension is installed?</h3> | ||
<p> | ||
Please ensure that <code>jupyter server extension list</code> includes | ||
jupyter_scheduler and that it is enabled. If it is enabled, please restart | ||
JupyterLab. If the server extension is installed but not enabled, run{' '} | ||
<code>jupyter server extension enable --user --py jupyter_scheduler</code>{' '} | ||
and restart JupyterLab. | ||
</p> | ||
</div> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.