开云体育

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

Re: KISS port in DRATS

 

开云体育


Hello Greg,

BTW it's not a radio issue because I don't have a radio connected.? I have soundmodem output set to my computer's speakers for easy troubleshooting.? I just want to make sure I get audio output from the TNC.

I would recommend to get what I assume is UZ7HO's soundmodem working first and then worry about D-Rats.? Are you sure that soundmodem is asserting the PTT signal but maybe the output volume is too low or muted??
Maybe try using UZ7HO's EasyTerm ( ) which also uses the AGW interface to try making some connections to confirm everything it working there first.

--David
KI6ZHD


KISS port in DRATS

 

Hi, I'm a brand new user trying to get setup for the first time.? I want to connect the Soundmodem TNC to DRATS.? I've tried sending chat messages using both AGWPE and KISS ports but it isn't transmitting.? DRATS show that it's connected in the event log.? I'm running win 10 and the x64 version, I replaced the lzhuf_1.exe file like instructed on the website.? Dones anyone have any ideas of things to try to fix this issue.?

BTW it's not a radio issue because I don't have a radio connected.? I have soundmodem output set to my computer's speakers for easy troubleshooting.? I just want to make sure I get audio output from the TNC.? I did a two tone test in Soundmodem so I know that program is working


Re: Correction for d-rats_repeater.py on later python3

 

On 4/1/2023 8:28 PM, August Treubig wrote:
The following message happens:
/usr/local/bin/d-rats_repeater.py:426: DeprecationWarning: setDaemon() is deprecated, set the daemon
<snip>
filed.

73,
-John
wb8tyw


Correction for d-rats_repeater.py on later python3

 

The following message happens:
/usr/local/bin/d-rats_repeater.py:426: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
? self.repeat_thread.setDaemon(True)

Change
????? self.repeat_thread = threading.Thread(target=self._repeat)
to
s?? elf.repeat_thread = threading.Thread(target=self._repeat, daemon=True)

Full function below

??? def repeat(self):
??????? '''Repeat.'''
??????? self.repeat_thread = threading.Thread(target=self._repeat, daemon=True)
??????? # pylint: disable=deprecated-method
??????? # self.repeat_thread.setDaemon(True)
??????? self.repeat_thread.start()

Comment out the sel.repeat_thread.setDaemon
or remove it.

Aug
AG5AT


Re: Adding a D-Rats reflector directly into an Icom Dstar repeater stack

Marius, YO2LOJ
 

ircddbgateway has a "dratsEnabled" option which, when enabled, allows a d-rats connection from a client or a reflector on the tcp port identical to the udp repeater port set in the configuration (usually tcp/20011 for the first one).

Marius, YO2LOJ

On 31/03/2023 02:46, Eric H. Christensen via groups.io wrote:
I am looking for whether or not it is possible to connect a D-RATS server directly to a D-STAR repeater. I found this thread but it seems to end without resolution. Did this ever get figured out?

73,
Eric WG3K




Re: Adding a D-Rats reflector directly into an Icom Dstar repeater stack

Eric H. Christensen
 

I am looking for whether or not it is possible to connect a D-RATS server directly to a D-STAR repeater. I found this thread but it seems to end without resolution. Did this ever get figured out?

73,
Eric WG3K


Re: drats---- I GIVE UP

 

On 3/28/2023 8:16 AM, Kevin D. Cornwell wrote:
You can now use USB with WSL. May be worth a try.
Connecting USB devices to WSL - Windows Command Line (microsoft.com)
<>
I was aware of that article, pretty sure it is not something that I would recommend for someone that is not an experienced system troubleshooter, even if it is posted by a Microsoft Employee.

I have been using WSL for a while, and they have broken less intrusive hacks / scripts with updates to the WSL product, and their official WSL documentation has not caught up with their current offering.

73,
-John
wb8tyw


Re: drats---- I GIVE UP

 

You can now use USB with WSL. May be worth a try.



Regards,

Kevin D. Cornwell


On Mon, Mar 27, 2023 at 8:01?PM John E. Malmberg <wb8tyw@...> wrote:
On 3/26/2023 10:46 PM, Russ Harmon wrote:
> I have spent several hours today tying to get drats installed on my
> windows 11 machine. I followed John's instructions as best I could.
> I installed lzhuf, msys2 and mingw64 I then went to install
$
wgethttps://

