Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

OSError: Unable to communicate with the jupyter_dash.., when using a custom env

Đang mở
#2 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
jupyter-notebook, python
Lĩnh vực
tooling

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện lệnh gọi JupyterDash.infer_jupyter_proxy_config() đã được báo cáo với một kernel từ môi trường tùy chỉnh. Theo dõi các đường dẫn được hiển thị trong jupyter_dash/jupyter_app.py và jupyter_dash/comms.py; hoàn tất khi lệnh gọi không còn gây ra OSError giao tiếp đã được báo cáo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Running JupyterDash.infer_jupyter_proxy_config() throws an error, when using a kernel from the custom environment (not BBS-BBG). The following error is observed:

---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
<ipython-input-5-44ad1f4b927e> in <module>
      1 time.sleep(3)
----> 2 JupyterDash.infer_jupyter_proxy_config()
      3 cyto.load_extra_layouts()

~/test-bbs-bbg-notebook/lib/python3.8/site-packages/jupyter_dash/jupyter_app.py in infer_jupyter_proxy_config(cls)
     71         else:
     72             # Assume classic notebook or JupyterLab
---> 73             _request_jupyter_config()
     74 
     75     def __init__(self, name=None, server_url=None, **kwargs):

~/test-bbs-bbg-notebook/lib/python3.8/site-packages/jupyter_dash/comms.py in _request_jupyter_config(timeout)
     60         if (time.time() - t0) > timeout:
     61             # give up
---> 62             raise EnvironmentError(
     63                 "Unable to communicate with the jupyter_dash notebook or JupyterLab \n"
     64                 "extension required to infer Jupyter configuration."

OSError: Unable to communicate with the jupyter_dash notebook or JupyterLab 
extension required to infer Jupyter configuration.
Ngôn ngữ chính
Jupyter Notebook
Star
0
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue tương tự

Thêm issue về DevTools

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.