开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Windows install Wiki updated for a simpler option.


 

Hello all,

I have updated to provide an option that does not require setting up a Python Virtual Environment.

This option also allows you to set up a shortcut to launch D-Rats.

It also turns out that while D-Rats running on a Linux under the Windows Subsystem for Linux (WSL), it is reported to not have access to the USB serial ports, it will only operate with network devices.

There is an experimental add on to the WSL-2 that allows it to access serial ports. I have not tried any of this, and do not plan to.

If someone wants to experiment with that and provide a wiki article of the results good or bad, it would be appreciated.

Another option to MSYS2 is Cygwin. It should be able to provide the same environment as MSYS2.

Again, if someone wants to experiment with that and give instructions, it would be appreciated.

73,
-John
wb8tyw


 

Thanks John

As i happen to have a recently reformatted PC with Windows 10, I took the chance to install the new d-Rats from scratch so I am here to share my experience

From the procedure indicated here:



I followed the various steps of "option 1":
- install of a fresh msys2 from:
Download and executed the installer: msys2-x86_64-20230127.exe

Download of the script with
wget


Opened shell and executed
./msys2_packages.sh

Which after a bit of time doing its stuff brought to the closure of the terminal

So I reopened the terminal from Win10 menu: "MSYS2 MSYS" And relaunched:
./msys2_packages.sh

This time it completed letting the terminal open and no apparent errors and

Then I proceed with:
pacman -Syu --noconfirm git
git clone
cd D-Rats
./d-rats.py


At this point I got a stop with:
/usr/bin/env: ‘python3’: No such file or directory


after some trial and errors (and reading the instructions at your link to the end) I understood this is because D-Rats needs to be launched not by the " MSYS2 MSYS" which I had opened before, but by "MSYS2 Mingw 64-bit" (you have to look for it in the Win10 menu as in my case wasn’t appearing in the proposed list)

This time I was able to launch D-Rats:
- cd D-Rats
- ./d-rats.py

And then I did the usual config ...

It took to me about 30 min, mostly for downloads, so I hope this helps having more testers on the new py3 version!

Have a nice weekend
maurizio

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of John E. Malmberg
Sent: 24 February 2023 14:57
To: [email protected]
Subject: [d-rats] Windows install Wiki updated for a simpler option.

Hello all,

I have updated

to provide an option that does not require setting up a Python Virtual Environment.

This option also allows you to set up a shortcut to launch D-Rats.

It also turns out that while D-Rats running on a Linux under the Windows Subsystem for Linux (WSL), it is reported to not have access to the USB serial ports, it will only operate with network devices.

There is an experimental add on to the WSL-2 that allows it to access serial ports. I have not tried any of this, and do not plan to.

If someone wants to experiment with that and provide a wiki article of the results good or bad, it would be appreciated.

Another option to MSYS2 is Cygwin. It should be able to provide the same environment as MSYS2.

Again, if someone wants to experiment with that and give instructions, it would be appreciated.

73,
-John
wb8tyw


 

Dear John,

I found the problem with the installations, my anti-virus program.? I paused it and got a complete installation this morning.? D-Rats 3.10.10 is up and running.? However, it isn't on the internet since I can't ping ratflectors?defined in Preferences Radio and the maps don't show.

I think I still need to install some items.? Below is the debug?file output.