> and got this return......
> --2023-03-26 21:33:24--
>
> and got this return???
>
> Loaded CA certificate '/usr/ssl/certs/ca-bundle.crt'
> Resolving ()... 2606:50c0:8001::154, 2606:50c0:8002::154, 2606:50c0:8003::154, ...
> Connecting to ()|2606:50c0:8001::154|:443... connected.
> ERROR: The certificate of ‘’ is not trusted.
> ERROR: The certificate of ‘’ doesn't have a known issuer.

This is a very odd failure.? While had some issues this week
and weekend, none of them seem to match this.

This is saying that the default Msys2 install does not know how to
validate the current github https certificate.

Sometimes this is an intermittent failure on the github side.

Or it could mean that github updated their certificate trust chain so
recently that Msys2 does not know how to trust it.? A rare occurrence,
but can happen.

This issue can be overridden by telling wget to not check the validity,
in this case, I do not think there is much risk in doing that.

using:

wget --no-check-certificate \


Will work around this error and allow the script to be downloaded.

> I found out that Python was not in the variables path and !!#!#$#$
> and where is this GTK thing?????

That is what running the "./msys2_packages.sh" does, it installs all of
that, but it can take a few annoying passes to get all the packages
updated to current, as it will require re-launching the "Msys2 mingw 64
bit" one or more times before everything is updated.

See /g/d-rats/message/2581 for when Maurizio went
though the procedure.

> What ever happen to the time when I could download the drats software
> and installed it without all the errors..

It is gone.? We do not have enough or the right people working on D-Rats
to fix that portion of the install.? Most of the recent work has been
done by me.

Back in the early days of D-Rats there were some volunteers that worked
with Dan Smith to port D-Rats to Microsoft Windows.? Dan repeatedly
stated that he only did his development and testing on Linux.

The official python organization stopped supporting Python 2 on Jan 1,
2020, and all support for GTK 2 ended on Jan 1, 2021.? Many of the Linux
versions released after that time, totally dropped support for both
products and any packages that required them.? And that is not even
mentioning a number of smaller packages that D-Rats needs that are also
no longer supported.

The native Python 3 support on Microsoft Windows is minimal, and not
good enough to run D-Rats.

So far none of the procedures that I have found to create a easier to
install windows package has worked.? They tend to fail with cryptic
errors and internet searches just result in finding other people trying
unsuccessfully to accomplish the same thing.

In short Msys2 mingw64 is currently one of the two viable ways to run
GTK 3 on Microsoft Windows.? The other alternative is Cygwin, and it is
harder to script package installs on Cygwin.

The reports I have is that the current incarnation of the Windows
Subsystem for Linux is that while it could also run D-Rats, it has no
access to the USB or any other serial ports on the computer so could not
connect to a local radio.

Just creating the Python tarball that can be installed with the pip
program was a significant amount of work by me, and since using pip
pretty much requires setting a virtual environment, it is easier have
end users to run from the git clone of the repository.

We need more programming and in particular programmers that are willing
to learn how to do packaging and how to create an embedded Msys2
environment as I have mentioned in another thread.

73,
-John







Re: drats---- I GIVE UP

 

On 3/26/2023 10:46 PM, Russ Harmon wrote:
I have spent several hours today tying to get drats installed on my
windows 11 machine. I followed John's instructions as best I could.
I installed lzhuf, msys2 and mingw64 I then went to install
$ wget

and got this return......
--2023-03-26 21:33:24--

and got this return???
Loaded CA certificate '/usr/ssl/certs/ca-bundle.crt'
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8001::154, 2606:50c0:8002::154, 2606:50c0:8003::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8001::154|:443... connected.
ERROR: The certificate of ‘raw.githubusercontent.com’ is not trusted.
ERROR: The certificate of ‘raw.githubusercontent.com’ doesn't have a known issuer.
This is a very odd failure. While github.com had some issues this week and weekend, none of them seem to match this.

This is saying that the default Msys2 install does not know how to validate the current github https certificate.

Sometimes this is an intermittent failure on the github side.

Or it could mean that github updated their certificate trust chain so recently that Msys2 does not know how to trust it. A rare occurrence, but can happen.

This issue can be overridden by telling wget to not check the validity, in this case, I do not think there is much risk in doing that.

using:

wget --no-check-certificate \


Will work around this error and allow the script to be downloaded.

I found out that Python was not in the variables path and !!#!#$#$
and where is this GTK thing?????
That is what running the "./msys2_packages.sh" does, it installs all of that, but it can take a few annoying passes to get all the packages updated to current, as it will require re-launching the "Msys2 mingw 64 bit" one or more times before everything is updated.

See /g/d-rats/message/2581 for when Maurizio went though the procedure.

