¿ªÔÆÌåÓý

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

Re: Backing up of configuration.

W Paul Mills AC0HY
 

If you use %AppData% in windows start and then look under that, you will find it somewhere. Should persist after a reinstall anyhow.

Windows likes to mangle your user name, in above example from Patrick, substitute "User" with the mangled user name. Sometimes gets put in different folder than "Roaming". Who knows why windows puts things where the do!


Re: Backing up of configuration.

 

I don¡¯t have that.?


Re: Backing up of configuration.

 

My config file is here:
C:\Users\User\AppData\Roaming\D-RATS

Patrick (N3TSZ)


On Tuesday, March 9, 2021, 10:43:15 AM EST, Daniel Boggiano via groups.io <dboggny@...> wrote:


On the raspberry pi, I backup the .config file so if I have to re-install or make a new setup, I do not have to retype everything in.?

Is there a similar file in Windows I can do the same with?
thanks,
danny


Backing up of configuration.

 

On the raspberry pi, I backup the .config file so if I have to re-install or make a new setup, I do not have to retype everything in.?

Is there a similar file in Windows I can do the same with?
thanks,
danny


ICS 213 Reply

 

Can't seem to reply to an ICS 213 form and have the reply appear in the bottom of the original ICS213. Anybody get this to.work? This is the way it works I'm FLDigi and how the form is designed to work.?


Re: D_RATS on Pi keep alive

 

The easiest thing to do is send a GPS-A report in a QST, as location data does not print anywhere, so it will not be seen anywhere but the event tab and the Map.

Patrick (N3TSZ)


On Wednesday, February 24, 2021, 04:58:06 PM EST, ad5rb <ad5rb@...> wrote:


Hi John and Patrick
After looking at this some more it does seem that moving to Python 3 would help.? When I look at the documentation for Python 2.7, for the socket routine, I see things about the timeout feature, but not the keepalive feature.? Python 3 at least talks about both, but not clear to me how to implement things.? When I look at current Windows documentation it talks about the default timeout for a TCP port being 5 minutes, but changeable during the initialization process for the port.? It also talks about keepalive as used to keep a connection open when there are no packets being sent.? The details here seem fairly intricate and it is not clear if the Linux, Mac OS, and Windows systems have all agreed on how a TCP port should be operated.

Meanwhile the 4 minute QST does seem to work and using the Filter option in D-RATS the messages just accumulate in another tab that you can mostly ignore.? Is there a standard for these keep alive messages?? I am setting a QST message with the contents KpAlv4 and then creating a filter for KpAlv4 as well.

Thanks for the advice,? Richard Browning? AD5RB






Re: D_RATS on Pi keep alive

 

Hi John and Patrick
After looking at this some more it does seem that moving to Python 3 would help. When I look at the documentation for Python 2.7, for the socket routine, I see things about the timeout feature, but not the keepalive feature. Python 3 at least talks about both, but not clear to me how to implement things. When I look at current Windows documentation it talks about the default timeout for a TCP port being 5 minutes, but changeable during the initialization process for the port. It also talks about keepalive as used to keep a connection open when there are no packets being sent. The details here seem fairly intricate and it is not clear if the Linux, Mac OS, and Windows systems have all agreed on how a TCP port should be operated.

Meanwhile the 4 minute QST does seem to work and using the Filter option in D-RATS the messages just accumulate in another tab that you can mostly ignore. Is there a standard for these keep alive messages? I am setting a QST message with the contents KpAlv4 and then creating a filter for KpAlv4 as well.

Thanks for the advice, Richard Browning AD5RB


Re: D_RATS on Pi keep alive

 

While this issue is being addressed, here is a trick that will keep the clutter off the main chat tab.

HOW TO END RATFLECTOR FATIGUE
If your screen is too busy, try this.
Go to File>Preferences>Appearance and type \[QST] on the Ignore RegEx line.
Go to File>Preferences>Chat and disable Show status updates in chat.
Click Save to exit Preferences.
Click Add Filter on the toolbar in the main window.
Enter [QST] as the filter text and click Save



