Example code fails on Windows 10
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
- 25/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
- distributed-systems, operating-systems
Hướng nghiên cứu
Tái hiện ví dụ trong tài liệu, bắt đầu từ ipp.Cluster(), trên Windows 10 với các phiên bản Python, Jupyter Notebook và ipyparallel được liệt kê. Kiểm tra error_output.txt và các thông báo xóa log bị lỗi; được xem là hoàn tất khi ví dụ chạy xong mà không gặp lỗi dọn dẹp WinError 32.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I am using a pristine notebook and kernel to run the example from the documentation. Execution fails with error messages.
Environment
- Jupyter Notebook 6.4.5
- Python 3.8.5
- ipyparallel 8.0.0
Code
import time
import ipyparallel as ipp
task_durations = [1] * 25
# request a cluster
with ipp.Cluster() as rc:
# get a view on the cluster
view = rc.load_balanced_view()
# submit the tasks
asyncresult = view.map_async(time.sleep, task_durations)
# wait interactively for results
asyncresult.wait_interactive()
# retrieve actual results
result = asyncresult.get()
# at this point, the cluster processes have been shutdown
Error
Starting 24 engines with <class 'ipyparallel.cluster.launcher.LocalEngineSetLauncher'>
sleep: 16%|█▌ | 4/25 [00:05<00:00, 36.36tasks/s]Failed to remove C:\Users\MyUserName\.ipython\profile_default\log\ipengine-1639155465-zlhr-1639155466-2.log: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\MyUserName\\.ipython\\profile_default\\log\\ipengine-1639155465-zlhr-1639155466-2.log'
Failed to remove C:\Users\MyUserName\.ipython\profile_default\log\ipengine-1639155465-zlhr-1639155466-1.log: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\MyUserName\\.ipython\\profile_default\\log\\ipengine-1639155465-zlhr-1639155466-1.log'
Failed to remove C:\Users\MyUserName\.ipython\profile_default\log\ipengine-1639155465-zlhr-1639155466-8.log: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\MyUserName\\.ipython\\profile_default\\log\\ipengine-1639155465-zlhr-1639155466-8.log'
Full output:
error_output.txt
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 2.6k
- Fork
- 1k
- 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
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 ipython/ipyparallel
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
ipython/ipyparallel#1029 · 9 bình luận ·
-
pidigits example website is gone Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
ipython/ipyparallel#984 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
ipython/ipyparallel#937 · 4 bình luận ·
-
Packages and definitions loaded in the regular kernel are not known by engines and vice versa Đang mởquestion
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
ipython/ipyparallel#897 · 12 bình luận ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
ipython/ipyparallel#882 ·
Tất cả issue của ipython/ipyparallel
Issue tương tự
-
bug examples invalid iris
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
ai_reviewed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ydb-platform/ydb#53838 · 3 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
NovaSky-AI/SkyRL#2263 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
johanhaleby/occurrent#1106 ·
-
ShuffleManagerRegistry.register recursion guard is inverted, permits GlutenShuffleManager subclasses Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100