Plugin crashes in embedded REPL
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- jupyter, jupyter-notebook, typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Bắt đầu từ việc kích hoạt plugin litegitpuller và phần phụ thuộc của nó vào @jupyterlab/filebrowser:IDefaultFileBrowser. Tái hiện lỗi bằng URL Jupyter Lite REPL được cung cấp, sau đó so sánh đường đi đó với dịch vụ ContentsManager được đề xuất. Công việc được xem là hoàn tất khi repository được lấy về và notebook tải trong REPL được nhúng mà không có lỗi kích hoạt plugin, trong khi trang thông thường vẫn tiếp tục hoạt động.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
The Litegitpuller plugin fails to load when the environment is an embedded Jupyter Lite REPL. It looks like this is happening because the REPL doesn't include the file browser.
It would be great to be able to use the plugin within an embedded REPL as well as a whole.
Just scanning the documentation, this might be possible if we used ContentsManager to access files, rather than IDefaultFileBrowser.
Reproduce
If Jupyter Lite is hosted on localhost:8000, go to http://localhost:8000/repl/index.html?repo=https%3A%2F%2Fgithub.com%2Fbrichet%2Ftesting-repo&urlpath=notebooks%2Fsimple.ipynb&branch=main
Expected behavior
The git repo is fetched and the notebook loaded the same as it is on http://localhost:8000/index.html
Browser Output
Plugin '@jupyterlite/litegitpuller:plugin' failed to activate. TypeError: No provider for: @jupyterlab/filebrowser:IDefaultFileBrowser.
resolveRequiredService index.js:574
n index.js:453
activatePlugin index.js:453
e index.js:494
activatePlugins index.js:492
start index.es6.js:248
T index.js:517
69610 bootstrap.js:177
69610 bootstrap.js:148
Webpack 5
[index.js:497:36](webpack://_JUPYTERLAB.CORE_OUTPUT/node_modules/@lumino/coreutils/dist/index.js)
e http://localhost:8000/build/jlab_core.b189e4f.js:1
activatePlugins http://localhost:8000/build/jlab_core.b189e4f.js:1
start http://localhost:8000/build/jlab_core.b189e4f.js:1
T http://localhost:8000/build/6584.3a10d08.js:1
69610 http://localhost:8000/build/repl/bundle.js?_=c3ceefd:1
69610 http://localhost:8000/build/repl/bundle.js?_=c3ceefd:1
w http://localhost:8000/build/repl/bundle.js?_=c3ceefd:1
k http://localhost:8000/build/repl/bundle.js?_=c3ceefd:1
O http://localhost:8000/build/repl/bundle.js?_=c3ceefd:1
http://localhost:8000/build/repl/bundle.js?_=c3ceefd:1
http://localhost:8000/build/repl/bundle.js?_=c3ceefd:1
- Ngôn ngữ chính
- TypeScript
- Star
- 3
- Fork
- 4
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của jupyterlite/litegitpuller
-
Download repo archive to reduce rate limit pressureCó thể đã có người làm @juntyr đã nhận 216 ngày trước. Đang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
jupyterlite/litegitpuller#27 · 2 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
jupyterlite/litegitpuller#18 · 1 bình luận ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
jupyterlite/litegitpuller#17 · 3 bình luận ·
-
maintenance
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
jupyterlite/litegitpuller#12 · 4 bình luận ·
Tất cả issue của jupyterlite/litegitpuller
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
jupyterlite/jupyterlite#2111 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
karlhorky/electron-app-patcher#241 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Tab bar scrolls past its last tab in Firefox until no tabs are visibleCó thể đã có người làm @daviwil đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
eclipse-theia/theia#18367 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Server-side render fails with "requestAnimationFrame is not defined" when the room has a video nodeCó thể đã có người làm @jesusmpc đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
InditexTech/weavejs#1294 ·
Maintainer thường phản hồi trong vòng 1 ngày