Patrick (N3TSZ)


On Tuesday, February 23, 2021, 04:47:35 PM EST, ad5rb <ad5rb@...> wrote:


Recently, while trying to get standardized on the latest 0.3.9 version, I have ratflector connections timing out at around 5 minutes.? The simple cure is to run a QST announcement every 4 minutes.? Only one station needs to be running this and it seems to keep all stations connected. This is running on Windows 10 machines, but I also have an Ubuntu Linux laptop that does the same 5 minute time out.? Running a 6 minute QST announce does not work.
While the cure is simple, it does result it lots of clutter on the Main chat page.? Again, not a problem if a separate Channel is used for the primary conversation, but then everyone needs to know about the Channel.
Is it worth trying to modify the D-Rats client so the TCP port time out is set to something like 30 minutes or an hour?? Running a QST once an hour makes a nice clock so you realize how much time you are spending, but every 4 minutes is a little excessive in my opinion.
Richard Browning? AD5RB






Re: D_RATS on Pi keep alive

 

On 2/23/2021 3:47 PM, ad5rb wrote:
Recently, while trying to get standardized on the latest 0.3.9
version, I have ratflector connections timing out at around 5
minutes.
That should not be a problem as if everything is working correctly it should just reconnect.

On my windows systems, though the client does not reconnect, instead it misses the disconnect signal for some unknown reason and goes CPU bound.

The disconnect that I see, which is similar to what you report is not a timer in the D-rats. It is my ISP that disconnects any session that is idle for 5 minutes.

The simple cure is to run a QST announcement every 4 minutes. Only
one station needs to be running this and it seems to keep all
stations connected. This is running on Windows 10 machines, but I
also have an Ubuntu Linux laptop that does the same 5 minute time
out. Running a 6 minute QST announce does not work.
Currently that is the only work around that I have.

While the cure is simple, it does result it lots of clutter on the
Main chat page. Again, not a problem if a separate Channel is used
for the primary conversation, but then everyone needs to know about
the Channel.
Is it worth trying to modify the D-Rats client so the TCP port time
out is set to something like 30 minutes or an hour? Running a QST
once an hour makes a nice clock so you realize how much time you are
spending, but every 4 minutes is a little excessive in my opinion.
I am not aware of any such control.

What is needed in my case is a TCP/IP keep-alive to prevent the connection from timing out.

And also to find out why the disconnection is not being signaled on Windows.

That is something that I am going to look at after getting d-rats to work on python3.

-John
wb8tyw@...


Re: D_RATS on Pi keep alive

 

Recently, while trying to get standardized on the latest 0.3.9 version, I have ratflector connections timing out at around 5 minutes. The simple cure is to run a QST announcement every 4 minutes. Only one station needs to be running this and it seems to keep all stations connected. This is running on Windows 10 machines, but I also have an Ubuntu Linux laptop that does the same 5 minute time out. Running a 6 minute QST announce does not work.
While the cure is simple, it does result it lots of clutter on the Main chat page. Again, not a problem if a separate Channel is used for the primary conversation, but then everyone needs to know about the Channel.
Is it worth trying to modify the D-Rats client so the TCP port time out is set to something like 30 minutes or an hour? Running a QST once an hour makes a nice clock so you realize how much time you are spending, but every 4 minutes is a little excessive in my opinion.
Richard Browning AD5RB


Feature Suggestion For The Similarly Paranoid

Kelvin D. Olson
 

I'll look at finding the right place in github to make the suggestion, but I'll mention it here first on the chance that it will raise the discussion with the most effective audience/community.

I understand that in an EMCOMM scenario, it of course makes sense that the...
Preferences
? Paths
? ? File Transfer Path
...be one and only one directory. An Event HQ station may run with the presumption that any files needed at remote stations would be found in HQ's Shared directory, and furthermore that any remote station which has something to send that HQ and/or other remotes may need, can and should put it in HQ's Shared directory.

