by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Jason Grout
@jasongrout
yes, those are indeed the difficult problems
Michael Aye
@michaelaye
hi ingenious jupyter folks! Quick question: should it be possible to get a jupyter lab when I started a jupyter notebook server simply by changing the access URL to https://localhost:8902/lab? like I did in this screenshot? I'm just a bit confused and surprised because I alwasy assumed that there would be actually different applications running underneath? I was aware I could "dial down" a jlab to a jupyter notebook using the /tree URL, but I didnt' know I could "dial up" a notebook server to a lab simply by using the /lab? URL? Is this all normal, or did something majorly screw up my system?? Thanks!
Steven Silvester
@blink1073
JupyterLab is a server extension to the classic notebook application in addition to being its own application
Eric Charles
@echarles
First time since test refactoring I run on my local env the js tests for services TypeError: request to http://localhost/api/kernels?1590921821770 failed, reason: connect ECONNREFUSED 127.0.0.1:80FetchError: request to http://localhost/api/kernels?1590921821770 failed, reason: connect ECONNREFUSED 127.0.0.1:80 - I find strange that the server is launched on port 80 (should not be possible for non root user) - Tried as root but I receive anyway the same error.
Steven Silvester
@blink1073
that would be the behavior when baseurl is not configured when the request was made
Eric Charles
@echarles
Yeah I was thinking to that. I have created a clean conda env, removed ~/.jupyter and built with yarn build:packages && yarn build:utils && yarn build:testutils then ranyarn test. Most prolly something on my env but good if one can confirm the js test services run fine on his local env.
Michael Aye
@michaelaye
@blink1073 So, do I get the exact same thing when i use the lab url with a classic notebook server as i do when using the jupyterlab server?
Steven Silvester
@blink1073
that is the goal, yes. if it doesn't work the same way it is a bug
Michał Krassowski
@krassowski
Steven Silvester
@blink1073
Nice! Note that the lumino datagrid has editing capabilities now and scales up to huge datasets.
Michael Aye
@michaelaye
anybody noticed that import module/subpackage tab-completion doesn't work in jlab (not sure about jnotebook) until at least one cell was executed?
ah, no, it fails more than that for me ... :/
no sorry, the 2nd one was PEBKAC. the first i regularly see though.
arnon
@arnonrodman

Hi All,
Any restriction for max value for "c.MappingKernelManager.cull_idle_timeout" ?
I didn't find in the document for any limitations or in stack overflow?
Today we have in our: /etc/jupyter/jupyter_notebook_config.py

shutdown the server after no activity for an hour

c.NotebookApp.shutdown_no_activity_timeout = 8 60 60

shutdown kernels after no activity for 20 minutes

c.MappingKernelManager.cull_idle_timeout = 8 60 60

check for idle kernels every two minutes

c.MappingKernelManager.cull_interval = 20 * 60

We want to increase the timeout to 24-48 hours.
Any known issues/risks/limitations?
Thx

Luciano Resende
@lresende
@blink1073 or someone else expert on build (jupyterlab build) available for a 10/15 mins call sometime today ?
We are hitting a build issue with Elyra and would need some guidance
Steven Silvester
@blink1073
I'm not available today
Saul Shanabrook
@saulshanabrook
@lresende If you are still around now, I am happy to jump on a short call!
Luciano Resende
@lresende
@saulshanabrook sorry, got a little side tracked with unexpected calls and will have to get back to this later… i might wait for wed on the dev call where all will be there
Saul Shanabrook
@saulshanabrook
Sounds good
grujicaleksandar90
@grujicaleksandar90
Hi everyone,
We are facing intermittent issue with opening Run tab.
After a double click on the Notebook, and when we want to run the same, sometimes it happens that the Run tab does not open, we click on it and wait for 10 seconds and nothing.
Is this a known issue?
Thx
Jason Grout
@jasongrout
You're talking about the sidebar tab "Running kernels and consoles"? Are you saying that sometimes you click on that sidebar tab and it takes it a while to display the running kernels?
I have not heard of an issue like that. Do you have an huge number of kernels running? Is the server particularly slow?
grujicaleksandar90
@grujicaleksandar90
@jasongrout I'm reffering to Run menu item which is part of Menu bar. We have some automation scripts and recently we started to notice that sometimes Run menu item won't open even thought script click on it, after opening the simple notebook.
Jason Grout
@jasongrout
So it is an automated click, and then it takes some time before the menu shows up?
The menu waits for an animation frame to show up, IIRC, so it may be some interaction with the scripting software and how animation frames are scheduled in the browser?
Perhaps using whatever command you want directly from the system is more consistent than waiting for the browser to draw UX elements like menus?
Michael Aye
@michaelaye
is it at all possible that the jlab file explorer doesn't list all macOS aliases? I'm perplexed because it does for o/lder ones but not for new aliases i recently created.
yeah, looks like my older ones were proper symlinks, but macOS Finder aliases are invisible.
Jason Grout
@jasongrout
From https://en.wikipedia.org/wiki/Alias_(Mac_OS), it looks like Finder aliases are special files?
jlab just displays whatever the notebook file contents manager gives it. So I guess the question here is if the Jupyter Notebook file contents manager in the notebook server understands these special files.
apparently not?
Wolf Vollprecht
@wolfv
we're trying to create a jupyter server extension which is basically a websocket handler that calls write_message from a thread
which errs with [ERROR] [1591198708.203620]: Exception calling subscribe callback: There is no current event loop in thread '/listener'.
I was wondering if by chance someone else attempted something like this before?
I tried setting AnyThreadEventLoopPolicy but it broke jupyter
Michał Krassowski
@krassowski
Is there a colour picker extension for JupyterLab? I just realised how much time I am wasting when creating plots by not having a built-in colour picker. I know that there are some widgets for specific kernels but like a standalone extension?
Jason Grout
@jasongrout
I don't know of one, but should be pretty easy to make a widget wrapping a js-based color picker
Michał Krassowski
@krassowski
that's what I thought! Like literally a few lines of code. Might be a good example extension (like astronomy picture of the day but highligting other interfaces - i.e.I would like to have it in a sidebar and maybe in the menu).
Fred Mitchell
@fm75
Isn't there one in ipywidgets?
Michał Krassowski
@krassowski
but the ipywidgets one is kernel dependent, isn't it?
Fred Mitchell
@fm75
Yeah
blois
@blois
I keep wanting something like https://github.com/easylogic/codemirror-colorpicker. Presumably could trigger it with color('#aaa'), where color was a function that just returned a string, but was a hint to the editor to highlight the string argument as a color.
Michał Krassowski
@krassowski
wow, that's such a great code mirror extension! just needs a night theme to greatly improve UX!
Vidar Tonaas Fauske
@vidartf
so I guess it is a de-facto standard kind of ?
Steven Silvester
@blink1073
Yeah it was added later and not well documented it seems
Vidar Tonaas Fauske
@vidartf
would you consider it part of that standard that the partial file must be written after receiving chunk: 1 ?