Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

ENH: Fix issue with parallel execution of the same do-file on Unix systems.

Aperta
#3 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 7 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
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 ...

  1. may create multiple workers which want to create the same log file at the same time.
  2. 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.

Lingua principale
Python
Stelle
4
Fork
1
Merge medio
5g 20h
PR unite (30g)
13

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.