What ever happen to the time when I could download the drats software
and installed it without all the errors..
It is gone. We do not have enough or the right people working on D-Rats to fix that portion of the install. Most of the recent work has been done by me.

Back in the early days of D-Rats there were some volunteers that worked with Dan Smith to port D-Rats to Microsoft Windows. Dan repeatedly stated that he only did his development and testing on Linux.

The official python organization stopped supporting Python 2 on Jan 1, 2020, and all support for GTK 2 ended on Jan 1, 2021. Many of the Linux versions released after that time, totally dropped support for both products and any packages that required them. And that is not even mentioning a number of smaller packages that D-Rats needs that are also no longer supported.

The native Python 3 support on Microsoft Windows is minimal, and not good enough to run D-Rats.

So far none of the procedures that I have found to create a easier to install windows package has worked. They tend to fail with cryptic errors and internet searches just result in finding other people trying unsuccessfully to accomplish the same thing.

In short Msys2 mingw64 is currently one of the two viable ways to run GTK 3 on Microsoft Windows. The other alternative is Cygwin, and it is harder to script package installs on Cygwin.

The reports I have is that the current incarnation of the Windows Subsystem for Linux is that while it could also run D-Rats, it has no access to the USB or any other serial ports on the computer so could not connect to a local radio.

Just creating the Python tarball that can be installed with the pip program was a significant amount of work by me, and since using pip pretty much requires setting a virtual environment, it is easier have end users to run from the git clone of the repository.

We need more programming and in particular programmers that are willing to learn how to do packaging and how to create an embedded Msys2 environment as I have mentioned in another thread.

73,
-John


Re: Installing D-Rats 0.4.0

 

Hello all,

The tarballs at /g/d-rats/files/D-Rats is designed as a PIP installable tarball.

Python installer maintainers have deprecated the storage of the additional data that D-Rats stores in the its library directories.

Their feeling is that should be handled by an operating system packaging system, like RPMs or Debian packages, etc.

I did a lot of work to create MSI files and Debian packaging for the LZHUF project. I was not able to create packages for Raspbian distributions.

Someone familiar with creating RPMs or Debian packaging should be able to work out how to convert the pip installable tarball into a one of those packages.

It is just that I just am not going to have the cycles to be creating that type of packaging for D-Rats on Linux at this time, and be able to get anything else done.

For msys2, I have found that there are several articles that give instructions on how to create a "embedded" msys2 setup in their WIKI.
One of them should be usable. Once it has been determined how to setup one of those environments and then add the PyPi, lzhuf and d-Rats to that environment, the steps for creating a MSI files as was done in the lzhuf project could be used to create a D-Rats MSI file.

But all of that still will take a lot of work and time, and for now, the easiest way to run D-Rats is probably to run it from a checkout of a cloned repository. The original D-Rats was supplied as a tarball, and it was community help that expanded it to be a Windows executable package, so running from a cloned checkout is almost going back to a full circle.

73,
-John


Installing D-Rats 0.4.0

 

Hello All,

There are two ways to run D-Rats 0.4.0 on Linux / Windows

The "setup.py" install method has been deprecated by the python packaging maintainers. It is not going to work for modern python projects, and that includes D-Rats.

The only reason there is a setup.py in the distribution is that the Python packaging maintainers have not documented a replacement for building the kit that contains data files in addition to python files.

The Windows instructions are at .

For Linux, you do not install Msys2 Ming2, but you do need to install the python3 and GTK modules, etc for the Linux distros, the ones for Debian based distributions are listed in the README.md at

LZHUF must be installed from /g/d-rats/files/D-Rats or from the github.com/ham-radio-software/lzhuf.

Option 1:

Clone the D-Rats repository, and run from it.

For this option, you need to run the ./build_pot.sh script to rebuild the message catalog. This currently will only help italian speaking users, since that is the only translation that we have.

Option 2:

Use pip to install the package from /g/d-rats/files/D-Rats

Now in the past it has been common practice to have PIP install update the system python, and that has sometimes resulted in corrupting the python installed by the operating system.

For a PIP install, you have to either create a virtual environment or you have to specify a "user" library and update the PYTTHONPATH and other environment variables to make it work.

73,
-John


drats---- I GIVE UP

 

I have spent several hours today tying to get drats installed on my windows 11 machine. I followed John's instructions as best I could. I installed lzhuf, msys2 and mingw64 I then went to install ;$ wget
and got this return......
--2023-03-26 21:33:24--?
and got this return???

