¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Where is the config file hidden?

 

We now have 3 stations that will not receive, transmit ok. All stations running V 0.3.9, not beta.
--
AL M
KF5SMH


Where is the config file hidden?

 

Have one of the locals trying to delete all the D-RATS files so we can reinstall, He can Tx but not Rx, can't remember where that sill file is, he removed everything he could find in a search, still retains callsign. Help!
--
AL M
KF5SMH


Re: Is anyone using d-rats with agwpe?

 

On 3/27/2022 9:51 AM, Jack Spitznagel (KD4IZ) wrote:
John,
I would use AGWPE hook if it was available. I have been using the SV2AGW packet suite for several years. He maintains it well and I have found a number of programs that take advantage of it or provide it (like in Direwolf). I did not know that it was in the plan for the original D-Rats.
Hello Jack,

The AGWPE option is in the original D-Rats, you can find it in as one of the radio types in the configuration menu.

I have no idea if the option works, as I have no way to test it.

If it did work, I do not think I did anything to break it in my fork, but, I also do not have the resources to debug it, if I did accidentally break it.

It really looks like the module was a work in progress.

There are some unit tests, that need to be edited to be enabled in the agw.py module that someone with the agwpe driver can use to test it and attempt to fix it. Right now, it is coded to enable a "simulator" for the driver, and that of course will not work if a real agwpe driver is present on the same port: 8000.

73,
-John


Re: Is anyone using d-rats with agwpe?

 

John,

I would use AGWPE hook if it was available. I have been using the SV2AGW packet suite for several years. He maintains it well and I have found a number of programs that take advantage of it or provide it (like in Direwolf). I did not know that it was in the plan for the original D-Rats.

Jack Spitznagel
KD4IZ

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of John E. Malmberg
Sent: Sunday, March 27, 2022 09:19
To: D-Rats Mailing list <[email protected]>
Subject: Re: [d-rats] Is anyone using d-rats with agwpe?

On 3/25/2022 6:28 PM, John E. Malmberg wrote:
Hello All,

Just curious if anyone is using agwpe connections with D-Rats?
Based on what I found in testing the source code, and the lack of responses here, the answer is no.

The existing source has a lot of debugging enabled and was incomplete in that it was not receiving the payload for any packets received from AGWPE when I tried to test it.

So while I can not fully test it, a fixed agw.py module has now been merged into the python3_tyw branch of my fork.

73,
-John, wb8tyw@.../wb8tyw@...


Re: Is anyone using d-rats with agwpe?

 

On 3/25/2022 6:28 PM, John E. Malmberg wrote:
Hello All,
Just curious if anyone is using agwpe connections with D-Rats?
Based on what I found in testing the source code, and the lack of responses here, the answer is no.

The existing source has a lot of debugging enabled and was incomplete in that it was not receiving the payload for any packets received from AGWPE when I tried to test it.

So while I can not fully test it, a fixed agw.py module has now been merged into the python3_tyw branch of my fork.

73,
-John, wb8tyw@.../wb8tyw@...


Is anyone using d-rats with agwpe?

 

Hello All,

Just curious if anyone is using agwpe connections with D-Rats?

AGWPE is SV2AGW Protocol Engine, the part that d-rats uses is a TCP/IP server that runs on Windows and converts TCP/IP data to a software TNC using the sound card.

I can not fully test the fixes needed for that module, so I am using a simulator to simulate an agwpe port enough to validate the logic.

Not only do I need to make the python3 changes, I also need to fix some existing issues to be compatible with the official documentation at
.

73,
-John


Update to python3_tyw test fork - 2 bugs fixed.

 

Hello all,

If you are using the python3_tyw test fork, I just pushed an update to it that fixes outgoing file transfers.

Apparently at some point after testing the file transfers, I accidentally inserted a typo into the file, and this was missed before that change got merged in.

My guess is that I had a focus in a different window than I was typing in, and did not notice I had modified the wrong content.

However so far no one has notified me that they tripped on that bug.

I found that bug only because I am trying to get the agw.py module converted to python3, and discovered an anomaly in the trying to run test the existing code.

That made me have to look up the the AGW protocol from:
.

This showed me that d-rats was not using the correct decoding for the packets. If it works, it only works for a subset of the AGW protocol.

When I went to make the correction, I first did a search in the d-rats code to see if I could find similar bugs. Unfortunately I did.

This second bug is harmless to windows on x86 users and most systems likely to be running d-rats, but will prevent file transfers to and from systems that use big-endian storage. Testing the fix exposed the first bug above.

This is now fixed, but only in the python3_tyw fork.

There are also fixes to file and form transfers in this fork that are not in the upstream version, mainly in handling the recovery of partial transfers.

73,
-John


Contributing to my Python3 fork of d-rats

 

Hello all,

I am trying to maintain some standards on my fork and python3_tyw branch that are close to my professional programming work, so please look over this link before submitting PRs to my repository.



And please read before submitting tickets for my fork:



If you want to assist with reviewing coded, I just need to send an invite to your github username.

Thank you for your help and feedback.

This is also to help work out the kinks of project collaboration before creating a "GitHub Organization Project" for D-Rats with Maurizio as a new home for the D-Rats project.

73,
-John


Re: Python 3 d-rats fork

 

The logging code is in the middle of a transition from using print calls to using a Python provided package to manage the logging.

