Release request: slcan on Windows loses frames on 4.6.1, fixed on main
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
Read the release process and the status of pull request #2028, which the issue identifies as the fix for slcanBus._read. The requested outcome is a 4.6.2 or 4.7.0 release containing that change; this issue requests a release rather than implementation work.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Hi @zariiii9003,
Could a 4.6.2 or 4.7.0 be released that includes #2028? On Windows, the slcan interface in 4.6.1 loses frames whenever the bus is busy, and #2028 fixes it, but it is only on main so far.
What we see. The device under test sends 10000 frames to a CANable adapter running slcan firmware. With 4.6.1 the host receives between some fraction of (about half) them, and then nothing more arrives. The same test on Linux receives all 10000 frames.
slcanBus._read in 4.6.1 calls serial.read(1) once per byte. On Windows each call is a separate request to the serial driver. Bytes are dropped.
#2028 fixes it...
Until there is a release, we replace slcanBus._read in our own test tooling.
Thanks for all your efforts with python-can!
- Vorherrschende Sprache
- Python
- Sterne
- 1.6k
- Forks
- 715
- Ø Merge
- 2 T. 4 Std.
- Gemergte PRs (30 T.)
- 42
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus hardbyte/python-can
-
serial: a frame cut off by the read timeout raises struct.error / TypeError instead of CanOperationErrorEvtl. vergeben @aloneangel45 hat das vor 1 Tag übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
hardbyte/python-can#2157 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 68/100
hardbyte/python-can#1922 · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
hardbyte/python-can#2159 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Make socket binding exceptions more debugableEvtl. vergeben @vonpanda hat das vor 57 Tagen übernommen. Offenenhancement
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 75/100
hardbyte/python-can#2104 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 30/100
hardbyte/python-can#2102 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in hardbyte/python-can
Ähnliche Issues
-
essreduce
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 69/100
Maintainer antworten meist innerhalb von 1 Tag
-
[PORT] A2A: map audio file parts to audio content and ignore MIME parameters (TS→Py)Evtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenarea-a2a bug port python
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
strands-agents/harness-sdk#6697 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
TigreGotico/orthography2ipa#2950 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
TigreGotico/text2spoken#929 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100