ISISComputingGroup / ISISComputingGroup/IBEX
PCASpy: utf-8 error in log files
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 6
- Fork
- 2
- Merge medio
- 16h 40m
- PR unite (30g)
- 2
Descrizione
As a user I don't want my PCASpy server to be creating large log files with unhelpful errors. These were seen in the LSI Correlator IOC on both Zoom and Demo:
```
[2020-02-07 17:20:56] UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe8 in position 64: invalid continuation byte
[2020-02-07 17:21:32] UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 64: invalid start byte
```
These errors appear to be benign, but might contribute to large log files.
These might be related to this issue from pcaspy: https://github.com/paulscherrerinstitute/pcaspy/issues/59
This issue suggests that a client could be asking for a PV which is too long.
The LSI correlator is also our first pcaspy IOC to be running in python 3.
## Acceptance criteria:
- [ ] Cause of the errors is found
- [ ] These errors are no longer raised in LSI Correlator logs
- [ ] If applicable, fix is also prepared for other pcaspy drivers (remote IOC server, reflectometry)
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia con il LSI Correlator IOC in esecuzione sotto Python 3 e confronta gli errori nei log con il relativo pcaspy issue 59. Riproduci il UnicodeDecodeError, identificane la causa e verifica che i log di LSI Correlator non lo contengano più; prepara lo stesso fix per gli altri driver pcaspy, se applicabile.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- backend
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100