Loaded CA certificate '/usr/ssl/certs/ca-bundle.crt'
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8001::154, 2606:50c0:8002::154, 2606:50c0:8003::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8001::154|:443... connected.
ERROR: The certificate of ‘raw.githubusercontent.com’ is not trusted.
ERROR: The certificate of ‘raw.githubusercontent.com’ doesn't have a known issuer.
?
I found out that Python was not in the variables path and !!#!#$#$
and where is this GTK thing?????
i next tied the wget https:// raw
and again got some error back concerning raw


What ever happen to the time when I could download the drats software and installed it without all the errors..?
I am sorry but this? install is a terrible? ?
I GIVE UP!!!!
73 to all
good night





Re: Ratflector list setup ham-radio-software/ratflectors

 

Oops, I should have started this as a new thread...


On Sun, Mar 26, 2023 at 8:42?PM Dave Slotter, W3DJS via <slotter=[email protected]> wrote:
John,

I filed the below as GitHub Issue #169 in D-Rats:?

What's the proper way to run D-Rats 0.4.0 from Linux now? Is this it? If not, please advise.

1. git clone the repository to a writable directory
2. cd to D-Rats directory
3. Run sudo ./setup.py build
4. Run sudo ./setup.py install
5. Run installed D-Rats from Application Launcher.

I tried this and after after launching from terminal, get "ModuleNotFoundError: no module named 'd_rats'". What I am discovering, when inspecting the filesystem is that I am running Python 3.10 and the directory?/usr/local/lib/python3.10/dist-packages/ doesn't have the "d_rats" directory contained within. This appears to be an installer misfire?

I did discover I can run D-Rats directly from the git clone directory, however, without running setup.py. While this "works" and I can run D-Rats and connect to and , I don't believe this is the "right" way to run D-Rats.

Guidance, please?

Thanks and 73,


On Sun, Mar 26, 2023 at 5:57?PM John E. Malmberg <wb8tyw@...> wrote:
On 3/26/2023 4:49 PM, Dave Slotter, W3DJS wrote:
> John,
>
> I believe I have your first addition ready for merging. Please look for a
> Pull Request (PR) from dslotter:georgia_ratflectors :
>

I merged it in.? I tried those two and I was not able to connect to them
earlier today, but I may have errors in my configuration settings.

I am hoping that having this list will make it easier to setup D-Rats i
the future.

Thanks,
-John






--
-- Dave,?? ? ? ? ? ? ? ? ? ? ? ?Technical Specialist,??--
--??+?? ?Lifetime Member of?///?--
--??--


--
-- Dave,?? ? ? ? ? ? ? ? ? ? ? ?Technical Specialist,??--
--??+?? ?Lifetime Member of?///?--
--??--


Re: Ratflector list setup ham-radio-software/ratflectors

 

John,

I filed the below as GitHub Issue #169 in D-Rats:?

What's the proper way to run D-Rats 0.4.0 from Linux now? Is this it? If not, please advise.

1. git clone the repository to a writable directory
2. cd to D-Rats directory
3. Run sudo ./setup.py build
4. Run sudo ./setup.py install
5. Run installed D-Rats from Application Launcher.

I tried this and after after launching from terminal, get "ModuleNotFoundError: no module named 'd_rats'". What I am discovering, when inspecting the filesystem is that I am running Python 3.10 and the directory?/usr/local/lib/python3.10/dist-packages/ doesn't have the "d_rats" directory contained within. This appears to be an installer misfire?

I did discover I can run D-Rats directly from the git clone directory, however, without running setup.py. While this "works" and I can run D-Rats and connect to and , I don't believe this is the "right" way to run D-Rats.

Guidance, please?

Thanks and 73,


On Sun, Mar 26, 2023 at 5:57?PM John E. Malmberg <wb8tyw@...> wrote:
On 3/26/2023 4:49 PM, Dave Slotter, W3DJS wrote:
> John,
>
> I believe I have your first addition ready for merging. Please look for a
> Pull Request (PR) from dslotter:georgia_ratflectors :
>

I merged it in.? I tried those two and I was not able to connect to them
earlier today, but I may have errors in my configuration settings.

I am hoping that having this list will make it easier to setup D-Rats i
the future.

Thanks,
-John






--
-- Dave,?? ? ? ? ? ? ? ? ? ? ? ?Technical Specialist,??--
--??+?? ?Lifetime Member of?///?--
--??--


Re: Ratflector list setup ham-radio-software/ratflectors

 

On 3/26/2023 4:49 PM, Dave Slotter, W3DJS wrote:
John,
I believe I have your first addition ready for merging. Please look for a
Pull Request (PR) from dslotter:georgia_ratflectors :
I merged it in. I tried those two and I was not able to connect to them earlier today, but I may have errors in my configuration settings.

