A compressed CbrainFileList cause the task launch interface to crash

Aperta
#1,708 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
57/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rails, ruby
Ambito
backend

Direzione di ricerca

Start by tracing the task array launch path that loads a CbrainFileList as CSV, then check how it handles errors from the CSV library. Add a clean message for compressed or invalid file lists instead of returning the user to the index page; the issue gives no file or test names, so locate the relevant launch code and tests first.

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

Descrizione

Bug Priority: Low User Interface

This is a minor and rare situation, but we could improve the handling of this.

If a user compresses a CbrainFileList (e.g "filelist.gz") and tries to launch a task array with it, the task launch interface will raise an exception internally, when trying to load it as a CSV file. It comes from the CSV library which complains about the binary data it gets. So the task launch interface should just handle this a bit more cleanly than booting the user back to the index page. Maybe with a message 'CBRAIN file list doesn't seem to be correct'.

Lingua principale
Ruby
Stelle
82
Fork
64
Merge medio
6g 13h
PR unite (30g)
36

Preparare l'ambiente

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.

Altre issue di aces/cbrain

Tutte le issue di aces/cbrain

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.