As such a lot of things are not working there yet.
The Windows platform redirects stdout to a log file, and something in that is not yet working, and I have been working on other parts instead of debugging it. So the console logging may not get fixed by me for a while.

Right now, I am trying to get the AGW module into a condition where it should work. It does not currently work because of python 3 differences. But I do not have a sound card setup, so I am also working on setting up a simulator for testing.

There are still a lot of stuff that has not been tested.

On 3/23/2022 8:40 AM, Ralph Barbakoff wrote:
Ran it for abot 8 hours yesterday.? If the program started with the logging, the log funtions.? If the program started from my desktop icon the logging under help does not appear.? Not sure what is happening maybe looking in wrong place!!
Great job, thanks!
Ralph Barbakoff (WA9LKZ)


Re: Python 3 d-rats fork

 

Ran it for abot 8 hours yesterday.? If the program started with the logging, the log funtions.? If the program started from my desktop icon the logging under help does not appear.? Not sure what is happening maybe looking in wrong place!!

Great job, thanks!

Ralph Barbakoff (WA9LKZ)


On Wednesday, March 23, 2022, 08:17:12 AM CDT, John E. Malmberg <wb8tyw@...> wrote:


On 3/22/2022 12:32 PM, Ralph Barbakoff wrote:
> Hi John
> After some tinkering I think I got Version 4.0 pre-release 1 to operate!!
> See the attached log file, see if I got it this time!!
> Thanks!!!

Yes, you got it.? Hope it works for you.

73
-John, wb8tyw






Re: Python 3 d-rats fork

 

On 3/22/2022 12:32 PM, Ralph Barbakoff wrote:
Hi John
After some tinkering I think I got Version 4.0 pre-release 1 to operate!!
See the attached log file, see if I got it this time!!
Thanks!!!
Yes, you got it. Hope it works for you.

73
-John, wb8tyw


Re: Python 3 d-rats fork

 

Hello Dave,

I have not started working on testing packaging yet, so did not realize that my changes broke the setup.py.

Getting the packages created and getting the documents generated from the DocStrings that I have added is lower on my list.

I expect that once I start generating the documentation, I will find a lot of things in my docstrings that need fixups.

Biggest change other than GTK-2 to GTK-3 that I can see is that bytes and strings are now separate types, and all non-disk I/O is using the bytes type and requires explicit conversion to/from str type.

73,
-John

On 3/22/2022 2:36 PM, Dave Slotter wrote:
Hi John,
Thank you for working on this experimental Python3 version of D-Rats.
I pushed a small (one line) change for setup.py to ensure that the map
module gets installed under Linux. (It wasn't and was failing on my Ubuntu
Linux machine.)
Also, I'm the curator / developer of HamPi, and HamPi is slowly moving away
from Python 2 so my thousands of users and I are very interested in D-Rats
and Chirp migrating from Python 2 to Python 3.


Re: Python 3 d-rats fork (Was: [d-rats] Does D-RATS need a map?)

 

Hi John,

Thank you for working on this experimental Python3 version of D-Rats.