Exception in thread Thread-2 (_run):
Traceback (most recent call last):
? File "C:/msys64/mingw64/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
? ? self.run()
? File "C:/msys64/mingw64/lib/python3.10/threading.py", line 953, in run
? ? self._target(*self._args, **self._kwargs)
? File "C:/msys64\home\don hinsman\D-Rats/d_rats/msgrouting.py", line 783, in _run
? ? self.__event.wait(self.__config.getint("settings", "msg_flush"))
? File "C:/msys64/mingw64/lib/python3.10/configparser.py", line 820, in getint
? ? return self._get_conv(section, option, int, raw=raw, vars=vars,
? File "C:/msys64/mingw64/lib/python3.10/configparser.py", line 810, in _get_conv
? ? return self._get(section, conv, option, raw=raw, vars=vars,
? File "C:/msys64/mingw64/lib/python3.10/configparser.py", line 805, in _get
? ? return conv(self.get(section, option, **kwargs))
ValueError: invalid literal for int() with base 10: '30.000000'

and here is the output from MSYS2 MING64

Created d_rats/setup_version.py
02/25/2023 09:25:39:INFO:D-Rats:main: re-config option found -- Reconfigure D-rats
02/25/2023 09:25:39:INFO:D-Rats:main: args.config = C:/Users/donhi/AppData/Roaming/D-RATS-EV
02/25/2023 09:25:39:INFO:Mainapp:Enabled debug log for Win32 systems
02/25/2023 09:25:40:INFO:QST:FeedParser not available
02/25/2023 09:25:40:INFO:DratsConfig:File C:/Users/donhi/AppData/Roaming/D-RATS-EV/d-rats.config
02/25/2023 09:25:40:INFO:MainApp:_refresh_lang: Loading locale `en'
02/25/2023 09:25:40:INFO:MainApp:_refresh_lang: Locale dir is: C:/msys64/home/don hinsman/D-Rats/locale
02/25/2023 09:25:40:ERROR:MainApp:_refresh_lang: Messages catalog file missing ?for en.? Need to use 'msgfmt tool to generate.
02/25/2023 09:25:40:INFO:MainApp:D-RATS v0.3.10b6.dev288-gf74de89 starting at Sat Feb 25 09:25:40 2023 on Platform Win32Platform:
? configuration: ? ? ? C:/Users/donhi/AppData/Roaming/D-RATS-EV
? system_data: C:/msys64/home/don hinsman/D-Rats
? OS version: Windows 10 (10, 0, 22621, 2, '')
02/25/2023 09:25:40:INFO:MainApp:load position from config file
02/25/2023 09:25:40:INFO:MainApp:_static_gps: Configuring the Static position: 35.707071,-106.061200
02/25/2023 09:25:40:INFO:MainApp:_static_gps: Mapserver active: True ca;; N4VIP
02/25/2023 09:25:40:INFO:MainApp:preparing our gps fix in JSON :b'{ "lat": "35.707071", "lng": "-106.061200", "station": "N4VIP", "comments": "altitude: 6500.000000","timestamp": "2023-02-25 16:25:40" ?}'
02/25/2023 09:25:40:INFO:MainApp:Socket Created
02/25/2023 09:25:40:INFO:MainApp:Connecting to: localhost:5011
02/25/2023 09:25:42:INFO:MainApp:Failed to create socket.
Traceback (most recent call last):
? File "C:/msys64\home\don hinsman\D-Rats/d_rats/mainapp.py", line 433, in callback_gps
? ? sock.connect((mapserver_ip, mapserver_port))
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
02/25/2023 09:25:42:INFO:StaticGPSSource:StaticGPSPosition: UNKNOWN reporting 35.7071,-106.0612@6500 ft at 09:25:42
02/25/2023 09:25:42:INFO:D-Rats:main: reloading app


02/25/2023 09:25:42:INFO:MainApp:load the main window
02/25/2023 09:25:42:INFO:MainApp:load main window with self config
02/25/2023 09:25:43:INFO:LocalFileV:refresh: Adding local file `C:\Users\donhi\iCloudPhotos\Photos\Desktop\D-RATS Shared/Animal Evacuation Sites.csv'
02/25/2023 09:25:43:INFO:LocalFileV:refresh: Adding local file `C:\Users\donhi\iCloudPhotos\Photos\Desktop\D-RATS Shared/Farmington Fire Stations.csv'
02/25/2023 09:25:43:INFO:LocalFileV:refresh: Adding local file `C:\Users\donhi\iCloudPhotos\Photos\Desktop\D-RATS Shared/K3UGR SFARES 2022 QTHs.xlsx'
02/25/2023 09:25:43:INFO:LocalFileV:refresh: Adding local file `C:\Users\donhi\iCloudPhotos\Photos\Desktop\D-RATS Shared/Los Alamos_Firestations.csv'
02/25/2023 09:25:43:INFO:LocalFileV:refresh: Adding local file `C:\Users\donhi\iCloudPhotos\Photos\Desktop\D-RATS Shared/LosAlamosTrailHeads.csv'
02/25/2023 09:25:43:INFO:LocalFileV:refresh: Adding local file `C:\Users\donhi\iCloudPhotos\Photos\Desktop\D-RATS Shared/MegaLink.csv'
02/25/2023 09:25:43:INFO:LocalFileV:refresh: Adding local file `C:\Users\donhi\iCloudPhotos\Photos\Desktop\D-RATS Shared/NM Ham Repeaters.csv'
02/25/2023 09:25:43:INFO:LocalFileV:refresh: Adding local file `C:\Users\donhi\iCloudPhotos\Photos\Desktop\D-RATS Shared/NM Public Airports Sept 2014.csv'
02/25/2023 09:25:43:INFO:LocalFileV:refresh: Adding local file `C:\Users\donhi\iCloudPhotos\Photos\Desktop\D-RATS Shared/Otero_County_Fire_Stations.csv'
02/25/2023 09:25:43:INFO:LocalFileV:refresh: Adding local file `C:\Users\donhi\iCloudPhotos\Photos\Desktop\D-RATS Shared/Santa Fe County Repeaters.csv'
02/25/2023 09:25:43:INFO:LocalFileV:refresh: Adding local file `C:\Users\donhi\iCloudPhotos\Photos\Desktop\D-RATS Shared/SFARES 2021 QTHs.csv'
02/25/2023 09:25:43:INFO:LocalFileV:refresh: Adding local file `C:\Users\donhi\iCloudPhotos\Photos\Desktop\D-RATS Shared/SFARES 2022 QTHs.csv'
02/25/2023 09:25:43:INFO:LocalFileV:refresh: Adding local file `C:\Users\donhi\iCloudPhotos\Photos\Desktop\D-RATS Shared/SFARES 2023 QTHs.csv'
02/25/2023 09:25:43:INFO:LocalFileV:refresh: Adding local file `C:\Users\donhi\iCloudPhotos\Photos\Desktop\D-RATS Shared/SFCity Fire.csv'
02/25/2023 09:25:43:INFO:LocalFileV:refresh: Adding local file `C:\Users\donhi\iCloudPhotos\Photos\Desktop\D-RATS Shared/SFCounty Fire.csv'
02/25/2023 09:25:44:INFO:DRatsPluginServer:Started serve_forever() thread
02/25/2023 09:25:44:INFO:MessageRouter:_route_via_station: Starting message router thread
02/25/2023 09:25:44:INFO:MainApp:connect main window
02/25/2023 09:25:44:INFO:MainApp:connect tabs
02/25/2023 09:25:44:INFO:MessageRouter:_run_one: Station list was empty
02/25/2023 09:25:44:INFO:MainApp:going online
02/25/2023 09:25:44:INFO:MainApp:create map window object-----
02/25/2023 09:25:44:INFO:MapWindow:init MapWindow
02/25/2023 09:25:44:INFO:MainApp:create map window object: connect object-----
02/25/2023 09:25:44:INFO:MainApp:query local gps device to see our current position
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
02/25/2023 09:25:44:INFO:MainApp:invoke config refresh
02/25/2023 09:25:44:INFO:MainApp:Refreshing config...
02/25/2023 09:25:44:INFO:gps:set_units: Set GPS units to Imperial
02/25/2023 09:25:44:INFO:MainApp:refresh comms
02/25/2023 09:25:44:INFO:MainApp:_refresh_comms: Re-Starting ports_0
02/25/2023 09:25:44:INFO:MainApp:Starting Comms
02/25/2023 09:25:44:INFO:MainApp:_refresh_comms: Re-Starting ports_1
02/25/2023 09:25:44:INFO:MainApp:Starting Comms
02/25/2023 09:25:44:INFO:MainApp:start_comms: Starting port ports_1 (El Paso)
02/25/2023 09:25:44:INFO:D-Rats:---- GUI Exception ----
%s
---- End ----
Stack (most recent call last):
? File "C:\msys64\home\don hinsman\D-Rats\d-rats.py", line 240, in <module>
? ? main()
? File "C:\msys64\home\don hinsman\D-Rats\d-rats.py", line 234, in main
? ? app.main()
? File "C:/msys64\home\don hinsman\D-Rats/d_rats/mainapp.py", line 2124, in main
? ? self.run(None)
? File "C:/msys64/mingw64/lib/python3.10/site-packages/gi/overrides/Gio.py", line 42, in run
? ? return Gio.Application.run(self, *args, **kwargs)
? File "C:\msys64\home\don hinsman\D-Rats\d-rats.py", line 93, in handle_exception
? ? MODULE_LOGGER.info("---- GUI Exception ----\n%s\n---- End ----\n",
02/25/2023 09:28:33:INFO:DratsConfigWidget:Setting LatLon value: 35.707071
02/25/2023 09:28:33:INFO:DratsConfigWidget:LatLon text: 35.707071
02/25/2023 09:28:33:INFO:DratsConfigWidget:Setting LatLon value: -106.061200
02/25/2023 09:28:33:INFO:DratsConfigWidget:LatLon text: -106.061200
02/25/2023 09:28:38:INFO:Win32Platform:list_serial_ports
Traceback (most recent call last):
? File "C:/msys64\home\don hinsman\D-Rats/d_rats/dplatform.py", line 840, in list_serial_ports
? ? port = win32file.CreateFile( ?# type: ignore
pywintypes.error: (121, 'CreateFile', 'The semaphore timeout period has expired.')
02/25/2023 09:28:38:INFO:Spelling:Tested spelling okay: ['spelling,', 'spieling,', 'sapling,', 'spewing,', 'spilling,', 'spoiling,', 'spooling,', 'spline,', 'spellings,', 'pealing,', 'peeling,', 'sealing,', 'selling,', 'soling,', 'spleen,', 'sling,', 'speckling,', 'paling,', 'piling,', 'poling,', 'puling,', 'splint,', "spelling's"]


Any ideas why I can't access internet or see my maps.? I checked the defined map directory and the tiles are there.

Thanks for being so patient with my slow efforts,

Don














































































































On Fri, Feb 24, 2023 at 7:04?AM John E. Malmberg <wb8tyw@...> wrote:
Hello all,

I have updated

to provide an option that does not require setting up a Python Virtual
Environment.

This option also allows you to set up a shortcut to launch D-Rats.

It also turns out that while D-Rats running on a Linux under the Windows
Subsystem for Linux (WSL), it is reported to not have access to the USB
serial ports, it will only operate with network devices.

There is an experimental add on to the WSL-2 that allows it to access
serial ports.? I have not tried any of this, and do not plan to.

If someone wants to experiment with that and provide a wiki article of
the results good or bad, it would be appreciated.

Another option to MSYS2 is Cygwin.? It should be able to provide the
same environment as MSYS2.

Again, if someone wants to experiment with that and give instructions,
it would be appreciated.

73,
-John
wb8tyw







--
73 de N4VIP, Don


 

On 2/25/2023 10:35 AM, Donald Hinsman wrote:
Dear John,
I found the problem with the installations, my anti-virus program. I
paused it and got a complete installation this morning. D-Rats 3.10.10 is
up and running. However, it isn't on the internet since I can't ping
ratflectors defined in Preferences Radio and the maps don't show.
It is possible that you have firewall rules on the Microsoft Windows system that is blocking traffic. Look for that first.

The defaults are mostly the same as for python2 based d-rats, and none of the ratflector entries work any more. There is already ticket to replace them with an improved system.

The same may be true for the MAP URLs. Maurizio and I have been using the thunderforest service and URLs, but that requires signing up with an account for access.



I think I still need to install some items. Below is the debug file output.
Editing this down a bit:

File "C:/msys64\home\don hinsman\D-Rats/d_rats/msgrouting.py", line 783,
in _run self.__event.wait(self.__config.getint("settings", "msg_flush"))
ValueError: invalid literal for int() with base 10: '30.000000'
This is an error in the d-rats configuration file. A number that is expected to be an integer has been entered in as a float.

You may be able to fix that with the configuration settings for D-Rats, otherwise you may need to use a text editor to edit the file.



02/25/2023 09:25:40:INFO:QST:FeedParser not available
For Option 1 of the Msys2 install, FeedParser is not available, it is only available for Option 2. This is just an informational message.

02/25/2023 09:25:40:ERROR:MainApp:_refresh_lang: Messages catalog file
missing for en. Need to use 'msgfmt tool to generate.
Forgot for the Option 1 install, you need to run D-Rats./build_pot.sh after doing a git clone or a git pull to generate the message catalogs.

02/25/2023 09:25:40:INFO:MainApp:Connecting to: localhost:5011
02/25/2023 09:25:42:INFO:MainApp:Failed to create socket.
Traceback (most recent call last):
File "C:/msys64\home\don hinsman\D-Rats/d_rats/mainapp.py", line 433, in
callback_gps
sock.connect((mapserver_ip, mapserver_port))
ConnectionRefusedError: [WinError 10061] No connection could be made
because the target machine actively refused it
This is to connect to some type of map server application that is not part of D-Rats.



02/25/2023 09:25:44:INFO:MapFileSource:parse_line failed (%s)
This means that there is a syntax error in one of the MapFileSource files.

I seen a previous report, however the file that caused it was deleted to fix the problem, so I have no way to reproduce it.

There is an open ticket for it, the main cause is that while the file has strict syntax requirements, Nothing in D-Rats makes sure that human entered data is in compliance with those requirements before saving it to disk. Any extra punctuation in a map source description can cause this type of failure.

The main difference in the python2 version of D-rats is that it tends to silently ignore these errors.



02/25/2023 09:28:38:INFO:Win32Platform:list_serial_ports
Traceback (most recent call last):
File "C:/msys64\home\don hinsman\D-Rats/d_rats/dplatform.py", line 840,
in list_serial_ports
port = win32file.CreateFile( # type: ignore
pywintypes.error: (121, 'CreateFile', 'The semaphore timeout period has
expired.')
This is because d-rats timed out in listing the serial ports.
D-Rats tries to connect to any that are on the system before listing them.
I did not encounter a 121 semaphore timeout in my testing.

Looks like some more logging needs to be added to that module to identify the serial port that this occurred on.

Then if it shows up again, we would may be able to tell if this is an issue that d-rats should alert on or ignore.



Thanks for being so patient with my slow efforts,
This is one of the things that this group is for.

73,
-John


 

John, I would gladly buy you a beverage of your choice for all of the work you are putting into this, Hey Don you can join us been a day since we talked.
--
AL M
KF5SMH