unending SerialExceptions 😲 after ~30 minutes of sending commands to screen —— having to power cycle 😥
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Bug
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- python
- Bereich
- embedded-iot
Rechercherichtung
Beginne mit der Überprüfung der seriellen Wiederholungsversuche und der COM-Port-Behandlung in lcd_command_rev_a.py und vergleiche sie anschließend mit dem protokollierten Fehler für COM4 und SerialException. Die Reproduktion hängt von der unveröffentlichten winamp_dashboard.py des Meldenden ab; abgeschlossen wäre die Aufgabe, wenn die Ursache des lang andauernden Fehlers identifiziert und eine zuverlässige Wiederherstellung oder ein aussagekräftiges Fehlerverhalten definiert wurde.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Describe the bug
First off, i LOVE this project. I was so happy to see that i could do something ELSE with my turing model "A" screen. They are going for only $13 on aliexpress right now.
Anyway —— Is this a bug, or do I just need to throttle my commands at a slower rate?
To Reproduce
Steps to reproduce the behavior:
- Run my current winamp_dashboard.py program, which isn't yet published yet
- Watch it fail over unending SerialExceptions after 30 minutes or so
- Power cycle the frame because it will never ever reset eve again after this
I spent so long getting this thing to work, and once it worked. The frame conks out in 30 minutes.
Expected behavior
The library would not cause serialexceptions simply due to using it, or would return a more meaningful error code explaining what is going wrong and how to prevent that
Screenshots / photos of the Turing screen
Add screenshots or photos of the rendering on the smart screen to help explain your problem.
You can drag and drop photos here to add them to the description.
DEBUG] lcd_comm_rev_a: DisplayPILImage. is being run on an image of dimensions 800x40
DEBUG] lcd_comm_rev_a: DisplayPILImage. [2] image_width/h=0x0,actual=800x40
DEBUG] DDDDDDDDDDDDrawing: DisplayPILImage: [4] x=0,y=0,x0=0,y0=0,x1=799,y1=39,image.size[0]=800,image.size[1]=40
DEBUG] DDDDDDDDDDDDrawing: DisplayPILImage: [5] self.SendCommand(Command.DISPLAY_BITMAP, x0=0, y0=0, x1=799, y1=39)
ERROR] SerialException: Failed to send serial data to device. Infinitely retrying.
DEBUG] Static COM port: COM4
ERROR] Cannot open COM port COM4: could not open port 'COM4': FileNotFoundError(2, 'The system cannot find the file specified.', None, 2)
Environment:
- Turing A [the one that uses lcd_command_rev_a.py]
- Version of your project? 2024/08/21 (I pulled it 3 days ago, so probably the latest?)
- WIndows 11
- 3.10.9
- AMD Ryzen9 5950X 16core 3.4/4.9GHz CPU+Gigabyte Aorus Ultra mobo+64G 4400Hz G.Skill RGB RAM+RTX3060 12G video+1TB WD PCIe4.0 NVMe M.2 SSD+18TB WD HD+liquid cool(w/RGB cpu light)+6 RGB fans+Phanteks case
Additional context
I can totally publish the product if you want to look at it, but I assume you probably do not. It's just one .py script (winamp.py) and one library (claire_winamp.py, i always put my first name into my own libraries so i don't forget it was me who wrote them 😂). Heck i could even email them if you want to look at them (but you probably don't).
- Vorherrschende Sprache
- Rich Text Format
- Sterne
- 2.3k
- Forks
- 412
- Ø Merge
- 21 Std. 10 Min.
- Gemergte PRs (30 T.)
- 7
Beitragsleitfaden
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 mathoudebine/turing-smart-screen-python
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
mathoudebine/turing-smart-screen-python#896 · 1 Kommentar ·
-
enhancement
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 72/100
mathoudebine/turing-smart-screen-python#557 · 2 Kommentare · 3 Reaktionen ·
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 42/100
Alle Issues in mathoudebine/turing-smart-screen-python
Ähnliche Issues
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 Kommentare ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
espressif/esp-iot-solution#786 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100