Example code fails on Windows 10
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- jupyter-notebook, python
- Ambito
- distributed-systems, operating-systems
Direzione di ricerca
Riprodurre l’esempio della documentazione a partire da ipp.Cluster() su Windows 10 con le versioni indicate di Python, Jupyter Notebook e ipyparallel. Esaminare error_output.txt e i messaggi relativi alla rimozione non riuscita dei log; il lavoro è completato quando l’esempio termina senza errori di pulizia WinError 32.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Jupyter Notebook
- Stelle
- 2.6k
- Fork
- 1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ipython/ipyparallel
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
ipython/ipyparallel#1029 · 9 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
ipython/ipyparallel#984 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
ipython/ipyparallel#937 · 4 commenti ·
-
Packages and definitions loaded in the regular kernel are not known by engines and vice versa Apertaquestion
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
ipython/ipyparallel#897 · 12 commenti ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
ipython/ipyparallel#882 ·
Tutte le issue di ipython/ipyparallel
Issue simili
-
bug examples invalid iris
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
ai_reviewed
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ydb-platform/ydb#53838 · 3 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
NovaSky-AI/SkyRL#2263 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
johanhaleby/occurrent#1106 ·
-
ShuffleManagerRegistry.register recursion guard is inverted, permits GlutenShuffleManager subclasses Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100