Open wb8tyw opened 1 year ago
In Windows10, when I try adding a new port I see in the console:
10/11/2023 15:38:11:INFO:Win32Platform:list_serial_ports
Traceback (most recent call last):
File "C:/msys64/home/mauri/D-Rats-master/d_rats/dplatform_win32.py", line 136, in list_serial_ports
port = win32file.CreateFile( # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pywintypes.error: (121, 'CreateFile', 'The semaphore timeout period has expired.')
10/11/2023 15:38:11:INFO:APRSicons:get_icon: Unknown APRS symbol table: x
10/11/2023 15:38:11:INFO:Spelling:Tested spelling okay: ['spelling,', 'spieling,', 'sapling,', 'spewing,', 'spilling,', 'spoiling,', '
spooling,', 'spline,', 'spellings,', 'pealing,', 'peeling,', 'sealing,', 'selling,', 'soling,', 'spleen,', 'sling,', 'speckling,', 'pa
ling,', 'piling,', 'poling,', 'puling,', 'splint,', "spelling's"]
10/11/2023 15:38:28:INFO:Win32Platform:list_serial_ports
Traceback (most recent call last):
File "C:/msys64/home/mauri/D-Rats-master/d_rats/dplatform_win32.py", line 136, in list_serial_ports
port = win32file.CreateFile( # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pywintypes.error: (121, 'CreateFile', 'The semaphore timeout period has expired.')
10/11/2023 15:38:28:INFO:Configure_prompt_for_port_chg_type:Changed to Serial
10/11/2023 15:39:02:INFO:emailgw:validate_access:No match found
anyhow this is not blocking the creation of the com
If I try to edit an existing port, it works but in console i see:
10/11/2023 15:48:57:INFO:DratsRadioPanel:Values: ('com3', True, 'COM3', '9600', False, False, 'com3')
10/11/2023 15:49:02:INFO:Win32Platform:list_serial_ports
Traceback (most recent call last):
File "C:/msys64/home/mauri/D-Rats-master/d_rats/dplatform_win32.py", line 136, in list_serial_ports
port = win32file.CreateFile( # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pywintypes.error: (121, 'CreateFile', 'The semaphore timeout period has expired.')
10/11/2023 15:49:02:INFO:Configure_prompt_for_port_chg_type:Changed to Serial
10/11/2023 15:49:02:INFO:emailgw:validate_access:No match found
Unfortunately I did not record the exception in the ticket..
Along with the line of code that throws the exception we need the name of the exception that got thrown in order to fix this.
I have updated the previous post with more text from the console
The log entry is intentional to allow us to map the various exceptions that seem to sometimes occur. Error code 121 is now known and will be added to the list of exceptions conditions that will not be shown in the future.
I tried to check the configuration for a serial port, and got a exception popup instead.
On the second try, the configuration dialog came up.
Also note that the name assigned to a radio port can not be changed.