Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
David Brochart
@davidbrochart
sure
Jeremy Tuloup
@jtpio
thanks :thumbsup:
David Brochart
@davidbrochart
there is basically a 404 on the YDocWebSocketHandler
jupyter_server_ydoc is a jupyter-server extension, maybe there is something to do to proxy this endpoint?
Jeremy Tuloup
@jtpio
Hmm normally all endpoints should already be proxied (many come from jupyterlab_server)
Jakub Smékal
@smejak
Hi @jtpio, do you know if it's possible to add a python command into the commands registry in ipylab? (Rather than a javascript one)
4 replies
Sylvain Corlay
@SylvainCorlay
Hey, a cool JupyterLab extension for blockly!
Bo
@BoPeng
Can anyone point me to an extension that extends cell toolbar? I am trying to follow the documentation but need help defining a Widget Factory for Cell. Also, I cannot appear to use a ReactWidget with toolbarRegistry.registerFactory<Cell>(.... (cell: Cell) => new ACellWidget()) since it expects a Widget returned for ACellWidget.
21 replies
Jakub Smékal
@smejak
Hello everyone, I am trying to run this extension https://github.com/timkpaine/jupyterlab_commands, but am running into issues with the setup. The installation runs smoothly, but then when I create my jupyter_notebook_config.py with jupyter notebook --generate-config & add the corresponding python command, it doesn't show up in the command palette. Does anyone have any experience with this?
5 replies
Jakub Smékal
@smejak
Has anyone come across this error before?
4 replies
ReferenceError: Buffer is not defined at varintEncode (util.js:33:1) at ./node_modules/multicodec/src/varint-table.js (varint-table.js:11:1) at __webpack_require__ (bootstrap:19:1) at ./node_modules/multicodec/src/index.js (index.js:16:31) at __webpack_require__ (bootstrap:19:1) at ./node_modules/content-hash/src/index.js (index.js:19:16) at __webpack_require__ (bootstrap:19:1) at ./node_modules/web3-eth-ens/lib/lib/contentHash.js (contentHash.js:31:19) at __webpack_require__ (bootstrap:19:1) at ./node_modules/web3-eth-ens/lib/ENS.js (ENS.js:26:19)
DougRzz
@DougRzz

Hi all, I finally spent some time with Jupyterlite and I'm very impressed!!! Well done to the developers, this could/should be groundbreaking!! Its incredible I can build Jupyter/Pandas web applications without a server-side Python kernel. I put one of my Jupyter web-apps through Jupyterlite. It is a reasonably large app with over 10k lines of Python/Pandas code (sorry, closed source for now).

Only had success with the Pyodide kernel. I didn't have much luck with jupyterlite-xeus-python so far on a Wndows OS. I should move to a Linux OS because I suspect this would fix a few of the file system error messages I was getting.

I'm using these libraries :
await piplite.install(['ipyvuetify','ipywidgets','plotly','dabl','nest-asyncio','markdown','pandas','ipygoldenlayout','bqplot','ipympl'])

Not working in Jupyterlite (a small list considering!):

  • ipmpl 0.7 not working. 'Loading widgets' message appears. Lab extension didn't build ( I need this version of ipympl to get the dabl output in a output widget)
  • Plotly express working well
    • But only works in widget mode, not png or browser mode
  • Glupyter not working. But haven't investigated this much yet.
  • ipyvuetify:
    • Cannot initialise UI elements with v_model = None. Must start with a blank '' and change back to None
    • Cannot do .class_ = None. Needed to change this to something like 'pa-1'
    • Some small styling differences the styling height of some elements
    • ipyvuetify.fileinput not working.
  • ipymonaco does not work with jupyterlab :( , thus not working with jupyterlite either
  • Doesn't install "pandas-profiling[notebook]"

screenshot
Link to screen shot if above doesn't work:
https://raw.githubusercontent.com/DougRzz/sshotwhl/main/2022-08-01%2022_43_18-Clipboard.png

1 reply
Jakub Smékal
@smejak

Hello, I have tried adding buffer to my webpack config, which slightly changed the previous error I was getting, but I'm still getting a Buffer not found in my jupyterlab

ReferenceError: Buffer is not defined
    at varintEncode (util.js:33:1)
    at ./node_modules/content-hash/node_modules/multicodec/src/varint-table.js (varint-table.js:11:1)
    at __webpack_require__ (bootstrap:19:1)
    at ./node_modules/content-hash/node_modules/multicodec/src/index.js (index.js:16:31)
    at __webpack_require__ (bootstrap:19:1)
    at consumes:254:1
    at __webpack_require__.m.<computed> (consumes:570:1)
    at __webpack_require__ (bootstrap:19:1)
    at ./node_modules/content-hash/src/index.js (index.js:19:16)
    at __webpack_require__ (bootstrap:19:1)
main @ index.out.js:590

Now it seems the error is with nested node modules. If anyone has any ideas on how this could be resolved I deeply appreciate any input.

Jeremy Tuloup
@jtpio
@fcollonval @johanmabille curious about the state of the CodeMirror 6 migration: jupyterlab/jupyterlab#12812
do you know if the current state is good enough to be shipped in a new 4.0.0a27pre-release? or are there major issues that should be addressed first?
it seems to be looking good on master
Angus Hollands
@agoose77:matrix.org
[m]
@bollwyvl: is there a trick to getting jupyterlite to use a specific build of pyodide? It seems to be resolving against an old version and I can see the old CDN version in the sources list in Chrome
27 replies
Angus Hollands
@agoose77:matrix.org
[m]
at startup
14 replies
Angus Hollands
@agoose77:matrix.org
[m]
i.e. is there a registry that needs to be checked
Jeremy Tuloup
@jtpio
This message was deleted
9 replies
wondering because I'm currently seeing issues with lab 4, notebook v7 and nbclassic 0.4.0 all installed together, with the /tree endpoints exposed by nbclassic hiding the ones of notebook v7
I don't recall exactly how all of these are supposed to work in the end
and also some folks reporting similar issues: jupyter/notebook#6501
the easy fix for now is to just pip uninstall nbclassic to get notebook v7 to load
GridSof
@SofianeB
Hi all, I recently noticed that some extensions can be installed with pip and --user. That was not case before, most of the extensions require a build in root installation. Did this policy changed?
Afshin Taylor Darian
@afshin

Hi @/all, I've created a project board to help visualize what is happening with Lumino 2 and to invite others to work on things if they are interested: https://github.com/orgs/jupyterlab/projects/4/views/1

Please don't feel the need to limit yourself to help wanted issues. If there is nobody assigned to the issue and you feel you can handle within the next week or two, please assign it to yourself (or if you can't, just write a comment in the issue) and go to town.

