hardbyte / hardbyte/python-can

Notifier thread closed when exception occurs on bus.recv expect repoting to listener only

Offen
#1,667 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Python
Sterne
1.6k
Forks
697
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Describe the bug
When bus.recv raise an error notifier thread is stoped. Role of notifier is to cascade issue to the listener but not close itself

### To Reproduce
Create CAN conection and produce failure on hardware that raise an error. Notifier catch the error but close the thread

### Expected behavior
cascade exception to the listener to allow more precise control of failure

### Additional context

OS and version: windows
Python version: 3
python-can version: 4.2.2
python-can interface/s (if applicable): mine is Ixxat and error raised is "Error warning limit"

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.