I pushed a small (one line) change for setup.py to ensure that the map module gets installed under Linux. (It wasn't and was failing on my Ubuntu Linux machine.)

Also, I'm the curator / developer of HamPi, and HamPi is slowly moving away from Python 2 so my thousands of users and I are very interested in D-Rats and Chirp migrating from Python 2 to Python 3.

73,


On Mon, Mar 21, 2022 at 7:53 PM John E. Malmberg <wb8tyw@...> wrote:
On 3/21/2022 1:30 PM, Ralph Barbakoff wrote:
> Hopefull the second file attached is a bmp print screen of the map
> area between WA9LKZ and AB9FT north of Milwaukee (Sheboygen)
Just looked at your log.

I am sorry to inform you that you are not running the new code.
And double-clicking it launched it under python2.

I am trying to keep the master branch the same as Maurizio's official
repo for d-rats, but I may be behind it some times.

For my code, you need to clone the git repository and then checkout the
python3_tyw branch.

git clone
cd D-Rats
git checkout python3_tyw

That gets the current experimental branch.
To update it before you run again

git pull

I just updated it a few minutes ago, and probably am updating it at
least once a week.

As Maurizio posted the other links, you need a bunch of python3 packages
to be installed.? All the needed and optional ones appear to be
available on Ubuntu.

At this time, I only have the list of packages that I used for
development on my Wiki that were referenced before.

Another source of packages is the python "Pypi" repository that are
installed with pip.? This fork of D-rats is designed intentionally to
not require anything that is only available from Pypi.

Criminals do not generally have access to tamper with the legitimate
packages on Pypi.

Pypi is not a secure repository with vetted contributions, and is
currently under active attack by criminals that are installing
counterfeit packages that have almost the same name as the legitimate
packages.? So a small typo and you get a modified package that will
likely contain a remote access program to give the criminal access to
your computer.

So if you must use or want to use PyPi, be very careful.
At my day job I get periodic reports of how many counterfeit packages
have been found and removed from Pypi in the past month or so.

The criminals do not generally have access to tamper with the legitimate
packages on Pypi.

Other manual steps that using D-rats from source needs:

Wl2k use needs the lzhuf package built.? The source and a Makefile is in
the repository.? Currently untested with the fork.

For some unknown reasons, wl2k is disabled for D-rats Mac, with a
comment stating that lzhuf is not available.? As far as I can find, the
only source code for lzhuf is provided with d-rats and I see nothing
that should prevent it being built on Mac.? I just do not know what
directory that D-Rats on Mac wants the built image to be in.

Another locally built option is for internationalization.? We do not
keep the binary dictionaries in the git repo, there is another wiki page
with my repo about how to locally build it.

Currently we only have English and Italian translations available, and
the English currently mostly matches the source code.

I bumped the minor release from 3 to 4 since this is a significant change.

$ python d-rats.py
03/21/2022 18:38:02:INFO:D-Rats:main: re-config option found --
Reconfigure D-rats
03/21/2022 18:38:02:INFO:Mainapp:Enabled debug log for Win32 systems
03/21/2022 18:38:04:INFO:Version:HTTP_CLIENT_HEADERS={'User-Agent':
'd-rats/0.4.00 pre-release 1'}
03/21/2022 18:38:04:INFO:QST:FeedParser not available

73,
-John

> Have fun all!!
> Ralph Barbakoff (WA9LKZ)






Re: Python 3 d-rats fork (Was: [d-rats] Does D-RATS need a map?)

 

Hi John

After some tinkering I think I got Version 4.0 pre-release 1 to operate!!

See the attached log file, see if I got it this time!!

Thanks!!!

Ralph Barbakoff (WA9LKZ)


On Monday, March 21, 2022, 06:53:51 PM CDT, John E. Malmberg <wb8tyw@...> wrote:


On 3/21/2022 1:30 PM, Ralph Barbakoff wrote:
> Hopefull the second file attached is a bmp print screen of the map
> area between WA9LKZ and AB9FT north of Milwaukee (Sheboygen)
Just looked at your log.

I am sorry to inform you that you are not running the new code.
And double-clicking it launched it under python2.

I am trying to keep the master branch the same as Maurizio's official
repo for d-rats, but I may be behind it some times.

For my code, you need to clone the git repository and then checkout the
python3_tyw branch.

git clone
cd D-Rats
git checkout python3_tyw

That gets the current experimental branch.
To update it before you run again

git pull

I just updated it a few minutes ago, and probably am updating it at
least once a week.

As Maurizio posted the other links, you need a bunch of python3 packages
to be installed.? All the needed and optional ones appear to be
available on Ubuntu.

At this time, I only have the list of packages that I used for
development on my Wiki that were referenced before.

Another source of packages is the python "Pypi" repository that are
installed with pip.? This fork of D-rats is designed intentionally to
not require anything that is only available from Pypi.

Criminals do not generally have access to tamper with the legitimate
packages on Pypi.

Pypi is not a secure repository with vetted contributions, and is
currently under active attack by criminals that are installing
counterfeit packages that have almost the same name as the legitimate
packages.? So a small typo and you get a modified package that will
likely contain a remote access program to give the criminal access to
your computer.

So if you must use or want to use PyPi, be very careful.
At my day job I get periodic reports of how many counterfeit packages
have been found and removed from Pypi in the past month or so.

The criminals do not generally have access to tamper with the legitimate
packages on Pypi.

Other manual steps that using D-rats from source needs:

Wl2k use needs the lzhuf package built.? The source and a Makefile is in
the repository.? Currently untested with the fork.

For some unknown reasons, wl2k is disabled for D-rats Mac, with a
comment stating that lzhuf is not available.? As far as I can find, the
only source code for lzhuf is provided with d-rats and I see nothing
that should prevent it being built on Mac.? I just do not know what
directory that D-Rats on Mac wants the built image to be in.

Another locally built option is for internationalization.? We do not
keep the binary dictionaries in the git repo, there is another wiki page
with my repo about how to locally build it.

Currently we only have English and Italian translations available, and
the English currently mostly matches the source code.

I bumped the minor release from 3 to 4 since this is a significant change.

$ python d-rats.py
03/21/2022 18:38:02:INFO:D-Rats:main: re-config option found --
Reconfigure D-rats
03/21/2022 18:38:02:INFO:Mainapp:Enabled debug log for Win32 systems
03/21/2022 18:38:04:INFO:Version:HTTP_CLIENT_HEADERS={'User-Agent':
'd-rats/0.4.00 pre-release 1'}
03/21/2022 18:38:04:INFO:QST:FeedParser not available

73,
-John

> Have fun all!!
> Ralph Barbakoff (WA9LKZ)






Re: Does D-RATS need a map?

 

all honors is up to John!!

Il giorno lun 21 mar 2022 alle ore 17:36 Ralph Barbakoff <barbakoff@...> ha scritto:
It runs on my Dell C840 under python3 Linux.??

Had problem getting it to start with command line, but double click in the folder started up.? Took it quite a whiel to load the maps but they look great.

The log file is the attached text document.

Fantastic, Maurizio u are the modern day Galileo!?

Ralph Barbakoff (WA9LKZ)


On Monday, March 21, 2022, 10:23:32 AM CDT, Maurizio Andreotti <maurizioandreottilc@...> wrote:



hi folks

John is doing a fantastic job porting the entire application to python3.

Although it's not fully ported, as of now it works quite stable on linux and windows. If??anybody wantd to test it , this can be done .

in general the new version?rely on the same config file you already?have for latest d-rats.

LINUX
to test it on linux, you need to have python3 installed (instructions as per your distribution) and then? it's enough?to download the code in a new folder and launch it.
?
>python3 ./d-rats.py

at first it will probably complain about the usual packages to install - (if you try pls pls keep your notes so we can enrich the wiki),

in case you want to use a new config file, this option should work:
>python3?./d-rats.py --config ~/.d-rats-ev/d-rats2.config

in order to execute it with maximum verbosity to control what is happening:
>python3?./d-rats.py --loglevel DEBUG

more info on available options here:

WINDOWS 10 TEST
as of now, to test it on Windows 10 it is necessary to set up an environment? where the code is interpreted.

I don't?recall all the steps i did to get it working on windows (if you try pls pls keep your notes so we can enrich the wiki), the key step was to install Msys2 by following the instructions at

?while following this wiki:


then just download the d-rats code, unzip it into your "mysys home", in my case:
"C:/msys64\home\mauri\

and launch it:
>python3?./d-rats.py --loglevel DEBUG

any bugs or suggestions. pls let's use the tracker:?


thanks anybody for helping.
cheers
maurizio


Il giorno lun 21 mar 2022 alle ore 14:20 John E. Malmberg <wb8tyw@...> ha scritto:

On 3/20/2022 5:19 PM, Patrick Connor via wrote:
> First, I would like to thank WB8TYW for his efforts to modernize
> D-RATS. His recent posts about the map jogged my memory. I have been
>? using D-RATS since the 2.x days. Some of the features built into
> D-RATS were just hacks by Dan as experiments that were not followed
> through to completion. That brings me to the question: Does D-RATS
> need a map? I always have an APRS client open at the same time I am
> using D-RATS. I would find it convenient to show D-RATS position
> reports on my APRS map, having all assets shown in one window. I
> suggest D-RATS can connect to APRS clients by emulating an APRS-IS
> server port, or an AGW or KISS over TCP port that APRS clients can
> connect to.

> I'm just thinking out loud here and would welcome any discussion.

Your welcome.

Current status:

The new fork is now python3 only.? ?I am slowly removing the python2
compatibility mode code.? I can not test pyton2 on windows any more.

The Map code is now fully functional in my the python_tyw branch of my
test fork.? Maurizio, IZ2LXI, has pointed out that some of the menus
imply that they can do things that they can not, but should.? So there
is a learning curve to using things.

Working in Maps are the USGS River data, Buoy data, and static data
points.? Also the points are now plotted accurately on the map at all
zoom levels as a bug fix.

If you have the current python geopy module installed, (Not availed as a
signed package for some platforms), you can now add points based on
addresses, city names, or zip-codes.? Old feature brought back to life.

So the map function will be there, but by default the map is not active.
So you are free to ignore it.

File and form transfers appear to work, and so are most the QST modes
working including RSS and CAP modes.

When the lands, it will
have communications tested for the serial ports and ratflectors.
It adds automatic re-connection to socket based ratflectors that get
disconnected, and it fixes an existing bug in KISS mode that removes
some noise from the Chat window.

No test feedback from Mac OS-X users yet.? The current "official" d-rats
release only has one feature disabled for Mac users, wl2k mode.? And the
reason in the comments for it being disabled is incorrect, it should be
trivial for a Mac OS-X programmer to get that re-enabled.

Everything else should work, but just has not been tested.? So we can
work with Mac OS-X testers to get that fully functional.

I have not tested AGW or W2LK modes yet in my fork.? I have not looked
at how to test them yet.? Quite a bit of network stuff, such as e-mail,
network GPS, etc., has not been tested yet.

I am not currently an APRS, AGW, or W2LK user, so I do not know how to
test them fully.? ?I was able to test the serial modes by connecting two
d-rats clients via serial cables.

Maurzio and I are tracking issues found with the fork at:


Enhancements are not a priority over just getting existing functionally
or existing bugs fixed.

One of the features deprecated form GTK-2 to GTK-3 is thread locking, it
is now a noop.? The explanation for the change is worded to indicate
that making GTK Calls directly from a thread has never been supported.

I have already removed some code in maps for that, but do not know if
anything else needs changing.? But the symptoms of that are random
messages to stderr, and various crashes including segmentation faults,
which we are still seeing.? ?I can go for days with out one of these
occurrences now, or one can happen overnight.

73
-John
wb8tyw@... or wb8tyw@... - Both go to the same inbox.






Re: Python 3 d-rats fork (Was: [d-rats] Does D-RATS need a map?)

 

Thanks John time to try again, as u can tell not real familiar with this will try again!!!

Ralph Barbakoff (WA9LKZ)

On Mar 21, 2022, at 6:53 PM, John E. Malmberg <wb8tyw@...> wrote:

?On 3/21/2022 1:30 PM, Ralph Barbakoff wrote:
Hopefull the second file attached is a bmp print screen of the map
area between WA9LKZ and AB9FT north of Milwaukee (Sheboygen)
Just looked at your log.

I am sorry to inform you that you are not running the new code.
And double-clicking it launched it under python2.

I am trying to keep the master branch the same as Maurizio's official repo for d-rats, but I may be behind it some times.

For my code, you need to clone the git repository and then checkout the python3_tyw branch.

git clone
cd D-Rats
git checkout python3_tyw

That gets the current experimental branch.
To update it before you run again

git pull

I just updated it a few minutes ago, and probably am updating it at least once a week.

As Maurizio posted the other links, you need a bunch of python3 packages to be installed. All the needed and optional ones appear to be available on Ubuntu.

At this time, I only have the list of packages that I used for development on my Wiki that were referenced before.

Another source of packages is the python "Pypi" repository that are installed with pip. This fork of D-rats is designed intentionally to not require anything that is only available from Pypi.

Criminals do not generally have access to tamper with the legitimate packages on Pypi.

Pypi is not a secure repository with vetted contributions, and is currently under active attack by criminals that are installing counterfeit packages that have almost the same name as the legitimate packages. So a small typo and you get a modified package that will likely contain a remote access program to give the criminal access to your computer.

So if you must use or want to use PyPi, be very careful.
At my day job I get periodic reports of how many counterfeit packages have been found and removed from Pypi in the past month or so.

The criminals do not generally have access to tamper with the legitimate packages on Pypi.

Other manual steps that using D-rats from source needs:

Wl2k use needs the lzhuf package built. The source and a Makefile is in the repository. Currently untested with the fork.

For some unknown reasons, wl2k is disabled for D-rats Mac, with a comment stating that lzhuf is not available. As far as I can find, the only source code for lzhuf is provided with d-rats and I see nothing that should prevent it being built on Mac. I just do not know what directory that D-Rats on Mac wants the built image to be in.

Another locally built option is for internationalization. We do not keep the binary dictionaries in the git repo, there is another wiki page with my repo about how to locally build it.

Currently we only have English and Italian translations available, and the English currently mostly matches the source code.

I bumped the minor release from 3 to 4 since this is a significant change.

$ python d-rats.py
03/21/2022 18:38:02:INFO:D-Rats:main: re-config option found -- Reconfigure D-rats
03/21/2022 18:38:02:INFO:Mainapp:Enabled debug log for Win32 systems
03/21/2022 18:38:04:INFO:Version:HTTP_CLIENT_HEADERS={'User-Agent': 'd-rats/0.4.00 pre-release 1'}
03/21/2022 18:38:04:INFO:QST:FeedParser not available

73,
-John

Have fun all!!
Ralph Barbakoff (WA9LKZ)




Python 3 d-rats fork (Was: [d-rats] Does D-RATS need a map?)

 

On 3/21/2022 1:30 PM, Ralph Barbakoff wrote:
Hopefull the second file attached is a bmp print screen of the map
area between WA9LKZ and AB9FT north of Milwaukee (Sheboygen)
Just looked at your log.

I am sorry to inform you that you are not running the new code.
And double-clicking it launched it under python2.

I am trying to keep the master branch the same as Maurizio's official repo for d-rats, but I may be behind it some times.

For my code, you need to clone the git repository and then checkout the python3_tyw branch.

git clone
cd D-Rats
git checkout python3_tyw

That gets the current experimental branch.
To update it before you run again

git pull

I just updated it a few minutes ago, and probably am updating it at least once a week.

As Maurizio posted the other links, you need a bunch of python3 packages to be installed. All the needed and optional ones appear to be available on Ubuntu.

At this time, I only have the list of packages that I used for development on my Wiki that were referenced before.

Another source of packages is the python "Pypi" repository that are installed with pip. This fork of D-rats is designed intentionally to not require anything that is only available from Pypi.

Criminals do not generally have access to tamper with the legitimate packages on Pypi.

Pypi is not a secure repository with vetted contributions, and is currently under active attack by criminals that are installing counterfeit packages that have almost the same name as the legitimate packages. So a small typo and you get a modified package that will likely contain a remote access program to give the criminal access to your computer.

So if you must use or want to use PyPi, be very careful.
At my day job I get periodic reports of how many counterfeit packages have been found and removed from Pypi in the past month or so.

The criminals do not generally have access to tamper with the legitimate packages on Pypi.

Other manual steps that using D-rats from source needs:

Wl2k use needs the lzhuf package built. The source and a Makefile is in the repository. Currently untested with the fork.

For some unknown reasons, wl2k is disabled for D-rats Mac, with a comment stating that lzhuf is not available. As far as I can find, the only source code for lzhuf is provided with d-rats and I see nothing that should prevent it being built on Mac. I just do not know what directory that D-Rats on Mac wants the built image to be in.

Another locally built option is for internationalization. We do not keep the binary dictionaries in the git repo, there is another wiki page with my repo about how to locally build it.

Currently we only have English and Italian translations available, and the English currently mostly matches the source code.

I bumped the minor release from 3 to 4 since this is a significant change.

$ python d-rats.py
03/21/2022 18:38:02:INFO:D-Rats:main: re-config option found --
Reconfigure D-rats
03/21/2022 18:38:02:INFO:Mainapp:Enabled debug log for Win32 systems
03/21/2022 18:38:04:INFO:Version:HTTP_CLIENT_HEADERS={'User-Agent': 'd-rats/0.4.00 pre-release 1'}
03/21/2022 18:38:04:INFO:QST:FeedParser not available

73,
-John

Have fun all!!
Ralph Barbakoff (WA9LKZ)


Fw: [d-rats] Does D-RATS need a map?

 

Hopefull the second file attached is a bmp print screen of the map area between WA9LKZ and AB9FT north of Milwaukee (Sheboygen)

Have fun all!!

Ralph Barbakoff (WA9LKZ)


----- Forwarded Message -----

From: Ralph Barbakoff <barbakoff@...>
Sent: Monday, March 21, 2022, 11:36:20 AM CDT
Subject: Re: [d-rats] Does D-RATS need a map?

It runs on my Dell C840 under python3 Linux.??

Had problem getting it to start with command line, but double click in the folder started up.? Took it quite a whiel to load the maps but they look great.

The log file is the attached text document.

Fantastic, Maurizio u are the modern day Galileo!?

Ralph Barbakoff (WA9LKZ)


On Monday, March 21, 2022, 10:23:32 AM CDT, Maurizio Andreotti <maurizioandreottilc@...> wrote:



hi folks

John is doing a fantastic job porting the entire application to python3.

Although it's not fully ported, as of now it works quite stable on linux and windows. If??anybody wantd to test it , this can be done .

in general the new version?rely on the same config file you already?have for latest d-rats.

LINUX
to test it on linux, you need to have python3 installed (instructions as per your distribution) and then? it's enough?to download the code in a new folder and launch it.
?
>python3 ./d-rats.py

at first it will probably complain about the usual packages to install - (if you try pls pls keep your notes so we can enrich the wiki),

in case you want to use a new config file, this option should work:
>python3?./d-rats.py --config ~/.d-rats-ev/d-rats2.config

in order to execute it with maximum verbosity to control what is happening:
>python3?./d-rats.py --loglevel DEBUG

more info on available options here:

WINDOWS 10 TEST
as of now, to test it on Windows 10 it is necessary to set up an environment? where the code is interpreted.

I don't?recall all the steps i did to get it working on windows (if you try pls pls keep your notes so we can enrich the wiki), the key step was to install Msys2 by following the instructions at

?while following this wiki:


then just download the d-rats code, unzip it into your "mysys home", in my case:
"C:/msys64\home\mauri\

and launch it:
>python3?./d-rats.py --loglevel DEBUG

any bugs or suggestions. pls let's use the tracker:?


thanks anybody for helping.
cheers
maurizio


Il giorno lun 21 mar 2022 alle ore 14:20 John E. Malmberg <wb8tyw@...> ha scritto:

On 3/20/2022 5:19 PM, Patrick Connor via wrote:
> First, I would like to thank WB8TYW for his efforts to modernize
> D-RATS. His recent posts about the map jogged my memory. I have been
>? using D-RATS since the 2.x days. Some of the features built into
> D-RATS were just hacks by Dan as experiments that were not followed
> through to completion. That brings me to the question: Does D-RATS
> need a map? I always have an APRS client open at the same time I am
> using D-RATS. I would find it convenient to show D-RATS position
> reports on my APRS map, having all assets shown in one window. I
> suggest D-RATS can connect to APRS clients by emulating an APRS-IS
> server port, or an AGW or KISS over TCP port that APRS clients can
> connect to.

> I'm just thinking out loud here and would welcome any discussion.

Your welcome.

Current status:

The new fork is now python3 only.? ?I am slowly removing the python2
compatibility mode code.? I can not test pyton2 on windows any more.

The Map code is now fully functional in my the python_tyw branch of my
test fork.? Maurizio, IZ2LXI, has pointed out that some of the menus
imply that they can do things that they can not, but should.? So there
is a learning curve to using things.

Working in Maps are the USGS River data, Buoy data, and static data
points.? Also the points are now plotted accurately on the map at all
zoom levels as a bug fix.

If you have the current python geopy module installed, (Not availed as a
signed package for some platforms), you can now add points based on
addresses, city names, or zip-codes.? Old feature brought back to life.

So the map function will be there, but by default the map is not active.
So you are free to ignore it.

File and form transfers appear to work, and so are most the QST modes
working including RSS and CAP modes.

When the lands, it will
have communications tested for the serial ports and ratflectors.
It adds automatic re-connection to socket based ratflectors that get
disconnected, and it fixes an existing bug in KISS mode that removes
some noise from the Chat window.

No test feedback from Mac OS-X users yet.? The current "official" d-rats
release only has one feature disabled for Mac users, wl2k mode.? And the
reason in the comments for it being disabled is incorrect, it should be
trivial for a Mac OS-X programmer to get that re-enabled.

Everything else should work, but just has not been tested.? So we can
work with Mac OS-X testers to get that fully functional.

I have not tested AGW or W2LK modes yet in my fork.? I have not looked
at how to test them yet.? Quite a bit of network stuff, such as e-mail,
network GPS, etc., has not been tested yet.

I am not currently an APRS, AGW, or W2LK user, so I do not know how to
test them fully.? ?I was able to test the serial modes by connecting two
d-rats clients via serial cables.

Maurzio and I are tracking issues found with the fork at:


Enhancements are not a priority over just getting existing functionally
or existing bugs fixed.

One of the features deprecated form GTK-2 to GTK-3 is thread locking, it
is now a noop.? The explanation for the change is worded to indicate
that making GTK Calls directly from a thread has never been supported.

I have already removed some code in maps for that, but do not know if
anything else needs changing.? But the symptoms of that are random
messages to stderr, and various crashes including segmentation faults,
which we are still seeing.? ?I can go for days with out one of these
occurrences now, or one can happen overnight.

73
-John
wb8tyw@... or wb8tyw@... - Both go to the same inbox.






Re: Does D-RATS need a map?

 

¿ªÔÆÌåÓý

I will download and test on Windows.?

I have been doing some D-RATS related development as well lately.? I have built a BOT that bridges between a Discord server and D-Star.? The BOT connects to a D-STAR G3 server or reflector as if it were a Hotspot (I wrote the very first Hotspot software - DVAR Hotspot).? It takes messages posted in a Discord server and formats them as if they were D-RATS chat messages and forwards them to the connected G3 server/reflector.? Anyone using D-RATS via a radio connected to the D-STAR repeater/reflector can see the messages originating from Discord.? Any chat messages sent from D-RATS over the connected D-STAR repeater/reflector are sent back to Discord.??

The BOT also has several useful commands such as:
@weather - returns current local weather conditions to either a D-Rats or Discord user
@solar - returns current HF solar conditions (sunspots A/K index, etc.) to either a D-Rats or Discord user
@lookup callsign - returns a QRZ callsign lookup to either D-Rats or Discord

I have a little more exception handling to add, but we've been using it here with our local group of about 15 hams for about a month now and it's working well.?

Mark (K9YK)




On 3/21/2022 11:23 AM, Maurizio Andreotti wrote:


hi folks

John is doing a fantastic job porting the entire application to python3.

Although it's not fully ported, as of now it works quite stable on linux and windows. If??anybody wantd to test it , this can be done .

in general the new version?rely on the same config file you already?have for latest d-rats.

LINUX
to test it on linux, you need to have python3 installed (instructions as per your distribution) and then? it's enough?to download the code in a new folder and launch it.
?
>python3 ./d-rats.py

at first it will probably complain about the usual packages to install - (if you try pls pls keep your notes so we can enrich the wiki),

in case you want to use a new config file, this option should work:
>python3?./d-rats.py --config ~/.d-rats-ev/d-rats2.config

in order to execute it with maximum verbosity to control what is happening:
>python3?./d-rats.py --loglevel DEBUG

more info on available options here:

WINDOWS 10 TEST
as of now, to test it on Windows 10 it is necessary to set up an environment? where the code is interpreted.

I don't?recall all the steps i did to get it working on windows (if you try pls pls keep your notes so we can enrich the wiki), the key step was to install Msys2 by following the instructions at

?while following this wiki:


then just download the d-rats code, unzip it into your "mysys home", in my case:
"C:/msys64\home\mauri\

and launch it:
>python3?./d-rats.py --loglevel DEBUG

any bugs or suggestions. pls let's use the tracker:?


thanks anybody for helping.
cheers
maurizio


Il giorno lun 21 mar 2022 alle ore 14:20 John E. Malmberg <wb8tyw@...> ha scritto:

On 3/20/2022 5:19 PM, Patrick Connor via wrote:
> First, I would like to thank WB8TYW for his efforts to modernize
> D-RATS. His recent posts about the map jogged my memory. I have been
>? using D-RATS since the 2.x days. Some of the features built into
> D-RATS were just hacks by Dan as experiments that were not followed
> through to completion. That brings me to the question: Does D-RATS
> need a map? I always have an APRS client open at the same time I am
> using D-RATS. I would find it convenient to show D-RATS position
> reports on my APRS map, having all assets shown in one window. I
> suggest D-RATS can connect to APRS clients by emulating an APRS-IS
> server port, or an AGW or KISS over TCP port that APRS clients can
> connect to.

> I'm just thinking out loud here and would welcome any discussion.

Your welcome.

Current status:

The new fork is now python3 only.? ?I am slowly removing the python2
compatibility mode code.? I can not test pyton2 on windows any more.

The Map code is now fully functional in my the python_tyw branch of my
test fork.? Maurizio, IZ2LXI, has pointed out that some of the menus
imply that they can do things that they can not, but should.? So there
is a learning curve to using things.

Working in Maps are the USGS River data, Buoy data, and static data
points.? Also the points are now plotted accurately on the map at all
zoom levels as a bug fix.

If you have the current python geopy module installed, (Not availed as a
signed package for some platforms), you can now add points based on
addresses, city names, or zip-codes.? Old feature brought back to life.

So the map function will be there, but by default the map is not active.
So you are free to ignore it.

File and form transfers appear to work, and so are most the QST modes
working including RSS and CAP modes.

When the lands, it will
have communications tested for the serial ports and ratflectors.
It adds automatic re-connection to socket based ratflectors that get
disconnected, and it fixes an existing bug in KISS mode that removes
some noise from the Chat window.

No test feedback from Mac OS-X users yet.? The current "official" d-rats
release only has one feature disabled for Mac users, wl2k mode.? And the
reason in the comments for it being disabled is incorrect, it should be
trivial for a Mac OS-X programmer to get that re-enabled.

Everything else should work, but just has not been tested.? So we can
work with Mac OS-X testers to get that fully functional.

I have not tested AGW or W2LK modes yet in my fork.? I have not looked
at how to test them yet.? Quite a bit of network stuff, such as e-mail,
network GPS, etc., has not been tested yet.

I am not currently an APRS, AGW, or W2LK user, so I do not know how to
test them fully.? ?I was able to test the serial modes by connecting two
d-rats clients via serial cables.

Maurzio and I are tracking issues found with the fork at:


Enhancements are not a priority over just getting existing functionally
or existing bugs fixed.

One of the features deprecated form GTK-2 to GTK-3 is thread locking, it
is now a noop.? The explanation for the change is worded to indicate
that making GTK Calls directly from a thread has never been supported.

I have already removed some code in maps for that, but do not know if
anything else needs changing.? But the symptoms of that are random
messages to stderr, and various crashes including segmentation faults,
which we are still seeing.? ?I can go for days with out one of these
occurrences now, or one can happen overnight.

73
-John
wb8tyw@... or wb8tyw@... - Both go to the same inbox.







Re: Does D-RATS need a map?

 

It runs on my Dell C840 under python3 Linux.??

Had problem getting it to start with command line, but double click in the folder started up.? Took it quite a whiel to load the maps but they look great.

The log file is the attached text document.

Fantastic, Maurizio u are the modern day Galileo!?

Ralph Barbakoff (WA9LKZ)


On Monday, March 21, 2022, 10:23:32 AM CDT, Maurizio Andreotti <maurizioandreottilc@...> wrote:



hi folks

John is doing a fantastic job porting the entire application to python3.

Although it's not fully ported, as of now it works quite stable on linux and windows. If??anybody wantd to test it , this can be done .

in general the new version?rely on the same config file you already?have for latest d-rats.

LINUX
to test it on linux, you need to have python3 installed (instructions as per your distribution) and then? it's enough?to download the code in a new folder and launch it.
?
>python3 ./d-rats.py

at first it will probably complain about the usual packages to install - (if you try pls pls keep your notes so we can enrich the wiki),

in case you want to use a new config file, this option should work:
>python3?./d-rats.py --config ~/.d-rats-ev/d-rats2.config

in order to execute it with maximum verbosity to control what is happening:
>python3?./d-rats.py --loglevel DEBUG

more info on available options here:

WINDOWS 10 TEST
as of now, to test it on Windows 10 it is necessary to set up an environment? where the code is interpreted.

I don't?recall all the steps i did to get it working on windows (if you try pls pls keep your notes so we can enrich the wiki), the key step was to install Msys2 by following the instructions at

?while following this wiki:


then just download the d-rats code, unzip it into your "mysys home", in my case:
"C:/msys64\home\mauri\

and launch it:
>python3?./d-rats.py --loglevel DEBUG

any bugs or suggestions. pls let's use the tracker:?


thanks anybody for helping.
cheers
maurizio


Il giorno lun 21 mar 2022 alle ore 14:20 John E. Malmberg <wb8tyw@...> ha scritto:

On 3/20/2022 5:19 PM, Patrick Connor via wrote:
> First, I would like to thank WB8TYW for his efforts to modernize
> D-RATS. His recent posts about the map jogged my memory. I have been
>? using D-RATS since the 2.x days. Some of the features built into
> D-RATS were just hacks by Dan as experiments that were not followed
> through to completion. That brings me to the question: Does D-RATS
> need a map? I always have an APRS client open at the same time I am
> using D-RATS. I would find it convenient to show D-RATS position
> reports on my APRS map, having all assets shown in one window. I
> suggest D-RATS can connect to APRS clients by emulating an APRS-IS
> server port, or an AGW or KISS over TCP port that APRS clients can
> connect to.

> I'm just thinking out loud here and would welcome any discussion.

Your welcome.

Current status:

The new fork is now python3 only.? ?I am slowly removing the python2
compatibility mode code.? I can not test pyton2 on windows any more.

The Map code is now fully functional in my the python_tyw branch of my
test fork.? Maurizio, IZ2LXI, has pointed out that some of the menus
imply that they can do things that they can not, but should.? So there
is a learning curve to using things.

Working in Maps are the USGS River data, Buoy data, and static data
points.? Also the points are now plotted accurately on the map at all
zoom levels as a bug fix.

If you have the current python geopy module installed, (Not availed as a
signed package for some platforms), you can now add points based on
addresses, city names, or zip-codes.? Old feature brought back to life.

So the map function will be there, but by default the map is not active.
So you are free to ignore it.

File and form transfers appear to work, and so are most the QST modes
working including RSS and CAP modes.

When the lands, it will
have communications tested for the serial ports and ratflectors.
It adds automatic re-connection to socket based ratflectors that get
disconnected, and it fixes an existing bug in KISS mode that removes
some noise from the Chat window.

No test feedback from Mac OS-X users yet.? The current "official" d-rats
release only has one feature disabled for Mac users, wl2k mode.? And the
reason in the comments for it being disabled is incorrect, it should be
trivial for a Mac OS-X programmer to get that re-enabled.

Everything else should work, but just has not been tested.? So we can
work with Mac OS-X testers to get that fully functional.

I have not tested AGW or W2LK modes yet in my fork.? I have not looked
at how to test them yet.? Quite a bit of network stuff, such as e-mail,
network GPS, etc., has not been tested yet.

I am not currently an APRS, AGW, or W2LK user, so I do not know how to
test them fully.? ?I was able to test the serial modes by connecting two
d-rats clients via serial cables.

Maurzio and I are tracking issues found with the fork at:


Enhancements are not a priority over just getting existing functionally
or existing bugs fixed.

One of the features deprecated form GTK-2 to GTK-3 is thread locking, it
is now a noop.? The explanation for the change is worded to indicate
that making GTK Calls directly from a thread has never been supported.

I have already removed some code in maps for that, but do not know if
anything else needs changing.? But the symptoms of that are random
messages to stderr, and various crashes including segmentation faults,
which we are still seeing.? ?I can go for days with out one of these
occurrences now, or one can happen overnight.

73
-John
wb8tyw@... or wb8tyw@... - Both go to the same inbox.