Keyboard Shortcuts
Likes
- D-Rats
- Messages
Search
First pull request for drats2 project.
This puts in the "boilerplate" of the project and the initial readme file. Except for the Readme.md file and the new directory structure, the rest of the files are from the existing d-rats project. Next I plan to work on the getting "hello-world" type projects using the various graphics packages in the outline. I will probably be only testing that phase on one Windows distribution and one Linux distribution, so will need other testers to get better coverage. That will help flush out what is needed for setting up a local development environment. 73, -John wb8tyw |
Re: Announcing drats2 project
On 1/10/2025 1:02 PM, Debbie Fligor via groups.io wrote:
I’ll second the request to continue to support other OSes. I hopeThere are several Mac users on this list that are running the new python3 version and can help you out with details. I have stopped creating pip installable tarballs in favor of just doing a git clone of the project, and then running it from there. lzhuf has to be downloaded and built from the lzhuf project for Mac, as I do not have a way to build it myself and post the binaries in the files section of this forum. That is needed only if you want to use winlink. 73 -John wb8tyw |
Re: Announcing drats2 project
I’ll second the request to continue to support other OSes. I hope to eventually have enough spare time to try and back port a linux version to Mac (since that’s all I have). So I am in favor of using anything that is cross platform, but has stable enough toolkit to be practical.
toggle quoted message
Show quoted text
Since I’ve never even had time to look at the state of the current linux version, I won’t even say it’s my 2 cents, more like my 1/2 cent worth. 73, -debbie, N9DN On Jan 10, 2025, at 03:44, David Ranch via groups.io <dstar@...> wrote: |
Re: Announcing drats2 project
On 1/10/2025 3:44 AM, David Ranch via groups.io wrote:
I can appreciate the need to refactor the code though abandoningI never posted anything about abandoning Linux, the 3 GUI tool kits that I am going to try are available on Linux, Windows and MacOS. * Tkinter - built into python * WxPython - Seems to be the most used of the choices - best supported. * Kivy - Not seeing a lot of activity, but supports Android and IOS. I also totally get the frustration on the ever changing UI toolkits but maybe consider using FLTK like whatJust looked at FLTK. It is more complex to install than the options I am currently looking at because it requires first building it on the Windows platform. That makes creating an installable package on Microsoft Windows much harder. If someone wants to do the work for FLTK support, I don't have any objections of adding it to the mix. My first significant goal is to create hello-world type programs with each of the GUI tool kits. The next significant goal is to create Windows and Linux installable packages of the hello-world type programs. And while doing this, document how others can setup their own development and test environments. Regards, -John |
Re: Announcing drats2 project
Hello John, I can appreciate the need to refactor the code though abandoning Linux is a bad idea IMHO. I also totally get the frustration on the ever changing UI toolkits but maybe consider using FLTK like what Fldigi uses to support Windows, Mac, Linux, FreeBSD, etc. on multiple architectures like x86, ARM, etc. If nothing else, consider coding the new Windows "only" program with Wine-compatibilty in mind so Linux can still run it pretty well for x86.? Running under ARM is possible but the setup? gets complex fast. Just my $0.02 --David KI6ZHD On January 10, 2025 2:54:26 AM GMT+13:00, "John E. Malmberg via groups.io" <wb8tyw@...> wrote:
>On 1/8/2025 10:49 PM, Steve Stroh via groups.io wrote: >>?? This is a cool development, and I’m mentioning it in this week’s issue of >> Zero Retries newsletter. > >Thanks. > >It is going to take a while as I plan to try to document it as a teaching project as I go to help people to contribute.?? There is also a lot of stuff that I need to learn. > >Volunteer testers will be needed for testing devices that I do not have and really will need some help keeping the wiki at ?up to date. > >> As I mention in Zero Retries, I hope that DRATS2 can implement the “big >> flip” necessary to be able to use DV Fast Data mode in the Icom D-Star >> radios that include that mode. > >As I understand it, and I could be very wrong, the Fast Data mode is similar to an Ethernet bridge connected to the local network that the computer is on and can be configured for tcp/ip routed over that bridge. > >In that case, a d-rats repeater would treat it as any other tcp/ip connection, so existing e-rats clients could connect to a d-rats repeater that is accessible over that bridged network. > >Regards, >-John > > > > |
Re: Announcing drats2 project
On 1/8/2025 10:49 PM, Steve Stroh via groups.io wrote:
This is a cool development, and I’m mentioning it in this week’s issue ofThanks. It is going to take a while as I plan to try to document it as a teaching project as I go to help people to contribute. There is also a lot of stuff that I need to learn. Volunteer testers will be needed for testing devices that I do not have and really will need some help keeping the wiki at up to date. As I mention in Zero Retries, I hope that DRATS2 can implement the “bigAs I understand it, and I could be very wrong, the Fast Data mode is similar to an Ethernet bridge connected to the local network that the computer is on and can be configured for tcp/ip routed over that bridge. In that case, a d-rats repeater would treat it as any other tcp/ip connection, so existing e-rats clients could connect to a d-rats repeater that is accessible over that bridged network. Regards, -John |
Re: Announcing drats2 project
This is a cool development, and I’m mentioning it in this week’s issue of Zero Retries newsletter. As I mention in Zero Retries, I hope that DRATS2 can implement the “big flip” necessary to be able to use DV Fast Data mode in the Icom D-Star radios that include that mode. Kudos to WB8TYW! Steve N8GNJ
--- Editor Zero Retries Newsletter -? Radios are Computers - With Antennas! On Jan 5, 2025 at 12:43:44, John E. Malmberg via <wb8tyw=[email protected]> wrote:
|
Announcing drats2 project
I have just created a new repository for rewrite of D-Rats.
I think this re-write is needed for several reasons. 1. Most of D-rats users are using Microsoft Windows and the use of GTK+ makes it hard to provide an easy to install package. 2. GTK+ is continuing to make incompatible changes with new versions making it harder make enhancements. The Glade editor for designing GTK+ layouts actually making things harder as it does not seem to be keeping up with GTK. 3. The config subsystem needs a rewrite to fix existing problems and requested features, the existing code structure makes that very difficult. Tracking Wiki for this new project. It may be a while before I get something ready for testing, and most of those tests will be of the "hello world" type packages at first just to make sure that everything can install and run. As this will be being brought up in sections, hopefully it will help someone learn programming and packaging processes. Regards, -John wb8tyw |
Re: D-Rats Issues
On 9/16/2024 12:56 PM, Jack Spitznagel (KD4IZ) wrote:
<snip> Since I last used the system there is now a version of Python 3 for 64 bit Win 11 that may or may not have the needed support.It still does not the last time I checked and it does not appear that anyone maintaining the needed packages is doing anything to make them run on Microsoft Windows, so I do not expect that to change anytime soon. (maybe still), a separate piece of the code for LZHUF was required that was critical for certain functions of D-RATS to run. I don't know if that is still the case.Lzhuf is in is own repository separated from d-rats as it needs to be built for the specific platform. Prebuilt lzhuf packages for some Debian based distributions including Raspbian and also Microsoft Windows distributions. I have not had time to working out building RPM packages for Lzhuf yet. LZHUF is needed for Winlink communications. Somehow Winlink continued to use LZHUF compression after the patent holder for LZHUF started requiring paid licenses for using LZHUF and suing anyone they found distributing LZHUF compression that did not pay. As a result, all the Linux distros removed lzhuf compression from their packages. Because of that, there are no independent suppliers of LZHUF compression libraries. But now the patents have expired on LZHUF world wide, it is now legal for LZHUF compression to be used with out a paid patent license. And at least in the U.S. it is past the statute of limitations for suing anyone that used it with out a license before the patent expired. The major Linux distros may not be interested in providing a full feature lzhuf package again since because of past lawsuits, there no longer is much use of lzhuf. (The old version did not need the interpreter because it had been compiled to work in Windows).The old version on windows was created independently of Dan Smith's efforts by a windows programmer that bundled the Python 2 package and a pre-built GTK2 package built for windows. It is python, and you can actually edit it in place and try to maintain it. But the tools needed to recreate the distribution package are gone. Currently the cross platform projects that are python based with a single package installer are actually installing the Msys2 environment with a shortcut to launch the application. I have not done that with D-Rats simply because not have time to reverse engineer what the others have done, and the Msys2 does not have documentation for that type of deployment. The other problem is that every time there is a CVE issued against a component in Msys2, a complete new D-Rats package would have to be built and everyone must upgrade to get it. These other projects have a pool of developers and do nightly package builds. If you have an old computer that used to run Windows XP or later, it can probably have Anti-X Linux installed on it instead, and D-Rats 0.40 runs very well on Anti-X Linux even on the older hardware. 73, -John |
Re: D-Rats Issues
On 9/17/2024 7:35 AM, Daryl Stout wrote:
Jack,Yes, that issue has been reported here before. If you use the Microsoft default for Windows 10/11 and create your default login account to use a Microsoft account, it creates a different directory structure. And that is fixed in the current 0.40 D-Rats, the problem was that D-Rats was assuming that directories in the config file already existed and failing if they are missing. For 0.40 the default is still the older directory structure. I do not want my main PC account to be tied to a Microsoft account, so I do not have any systems with that configuration to test. One very important thing with Windows to avoid getting your box turned into a brick is to make sure that you have at least two accounts. A Non-privileged account for your normal use, and also an administrator account. The administrator account should only used for maintenance and repair. There is a nasty virus that I have seen get by several big name antivirus scanners that appears to be delivered somehow from legitimate websites, assuming from banner advertisement. When it hits, you may or may not see a DOS box pop up, but the next thing you see is an extortion page and the mouse/keyboard no longer work. The free Malware Bytes scanner can repair it, but you need to run it from a different account. If you normally use a computer from an Administrator account, and one of these viruses gets in, you will need to reformat the drive and you may need to have the firmware re-flashed on the BIOS. I went into the Mode Overview file (available at the hyperlink off ofAnd if you hook up a radio on a USB serial port, you will eventually find that it will drop received packets. This tends to show up more newer faster computers. That is just one of the many fixes you are missing by staying with the 0.39. Now, if I could just keep power and internet during my ham radio nets.I use a number of UPS systems on all networking and desktop computers. 73, -John wb8tyw |
Re: D-Rats Issues
Jack,
?
? The "fix" was so simple, and these are the ones that can cause a lot of aggravation, and the most problems. It's like having one line off in some programming code, that will mess everything up.
?
? In looking at the debug log (as it was crashing instantly when I tried to load it), it said it could not find the "D-Rats Shared" folder, but it was on the desktop.
?
? I looked at the path, and it hit me...the "username" under C:\Users\username (usually only 5 characters) was DIFFERENT. Next, I took a look at the configuration file from the D-Rats setup on the Windows 10 32-bit machine, and sure enough...that was the issue!!
?
? So, I copied and pasted the d-rats.config file from the Windows 10 32-bit system onto the Windows 11 64-bit system...went into Windows Notepad, and CHANGED the username...saved it to where it needed to go (under \AppData\Roaming\D-Rats\D-Rats-EV)...then clicked on the D-Rats icon, and it came right up!!
?
? I went into the Mode Overview file (available at the hyperlink off of my QRZ bio), and added that tidbit of info. So, I've got D-Rats 0.39 working on the Windows 11 setup.
?
? On a related note, Xfinity has been having lots of networking and internet issues in the neighborhood lately, and I couldn't get the router to initialize. So, I did a reset on it, but it would NOT find all the devices on the LAN. I looked at the setup on my Google Nest doorbell camera, and I had "one extra letter" in the name of the network. So, I reset the router again (where you have to insert a pen into this "hole" in the back of the router, and hold it for 15 seconds, until it resets), and had to go through the browser to redo all the settings. As a side note, be sure to CHANGE the default name and password on your router, or someone can get into your system!! I have a VERY LONG password, comprised of numbers, letters, and symbols. While that's a bear on initial connect, it keeps hackers out. Once I got that set, the Network map "found everything" it needed to.
?
? A friend of the family, assisting with the paralegal and other stuff after my younger brother's suicide over 10 weeks ago, got me a new Windows 11 Pro Desktop computer, with 16 GB of RAM, and 1 TB of hard drive space...I've never had a computer this good!!
?
? The good thing is that the speed is much faster, so if the SharkRF OpenSpot 4 Pro resets or the app barfs and locks during a net, I can do the classic 3-finger-salute of CTRL-ALT-DEL (although many folks would like to give Microsoft the middle finger salute (hi hi)), and the task manager comes right up, where I can stop the SharkRF app via "end task", then reload it, and get back on to the reflector, in 15 seconds!! Now, if I could just keep power and internet
?
? The bad thing is that it's an "office" computer, and NOT designed for "gaming". I had purchased Auran Trainz Simulator, and the CPU got to running real hot, even though I had set the graphics resolution to LOW. So, I wasted my money on that.
?
? Now, if I could just keep power and internet during my ham radio nets.
?
Daryl, N5VLZ
? |
Re: D-Rats Issues
开云体育Hi Daryl, It has been a while! The original work was written in older
versions of Python 2 with libraries that are no longer supported.
There has been an enormous amount of work needed and much has been
done by John Malmberg, WB8TYW and Maurizio Andreotti IZ2LXI
.? While in your "absence", D-RATS has undergone some major changes
- much of the v0.4 development code was written to run under Msys2
or MobaXterm (emulation application) in the Python 3 environment
(IIRC) so that the primary maintainers could continue work on
fixing the Python code and making things current. Here is a quote from the github repository which has me a bit confused on a brief reading. It is from :
Since I last used the system there is now a version of Python 3
for 64 bit Win 11 that may or may not have the needed support.
Also for a while (maybe still), a separate piece of the code for
LZHUF was required that was critical for certain functions of
D-RATS to run. I don't know if that is still the case. So the
Python interpreter plus the LZHUF issue maybe where your attempt
to install D-RATS went south. (The old version did not need the
interpreter because it had been compiled to work in Windows). I had been loading and testing John's new versions, then got derailed by life demands. The old versions (v3) still will load and run OK on my old 2015 Dell Windows 10 based desktop (which just has been replaced by a Win 11 box). I have yet to install any version of Python or D-RATS on the new computer, so you and I will likely go on this journey together.? I do think I have the new code running on my Win 11 laptop - but
it has been a while since I did much with it. If I have the time (has been scarce lately) to install, I will. I
will share with you what the "secret sauce" steps that I discover
on the way. Hope that makes it easier. Jack - KD4IZ On 9/16/2024 12:28 PM, Daryl Stout
wrote:
|
D-Rats Issues
I previously was running D-Rats 0.3.9 under Windows 10 32-bit on a desktop and Windows 11 64-bit on a Lenovo Laptop...and it still works on the desktop computer. I had to stop using the Lenovo Laptop, as the screen started going bad...but I also received an early Christmas/birthday present, with a new Windows 11 Pro Desktop, with 16 GB of RAM, and 1 TB of hard drive space...which has made doing much of my ham radio nets much easier, with the SharkRF OpenSpot 4 Pro.
?
However, I tried to get D-Rats 0.3.9 to work on the new computer, and it would not. Is there an additional file I need to download to make it work?? I took a look at D-Rats 0.4.2, but I wasn't sure what I needed to do to activate it, or get it working.
?
Any help would be appreciated.
?
Daryl, N5VLZ
? |
Re: Installing a RATFLECTOR on a Dplus Repeater
I got confused because I'm having trouble hitting WA7DRE's ratflector as well. Interesting you got such a close callsign.
?
D-Rats reflector is part of the D-Rats install. It's a Python script
is where the most current version lives. You will need an updated Python3 and GTK3 installed. Instructions are on the GitHub page.
?
?
?
?
?
? |
Installing a RATFLECTOR on a Dplus Repeater
Hi all,?
?
I've been admin for two Dplus repeaters in Washington State since 03/2023. The repeaters are WA7FW and WA7DR and both at one time were configured to be ratflectors, but when I tried to connect to them, the repeaters did not respond. I tried connecting via the internet using the listed addresses for each repeater - wa7fw.ratflector.com and wa7dr.ratflector.com.?
I also tried via radio, but still no joy. I obtained the command to restart the d-rats repeater from a fellow admin and ran the command via SSH?"nohup d-rats_repeater -C &" ?
The system responded with? "failed to run command d-rats_repeater - no such file or directory." So it appears that the ratflector is no longer configured on the repeaters.
?
My question is where do I get the software and how do I install it on the two repeater servers? I have searched and searched on this io groups, on YouTube, and on the internet and found no help.?
?
Can someone point me in the direction as to where I can get the software and how to install it??
?
Thank you in advance.?
?
v/r
?
Perry - WB7NIL
FWARC.org WA7FW and WA7DR D-Star repeater Admin and REF035 Admin. |
Re: error message
On 8/27/2024 6:47 PM, John Primo wrote:
I am downloaded Drats it downloads fine but when i go to open theDownloaded from where? I have stopped attempting to build python eggs for releases for now as they are a bit of effort to maintain, and it is simpler to maintain a checkout of the D-rats repository on a system setup with the D-rats dependencies, and we do not have enough active volunteers create and test packages. What installation procedure did you use? D-Rats is a Linux Python program that requires a Linux emulation environment in Microsoft Windows. The only such known environments are Msys2, Cygwin, and MobaXterm (Cygwin). Of these MobaXterm seems to be the easiest to maintain. Microsoft Windows does not provide a complete Python runtime environment, and the GTK project required by D-Rats does not provide a working build procedure for building it using Microsoft Compilers. This is the current installation procedure on Microsoft Windows: Currently this installation procedure appears to work from Microsoft Windows 7 and later versions, although support for versions of Microsoft Windows earlier than Windows-10 is being very rapidly dropped by the libraries that D-Rats depends on for running. Note that the 0.3.9 and older version of D-rats are not getting any bug fixes and has a known bug in that it will drop some messages received over the radio. That bug may show up more on newer faster computers. The "Default" installation of Microsoft Windows 10/11 now tries really hard to get you to create a Microsoft account which sets up your user directory differently than what older versions of D-Rats expects so on those systems, Older D-Rats will fail to start. I am showing that as fixed in the current 0.40 repository. Until we get a volunteer that can come up with a better Windows installation package than installing and running from inside MobaXterm, that is what we have. 73, -John wb8tyw@... |
Re: error message
开云体育Is there a folder named ‘D-RATS Shared’ on you desktop??? disable?desktop back up and then try to install again…you will see the?D-RATS Shared folder on the desk top and you should be good to go
|
Re: error message
John,
?
I had the same experience. For background, I am running Windows 11. I downloaded the stable production version, Legacy for PC. I got the same error message. On clicking the Debug Log button, it showed a JSON add-in library error. I think this is when a Python program uses an include statement for a library that is not on my PC. I am not sure how to add that library. I cannot reproduce that error at the moment because I installed the Beta over it.?
?
I then tried the beta 0.3.9x64 version to see if that had a similar issue with Beautifulsoup.py.? I tried ignoring the error but the application does not launch. I do not have a D-STAR capable radio so the app is my only alternative at the moment.
?
Any suggestions?
?
THANK YOU, 73 Doug/KI4VDU
?
0.3.9x64 error below:
?
Mainapp ? : Enabled debug log for Win32 systems
Version : headers={'User-Agent': 'd-rats/0.3.9 '} C:\Users\dpapc\Dropbox\!Radio\d-rats-0.3.9_win64\D-Rats-0.3.9_64\library.zip\BeautifulSoup.py:114: UserWarning: You are using a very old release of Beautiful Soup, last updated in 2011. If you installed the 'beautifulsoup' package through pip, you should know the 'beautifulsoup' package name is about to be reclaimed by a more recent version of Beautiful Soup which is incompatible with this version. This will happen at some point after January 1, 2021.
If you just started this project, this is easy to fix. Install the 'beautifulsoup4' package instead of 'beautifulsoup' and start using Beautiful Soup 4.
|
Re: That ol' Blue DVDongle by InternetLabs...
Ken Winograd
Sorry Patrick. I meant no disrespect to you or the group. I had a problem with a D-Star DVDongle and the DVDongle group has apparently zero activity, and I was looking for a way to get any info at all on a D-Star-related product. So, I tried this group hoping to find some kind soles with some solid info (which I did). Anyway, consider me gone! |