-
Notifications
You must be signed in to change notification settings - Fork 391
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
odd behaviour of the jupyterlab extension: the notebook toolbar is sometimes missing #1107
Comments
focusing on jlab from now on, there's nothing specific to nb7 in our findings it appears that in this code the value of and I suspect this might very well be the root cause for the faulty behaviour not quite sure why this is, possibly investigation to be continued ... |
in any case I think I have been able to rule out my first conjecture (that building for jlab3 and jlab4 from the same code was the culprit); to that end I have
|
one other thing:
I have instrumented the value of in both cases, I need to find out more about the internals of jlab, and for starters I need to be able to build it locally to be continued... |
I asked for help on discourse here |
Thank you @parmentelat for reporting and investigating this! FYI I had seen a similar report by @jtpio in this comment, so it's great news that you already have a PR ready to address this. I'm going to merge it and release a new dev version. |
hi @mwouts I've been using the dev release for a couple weeks now - exclusively under jlab4+nb7 - and apart from this issue, which is now fixed in dev2, I have seen no showstopper So I would even go as far as suggesting to issue a plain release with this; rationale being that people using just It seems to me that: actually I had manually tested dev1+jlab3, it would make sense to do that again with dev2 (even though again it should be the same code exactly) once this is done I would move for a release of that code, if you agree |
also I was thinking, on a totally different plane, that it could help to set |
Sure ! Thank you @parmentelat for doing the testing. I have archived the |
this is a followup on #1092
As planned I have made manual tests of the tentative jupyterlab extension as packaged in version
1.15.0.dev1
test env
create a fresh conda env
conda create -y -n nb7-text python=3.11 conda activate nb7-text pip install notebook; pip install --pre jupytext
as of today this gives me
test scenario
I have 2 notebooks with identical contents, one in
ipynb
and one inpy:percent
formatjupyterlab
gets installed implicitly as a dependency ofnotebook
as of nb7)observations
as of today, I have observed that in both notebook and jupyterlab, the jupytext format leads to a UI with a missing toolbar (see pictures below)
notebook
but
jupyterlab
same symptom, more or less
troubleshooting
in both cases I see these messages that I do not like at all:
notebook
jlab
EDIT
conjecture
the following conjecture has been proven false - see below
I am starting to wonder if that idea of shipping a single extension for both jlab3 and jlab4 has any chance to fly; it feels like the extension, as compiled under jlab3, has pinned versions of some modules, but that these modules are loaded under another version number, and the loader refuses to load several instances (that's what singleton suggests. right?)it's ironic because the missing area is not something that jupytext tampers with at all; I wonder why these modules are even needed ?The text was updated successfully, but these errors were encountered: