usepat / soniccontrol

A python based lightweight GUI to control and communicate with a SonicAmp
Other
1 stars 0 forks source link

Bug Hunting #121

Open DavidWild02 opened 2 months ago

DavidWild02 commented 2 months ago

Write the bugs found as a comment or add it to the bullet list, by editing the description

TechHeadusePAT commented 1 month ago

Aufm Mac kommt es beim Verbinden zu einem Fehler (obviously, weil das Filesystem anders zu behandlen ist)... Fehlermeldung sieht so aus: FileNotFoundError: [Errno 2] No such file or directory: '/Users/stefanradel/git/soniccontrol2/logs/deviceon/dev/cu.usbserial-AQ03TH4W.log'

TechHeadusePAT commented 1 month ago

Neues Fehlerbild:

2024-08-06 17:12:23,910 - asyncio - ERROR - base_events.py:1758:default_exception_handler - Task exception was never retrieved future: <Task finished name='Task-6' coro=<ConnectionWindow._on_connect_via_url() done, defined at /Users/stefanradel/git/soniccontrol2/soniccontrol/tkintergui/views/core/connection_window.py:76> exception=AssertionError()> - exception: (<class 'AssertionError'>, AssertionError(), <traceback object at 0x116b4fc00>) Traceback (most recent call last): File "/Users/stefanradel/git/soniccontrol2/soniccontrol/tkintergui/views/core/connection_window.py", line 85, in _on_connect_via_url await self._attempt_connection(connection_name, reader, writer) File "/Users/stefanradel/git/soniccontrol2/soniccontrol/tkintergui/utils/animator.py", line 94, in wrapper animator.run(**animation_start_kwargs) File "/Users/stefanradel/git/soniccontrol2/soniccontrol/tkintergui/utils/animator.py", line 44, in run assert(self._worker is None) AssertionError

TechHeadusePAT commented 1 month ago

Bitte kommentiere hier, wenn ich wieder testen soll (sonst muss ich commits hunten ;-)

DavidWild02 commented 1 month ago

Usepat logo soll als app icon dienen

DavidWild02 commented 1 month ago

auf windows soll die App die richtigen Rechte haben

DavidWild02 commented 1 month ago

Image

Wos a immo do do Fehla isch. Bo...

TechHeadusePAT commented 1 month ago

Ein blichen mehr Information zum assertion error, vollständige stdout am Mac ab Start, er verbindet sich übrigens korrekt

(venv310soniccontrol) stefanradel@Riavvio soniccontrol2 % python -m soniccontrol Installing fonts... ==> QTypeOT-CondExtraLight ==> QTypeOT-CondLight ==> QTypeOT-CondMedium ==> QTypeOT-CondBold ==> QTypeOT-CondBook Installed 5 fonts 2024-08-12 11:42:20,278 - soniccontrol - INFO - init.py:59: - SonicControl 1.9.8 - exception: None 2024-08-12 11:42:20,279 - soniccontrol - INFO - init.py:60: - Author: usePAT G.m.b.H - exception: None 2024-08-12 11:42:20,279 - soniccontrol - INFO - init.py:61: - Email: info@usepat.com - exception: None 2024-08-12 11:42:20,279 - soniccontrol - INFO - init.py:62: - License: - exception: None 2024-08-12 11:42:20,279 - soniccontrol - INFO - init.py:63: - Status: Development - exception: None 2024-08-12 11:42:20,279 - soniccontrol - INFO - init.py:64: - Python: 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] - exception: None 2024-08-12 11:42:20,279 - soniccontrol - INFO - init.py:65: - Platform: darwin - exception: None 2024-08-12 11:42:21.172 Python[32346:33845460] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/n3/ck7n0p5n4wvg7dxdrcl8d6br0000gp/T/org.python.python.savedState 2024-08-12 11:42:21,269 - soniccontrol - INFO - main.py:12:main - Enabling high dpi awareness for DARWIN/ LINUX - exception: None 2024-08-12 11:42:36.485 Python[32346:33845460] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES. 2024-08-12 11:43:29,525 - asyncio - ERROR - base_events.py:1758:default_exception_handler - Task exception was never retrieved future: <Task finished name='Task-4' coro=<ConnectionWindow._on_connect_via_url() done, defined at /Users/stefanradel/git/soniccontrol2/soniccontrol/tkintergui/views/core/connection_window.py:76> exception=AssertionError()> - exception: (<class 'AssertionError'>, AssertionError(), <traceback object at 0x10a240400>) Traceback (most recent call last): File "/Users/stefanradel/git/soniccontrol2/soniccontrol/tkintergui/views/core/connection_window.py", line 85, in _on_connect_via_url await self._attempt_connection(connection_name, reader, writer) File "/Users/stefanradel/git/soniccontrol2/soniccontrol/tkintergui/utils/animator.py", line 94, in wrapper animator.run(**animation_start_kwargs) File "/Users/stefanradel/git/soniccontrol2/soniccontrol/tkintergui/utils/animator.py", line 44, in run assert(self._worker is None) AssertionError

TechHeadusePAT commented 1 month ago

soniccontrol2 % sudo soniccontrol Installing fonts... ==> QTypeOT-CondExtraLight ==> QTypeOT-CondLight ==> QTypeOT-CondMedium ==> QTypeOT-CondBold ==> QTypeOT-CondBook Installed 5 fonts 2024-08-13 14:59:20,246 - soniccontrol - INFO - init.py:66: - Python: 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] - exception: None 2024-08-13 14:59:20,247 - soniccontrol - INFO - init.py:67: - Platform: darwin - exception: None 2024-08-13 14:59:20.523 Python[41918:34808690] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES. 2024-08-13 14:59:20,831 - soniccontrol - INFO - init.py:62:start_gui - Enabling high dpi awareness for DARWIN/ LINUX - exception: None 2024-08-13 14:59:29,126 - cu.usbserial-AQ03TH4W.ConnectionBuilder - INFO - connection_builder.py:37:build - Trying to connect with legacy protocol - exception: None 2024-08-13 14:59:29,141 - cu.usbserial-AQ03TH4W.LegacySerialCommunicator - INFO - serial_communicator.py:245:open_communication - Open communication with handshake - exception: None 2024-08-13 14:59:35,155 - cu.usbserial-AQ03TH4W.LegacySerialCommunicator - INFO - serial_communicator.py:241:get_first_message - Answer(_lines=[], unknown_answers=set(), _valid=False, _measured_response=6.027251958847046, _creation_timestamp=1723553969.128117) - exception: None 2024-08-13 14:59:35,156 - cu.usbserial-AQ03TH4W.LegacySerialCommunicator - INFO - serial_communicator.py:254:send_and_get - Write command: b'?info\n' - exception: None 2024-08-13 14:59:37,657 - cu.usbserial-AQ03TH4W.LegacySerialCommunicator - INFO - serial_communicator.py:265:send_and_get - Received Answer: [] - exception: None 2024-08-13 14:59:37,658 - cu.usbserial-AQ03TH4W.ConnectionBuilder - WARNING - connection_builder.py:54:build - Connection could not be established with legacy protocol - exception: None 2024-08-13 14:59:37,658 - cu.usbserial-AQ03TH4W.ConnectionBuilder - INFO - connection_builder.py:56:build - Trying to connect with new sonic protocol - exception: None 2024-08-13 14:59:37,664 - cu.usbserial-AQ03TH4W.SerialCommunicator - INFO - serial_communicator.py:84:send_and_get - Send command: ?info - exception: None 2024-08-13 14:59:37,664 - cu.usbserial-AQ03TH4W.SerialCommunicator - INFO - serial_communicator.py:94:send_and_get - Write package: <0#0#1#5#?info>

ALLE COMMANDS, autoread was on

mit autoread off ist der Fehler 2024-08-13 15:04:39,044 - cu.usbserial-AQ03TH4W.ui.SerialMonitor - ERROR - serialmonitor.py:74:_send_and_receive - - exception: None 2024-08-13 15:04:58,895 - cu.usbserial-AQ03TH4W.ui.SerialMonitor - ERROR - serialmonitor.py:74:_send_and_receive - - exception: None

gestartet am Mac mit sudo soniccontrol

SonicTS commented 3 weeks ago

image

frequency scale is on the wrong side

DavidWild02 commented 3 weeks ago

Device Logs show the application logs

SonicTS commented 2 weeks ago

Recovery mode should have a scripting tab and should be able to set the baudrate

TechHeadusePAT commented 2 weeks ago

Sonicmeasure läuft nicht von höheren nach niedrigeren Frequenzen. Ich kann nicht sagen, ob das ein Problem der App oder mit der Firmware ist. Ich verwende den ramp Befehl der Firmware...