Frédéric Collonval
@fcollonval
I'm starting a 4.0 prerelease.
Sylvain Corlay
@SylvainCorlay
:tada:
Frédéric Collonval
@fcollonval
JupyterLab 4.0.0a27 has been released (see Changelog). This is the first pre release with CodeMirror 6. If your extension(s) is/are heavily using CodeMirror, you can now try to migrate to v4. Please report any issue or missing API you may see. The meta issue for integration CodeMirror 6 is jupyterlab/jupyterlab#12812.
David Brochart
@davidbrochart
:rocket:
Afshin Taylor Darian
@afshin
Awesome, thank you! 🚀
Jeremy Tuloup
@jtpio
nice thanks!
Nicholas Bollweg
@bollwyvl
a 3.4.x with jupyterlab/jupyterlab#12892 would be lovely :heart_eyes_cat:
Frédéric Collonval
@fcollonval
Starting it now @bollwyvl
3 replies
David Leen
@dleen
Hi all, I was looking at https://github.com/jupyter/jupyter-packaging#usage-notes and it says “this package does not work with deprecated python setup.py sdist” - I assume it means that extensions which use jupyter-packaging don’t work with python setup.py sdist. Anyway I tried both python -mbuild and python setup.py sdist in my extension and they both seem to work ok. sdist is significantly faster. I’m wondering what the difference is - does sdist not generate the javascript artifacts perhaps?
1 reply
Frédéric Collonval
@fcollonval
@/all JupyterLab 3.4.5 has been released; you will find all changes in the release notes.
Jeremy Tuloup
@jtpio
hey, has the notebook call been moved to being 30 minutes long starting at 17:30 like it used to be?
The readme still mentions 8 am Pacific: https://github.com/jupyter/notebook-team-compass#weekly-team-meetings
there is a mention to this in this comment as a question, although it's not clear whether the answer was yes: https://github.com/jupyter/notebook-team-compass/issues/5#issuecomment-1198350609
cc @afshin who probably knows :point_up:
Afshin Taylor Darian
@afshin
Apologies!
Yes the notebook call is only half an hour long again
I signed on at the top of the hour hoping I caught anybody who didn't know
cc @jtpio
Jeremy Tuloup
@jtpio
no problem thanks
William Song
@Freakwill
Hello. I have a question here. After (re)installing jupyterlab, I only have jupyter-lab command that works well, instead of jupyterlab. Why?
2 replies
Matthew Gasbarro
@matthewgasbarro
Is there a way to get the number of terminals that have connections (open sockets) similar to how api/status listing kernel connections in addition to active kernels? api/terminals only lists the active terminals but terminals persist after closing them (I realize there is a lab setting to close terminals on terminal tab close, but that doesnt handle case of a user closing the entire browser or browser tab or similarly if a user is in classic notebook and closes a terminal). If not, is there a way to get the number of open sockets regardless if the socket is open from a kernel connection or a terminal?
6 replies
Gonzalo Gasca Meza
@gogasca
Any idea when JL 4.x will be released? jupyterlab/jupyterlab#9647
Jason O.
@puruzio
Hello, How do I close jupyterlab servers that are currently open? When I run jupyter server list it shows 7 server names with token numbers. jupyter notebook stop <port> doesn’t seem to work (probably because they were opened by jupyterlab, not jupyter notebook)