I am hoping that having this list will make it easier to setup D-Rats i the future.

Thanks,
-John


Re: Ratflector list setup ham-radio-software/ratflectors

 

John,

I believe I have your first addition ready for merging. Please look for a Pull Request (PR) from dslotter:georgia_ratflectors :?

73,


On Sun, Mar 26, 2023 at 5:11?PM John E. Malmberg <wb8tyw@...> wrote:
Hello all,

I have set up a ratflectors list that in the future I plan to have
D-Rats allow coping entries from it into the active configuration
instead of having to transcribe entries into it.

I am hoping that others will be able to help with keeping it up to date.



I chose the YAML format as it is both human readable, and it can easily
interpreted by Python and other programs.

To update it, you only need to join the ham-radio-software github project.

Pull requests will be checked for by github for syntax errors.

73,
-John
wb8tyw






--
-- Dave,?? ? ? ? ? ? ? ? ? ? ? ?Technical Specialist,??--
--??+?? ?Lifetime Member of?///?--
--??--


Ratflector list setup ham-radio-software/ratflectors

 

Hello all,

I have set up a ratflectors list that in the future I plan to have D-Rats allow coping entries from it into the active configuration instead of having to transcribe entries into it.

I am hoping that others will be able to help with keeping it up to date.



I chose the YAML format as it is both human readable, and it can easily interpreted by Python and other programs.

To update it, you only need to join the ham-radio-software github project.

Pull requests will be checked for by github for syntax errors.

73,
-John
wb8tyw


2 files uploaded #file-notice

Group Notification
 

The following files and folders have been uploaded to the Files area of the [email protected] group.

By: John E. Malmberg <wb8tyw@...>


Re: So Close! ON RPI400 (keyboard) & ICOM-705 Need help!

 

On 3/25/2023 7:34 AM, mike Kennedy wrote:
Solved it!!
So after working we a local fellow ham radio friend, We have figured it out!
The main thing is that I was using the wrong serial port.
I have to use the serial Port B, Or /dev/ttyACM1 for me on my RPI400 ? NOT /dev/ttyACM0.
If there is somewhere in the wiki where this can be added, it would be extremely helpful.
Coming from using hamlib and CV-I for things like FT8 and such, I
thought it would use the same.
While this mailing list has an optional wiki, that feature does not appear to be enabled for list members to contribute to and currently has no changes.

If you or others join the ham-radio-software github project with your github account, you can help with the updates to the Wiki's there.





Regards,
-John


Re: DRATS 0.3.3 on Windows 11

 

On 3/24/2023 7:46 PM, Russ Harmon wrote:
Thanks John,
Now to answer your questions. Drats version is legacy on a windows 11 machine.
The solutions offered did not resolved the problem.
I tried to work through the error log; down loaded simplejson and python to install simplejson. The drats share folder is on my desktop with a path through user> russh> desktop>onedrive>D-Rats shared folder.
There will likely be no bug fixes for the legacy Python 2 version of D-Rats. We do not have enough volunteers to make timely fixes to the Python3 version that we are able to test.

There should no reason to continue to attempt to run the legacy version of D-Rats on any system. And the legacy version of D-Rats on older Power PC MAC-OS or Sun Sparc platforms, etc can not exchange files with D-Rats on Windows.

You have already spent more time trying to get the obsolete version to work than it takes to install the current version of D-Rats on Windows.

There is no way to run the legacy version on D-Rats anymore on many modern Linux/Unix systems, which are my primary development platform for D-Rats.

Currently the only way that I can install D-Rats on Windows is:
.

The issue that is causing the crash is documented in: . It seems to show up with people who use the default option of logging into Windows with an online account instead of the local account option that Microsoft seems to be trying to discourage and hide.

It appears that for Microsoft is doing something creative with the login and desktop directories for online accounts that the D-Rats code, both old and new does not understand.

As per my personal strong preference of only using local accounts, I have no way to test such issues, and have to rely on the other testers for the bug reports to diagnose the issue.

Your download of a newer (unspecified) python or the simplejson (from an unspecified source) will probably not be used by the legacy D-Rats because it does not update the embedded private copy of python that the legacy D-Rats is using, unless you are directly tampering with the files installed by the legacy version. And as I previously replied, the lack of simplejson just disables the GEOCODE feature, which has not worked in the legacy D-RATS since Yahoo shut down the service it was connecting to a few years ago.

73,
-John