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

Warnings on boot if gonio axes values are not set

Aperta
#46 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Riproduci il problema con il simulatore tickit e l’IOC, quindi ripeti con un rilevatore reale dopo averlo reinizializzato. Usa curl sugli endpoint dell’API del rilevatore elencati, incluso phi_start, per determinare se i valori sono None nel sistema reale o solo nel simulatore. Il lavoro è completato quando l’avvio dell’IOC non produce avvisi.

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

Descrizione

bug good first issue

If they are set then it works fine because the fetch returns a float.

Failed to get detector/api/1.8.0/config/phi_increment:
TypeError float() argument must be a string or a real number, not 'NoneType'
Failed to get detector/api/1.8.0/config/kappa_start:
TypeError float() argument must be a string or a real number, not 'NoneType'
Failed to get detector/api/1.8.0/config/phi_start:
TypeError float() argument must be a string or a real number, not 'NoneType'
Failed to get detector/api/1.8.0/config/chi_increment:
TypeError float() argument must be a string or a real number, not 'NoneType'
Failed to get detector/api/1.8.0/config/chi_start:
TypeError float() argument must be a string or a real number, not 'NoneType'
Failed to get detector/api/1.8.0/config/kappa_increment:
TypeError float() argument must be a string or a real number, not 'NoneType'
Failed to get detector/api/1.8.0/config/omega_start:
TypeError float() argument must be a string or a real number, not 'NoneType'
Failed to get detector/api/1.8.0/config/omega_increment:
TypeError float() argument must be a string or a real number, not 'NoneType'
Failed to get detector/api/1.8.0/config/two_theta_increment:
TypeError float() argument must be a string or a real number, not 'NoneType'
Failed to get detector/api/1.8.0/config/two_theta_start:
TypeError float() argument must be a string or a real number, not 'NoneType'

Check if this happens with a real detector. If the real detector returns None, then we need to handle it correctly. If it is just the simulator then that should be fixed.

Steps To Reproduce

With sim

  1. Start tickit simulator
  2. Start IOC

or with real detector

  1. Re-initialise the detector
  2. Check what values these parameters have with curl
    • e.g. curl -v http://ixx-eiger01/detector/api/1.8.0/config/phi_start
  3. Start IOC

Acceptance Criteria

  • No warnings on boot
Lingua principale
Python
Stelle
2
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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 DiamondLightSource/fastcs-eiger

Tutte le issue di DiamondLightSource/fastcs-eiger

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.