However... let's be objective - isn't the majority of D-RATS use of a more casual/hobby nature? Sure, it's practice of practical knowledge, skill, equipment and whatnot, but we're also doing this because we enjoy it. It's a hobby. It should be fun. Some of us are leaving our stuff up and running 24x7 simply because we can.

Therefore, are we not opening ourselves up to potential danger of M4LW4RE spreading by having our open-to-whomever Shared directory be the same directory for uploads and downloads?

Yes, we hams are somewhat more tech savvy than the average bear. But we're not - as a group - infallible. When I tell you that I had a ham radio buddy a while back who just did not get it, and got his computer so infected that I shut off my WiFi before he brought it over to get my help with it, many of you had someone pop into your mind. Didn't you?

?

Here's my point:
I would prefer to choose the directory into which I download things.
Distinctly, I would prefer to manage what is Shared from my station.
(In my case, these would not be the same, except if I were involved in an emcom or organized event situation.)

If someone uploaded something bad to my Shared dir, then someone else downloaded that bad thing from my Shared dir, and it caused harm, I would feel really bad about that. I'd much rather have the uploaded-to-me directory be treated as a quarantined, highly suspect, scan-it-thrice directory. I (and only I) will choose which of those things are then Shared with others from my station.


Re: Download Debug Message

Kelvin D. Olson
 

On your Desktop, or at any path on any drive of your choosing... so long as you configure the same drive & path in the D-RATS Preferences.

There's mine, for one example.

Not on my Desktop, which I keep tidy & reserved only for Shortcuts I wish to find easily and use somewhat frequently.

Also I used no spaces in the directory name, as a matter of personal preference.

Yet, this still works.


Re: D-Rats Ubuntu 20.04

W Paul Mills AC0HY
 

¿ªÔÆÌåÓý





On 2/21/21 3:01 PM, Ryan Collier wrote:
I am using Ubuntu 20.04. I was trying to get the new version running so that we can have wxgps-a information. I keep running into a lot of issues. If I run it on python2 I get the six.url error. If I run it on python3 I get a gtk error.

What is the correct way to install and run this? I also have version of 16.04 and 18.04 and the same errors.

Any help is greatly appreciated.


-- 
/
* Amateur Radio Station AC0HY                     *
* W. Paul Mills         SN807                     *
* Assistant EC Alpha-1 ARES Shawnee/Wabaunsee, KS *
* President Kaw Valley Amateur Radio Club         *
/


Re: D-Rats Ubuntu 20.04

 

3.7 is the lasted that I can run.

riggs498@kd8tuz:~/D-Rats-0.3.8$ ./d-rats.py
Traceback (most recent call last):
? File "./d-rats.py", line 31, in <module>
??? from d_rats import utils, spell
? File "/home/riggs498/D-Rats-0.3.8/d_rats/utils.py", line 22, in <module>
??? import six.moves.urllib.request, six.moves.urllib.parse, six.moves.urllib.error
ImportError: No module named six.moves.urllib.request

riggs498@kd8tuz:~/D-Rats-0.3.8$ python3 ./d-rats.py
Traceback (most recent call last):
? File "./d-rats.py", line 26, in <module>
??? import gtk
ImportError: No module named 'gtk'


Re: D-Rats Ubuntu 20.04

 

sudo apt install python-glade2 python-libxml2 python-libxslt1 python-serial
Reading package lists... Done
Building dependency tree????? ?
Reading state information... Done
python-glade2 is already the newest version (2.24.0-4ubuntu1).
python-serial is already the newest version (3.0.1-1).
python-libxml2 is already the newest version (2.9.3+dfsg1-1ubuntu0.7).
python-libxslt1 is already the newest version (1.1.28-2.1ubuntu0.3).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

