pytask-dev / pytask-dev/pytask-stata
ENH: Fix issue with parallel execution of the same do-file on Unix systems.
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Python
- Estrellas
- 4
- Forks
- 1
- Merge medio
- 7 d 8 h
- PR fusionados (30 d)
- 10
Descripción
Is your feature request related to a problem?
Stata produces log files which have the same name as the executed do-file when used in batch mode.
Parallelizing over the same do-file ...
- may create multiple workers which want to create the same log file at the same time.
- may overwrite the log produced by one task with the information from another task. Whether a task fails is partly inferred from the log file,
On Windows, there is a hacky and maybe not even intended work-around to rename the log file for every task which does not work on Unix.
Describe the solution you'd like
Nothing discussed so far.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
No file, test, or entry point is named, so first locate the pytask-stata code that launches Stata do-files and handles their logs, then inspect the Unix and Windows execution paths. Done means parallel runs of the same do-file keep separate logs on Unix, avoid overwriting one another, and still support task-failure detection.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- tooling
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100