开云体育

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

Re: Windows install Wiki updated for a simpler option.


 

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

Join d-rats@groups.io to automatically receive all group messages.