riggs498@kd8tuz:~/D-Rats-0.3.10beta2$ python3 ./d-rats.py
Traceback (most recent call last):
? File "./d-rats.py", line 26, in <module>
??? import gtk
ImportError: No module named 'gtk'
riggs498@kd8tuz:~/D-Rats-0.3.10beta2$

riggs498@kd8tuz:~/D-Rats-0.3.10beta2$ python ./d-rats.py
Traceback (most recent call last):
? File "./d-rats.py", line 34, in <module>
??? from d_rats import utils, spell
? File "/home/riggs498/D-Rats-0.3.10beta2/d_rats/utils.py", line 26, in <module>
??? import six.moves.urllib.request, six.moves.urllib.parse, six.moves.urllib.error
ImportError: No module named six.moves.urllib.request
riggs498@kd8tuz:~/D-Rats-0.3.10beta2$


Re: D-Rats Ubuntu 20.04

 

It sounds as if you need to install the following packages:
python-glade2, python-libxml2, python-libxslt1, python-serial

Patrick (N3TSZ)


On Sunday, February 21, 2021, 04:01:18 PM EST, Ryan Collier <kb8pmy@...> wrote:


I am using Ubuntu 20.04. I was trying to get the new version running so that we can have wxgps-a information. I keep running into a lot of issues. If I run it on python2 I get the six.url error. If I run it on python3 I get a gtk error.

What is the correct way to install and run this? I also have version of 16.04 and 18.04 and the same errors.

Any help is greatly appreciated.


D-Rats Ubuntu 20.04

 

I am using Ubuntu 20.04. I was trying to get the new version running so that we can have wxgps-a information. I keep running into a lot of issues. If I run it on python2 I get the six.url error. If I run it on python3 I get a gtk error.

What is the correct way to install and run this? I also have version of 16.04 and 18.04 and the same errors.

Any help is greatly appreciated.


Re: Download Debug Message

Marius, YO2LOJ
 

That is only a warning.
You basically need to crate a folder "D-RATS Shared" on your desktop.

On 20.02.2021 18:58, Sam Proctor wrote:
D-RATS Shared


Re: Weather

 

Hi folk.
I sent to github the D-Rats modifications to transmitt the weather stations information.

in QST window is a new mode, WXGPS-A. This mode read files provided by weather software with APRS information.

The file must contain two lines like this.

Feb 08 2021 10:55
045/000g001t042r004p041P014h99b10060
?
Other important step is that the altitude in GPS config must be in 0.


Download Debug Message

 

Trying to download d-rats to a new computer. I have a 64 bit PC. I downloaded the link from??for "New BETA x64", and have extracted the zip files:?
?
However, when I click on the d-rats icon, I get this "Debug" message. Any thoughts?

Mainapp?? : Enabled debug log for Win32 systems

Version : headers={'User-Agent': 'd-rats/0.3.9 '}

C:\Users\sampr\Downloads\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.

?

If this is an existing project that depends on Beautiful Soup 3, the project maintainer (potentially you) needs to start the process of migrating to Beautiful Soup 4. This should be a relatively easy part of the Python 3 migration.

?

Qst?????? : FeedParser not available

Qst?????? : QSTWeatherWU class retired

Config??? : FILE: C:\Users\sampr\AppData\Roaming\D-RATS-EV\d-rats.config

('Config??? : ', 'C:\\Users\\sampr\\Desktop\\D-RATS Shared')

Config??? : Creating directory for downloads: C:\Users\sampr\Desktop\D-RATS Shared

---- GUI Exception ----

Traceback (most recent call last):

?

?

? File "d-rats.py", line 136, in <module>

?

?

? File "d_rats\mainapp.pyo", line 1086, in __init__

?

?

? File "d_rats\config.pyo", line 1863, in __init__

?

?

WindowsError: [Error 3] The system cannot find the path specified: 'C:\\Users\\sampr\\Desktop\\D-RATS Shared'

?

---- End ----