开云体育

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

Re: Log access issues

 

开云体育


Hello Glen,

Linux can be "fully featured" depending on what functionality you want.? If you're looking for high amounts of features similar to a Windows environment, consider Mint or Ubuntu but I would argue NONE of those are well suited for a $35 computer.? This is why "Raspbian" and now "Raspberry Pi OS" uses a much lighter weight OS load, GUI setup, etc. to be more suited with less CPU power, less RAM, less I/O, etc.? You CANNOT compare even a 8GB Raspberry Pi 4 to a multi-hundred dollar X86 system with a much higher performance CPU, lot more RAM, much faster storage I/O, etc.

As for software, the choice is yours.? You can simply add pre-built software either via the commands line or a GUI tool very easily but most of that software is OLD.? Why is it old?? This is mostly because the maintenance work to keep software up to date in the Debian repos is done on very conservative time frame.? If you want more bleeding edge versions of programs, you need to run a bleeding edge version of Debian (not RaspberryPi OS).?? Read this for more detail - Debian "testing" : ( ) but understand that the OS and those programs aren't 100% tested and stable.? Again, that URL will explain why.? Other distros are ONLY this way such as Arch, Gentoo, etc as they are "rolling releases".

One alternative to these approaches is to use a stable OS but compile the bleeding edge applications.? This is what KM4ACK is doing but he's creating some automation for you to make it easier for new Linux users. This is sometimes the ONLY way to get newer software as the various software applications such as D-Rats hasn't made any official releases in a very long time and thus Distributions won't know when to package up newer versions.?
?If you don't like the compile speed from your $35 computer and $16 storage device, you can use alternative storage to speed things up (a UASP enabled USB3 SSDs), buy and use one of the faster SBCs than a Raspberry Pis ( ), or learn how to do cross compiling on a much faster x86 computer and then put the resulting binaries into your Raspberry Pi.? The choice is yours.

Finally, to your upgrade point, those aren't three difference ways to do an upgrade, those are the required three commands to do ONE complete update:

?? - apt update :: this fetches the newest packet database from the Internet.? That's it
?? - apt upgrade :: this fetches the newest packages for most of the applications, etc.
?? - apt full-upgrade? :: this is also known as "dist-upgrade" is to upgrade some more fundamental parts of the OS

If you wish to not use the CLI and prefer GUIs for updates, read this URL that I found using a search like "Raspberry Pi GUI updater" -



As you learn Linux, you'll see that packaging of programs differs between Linux distributions be it deb-based (Debian, Raspbian, Mint, Ubuntu, etc) which uses the "apt" or "apt-get" commands from the command line
?RPM-based systems (Redhat Enterprise, Centos, OpenSuse, Fedora, etc), etc.? PKG for distributions that are Arch-based, etc.? All those groups do this for their various own reasons and it's up to you of what Linux distribution you wish to use on your computer hardware.? There is no "one right answer" but searching for say "linux what is the best distribution for me" taking you to say will help you better understand.

--David
KI6ZHD



On 07/11/2020 09:20 AM, Glen Strecker wrote:

I have found that, unlike the Windows environment, the Linux OS’s, especially on the Raspberry Pi’s are not full featured OS’s in that they don’t always have the full library of functionality software installed. ?You have to do update and upgrades often, and it does not always immediately pick up on the fact that some odd dependency is missing. ?Raspbian, now being called Raspberry OS is a subset environment due to the limited storage capacity on the device. ?It was originally recommended to have only an 8 GB SD card. ?The new Pi-4 I just got came with a 64 GB card and I loaded it up with the full Build-a-Pi 3.02 suite by KM5ACK and added D-Rats. ?The whole build took over 4 hours because all the programs were being compiled from source with added dependencies In order for everything to work. ?I have, so far, seen three different ways to ask the machine to do an upgrade. ?There is sudo apt upgrade, sudo apt dist-upgrade, or sudo apt full-upgrade. ?I am not sure about the differences in functionality between the three.


Re: Log access issues

 

I have found that, unlike the Windows environment, the Linux OS’s, especially on the Raspberry Pi’s are not full featured OS’s in that they don’t always have the full library of functionality software installed. ?You have to do update and upgrades often, and it does not always immediately pick up on the fact that some odd dependency is missing. ?Raspbian, now being called Raspberry OS is a subset environment due to the limited storage capacity on the device. ?It was originally recommended to have only an 8 GB SD card. ?The new Pi-4 I just got came with a 64 GB card and I loaded it up with the full Build-a-Pi 3.02 suite by KM5ACK and added D-Rats. ?The whole build took over 4 hours because all the programs were being compiled from source with added dependencies In order for everything to work. ?I have, so far, seen three different ways to ask the machine to do an upgrade. ?There is sudo apt upgrade, sudo apt dist-upgrade, or sudo apt full-upgrade. ?I am not sure about the differences in functionality between the three.


Re: Preferences tab

 

Messages are kept in your Users/UserName/Appdata/Roaming/D-RATS-EV file/messages ?folder.? Watch out for very large (60K or larger) messages.? Some HTML messages can be very large and D-Rats does not know how to display?them. ?

Also, if this is a new setup, I found that it is not a good idea to try to link to an active email account with a large number of saved messages on the server.? D-Rats will try to reach out and download the entire database and will choke on it.? Ask me how I know, lol.

KG5CEN


Re: Preferences tab

 

Not sure how to do this.

Thanks anyway.

Jim


Re: Preferences tab

 

Jim,
I had something like this. It turned out to be a corrupt message. Try going into your Windows file directory C:/users/yournamehere/Appdata/Roaming/DRats/Messages
and delete everything but the .DB file (one .DB file in outbox, inbox, etc.).?
Worked for me.
Good luck.
Mike Mandell, KC3BLF?


Re: Preferences tab

 

I have seen this happen before. In my case, I put a comma in the name of a radio connection (e.g. Austin, TX) and the config file interpreted that as an invalid field being added and then nothing worked. If you can remember what you did before it stopped working, you could manually edit the config file and remove whatever you did. Failing that, just delete the config file and D-RATS will prompt enter your callsign, just as if it was a new installation.

Patrick (N3TSZ)


On Tuesday, July 7, 2020, 07:03:22 PM EDT, Jim McCloskey <jmccloskey@...> wrote:


Patrick, I cannot even get into it now. Everytime I click file? ? perferences? just the error message comes up.


Jim


Re: Preferences tab

 

HI!

if you want to check your logs this maybe could be of help

?

?


Il giorno mer 8 lug 2020 alle ore 01:03 Jim McCloskey <Jmccloskey@...> ha scritto:
Patrick, I cannot even get into it now. Everytime I click file? ? perferences? just the error message comes up.


Jim


Re: Preferences tab

 

Patrick, I cannot even get into it now. Everytime I click file? ? perferences? just the error message comes up.


Jim


Re: Preferences tab

 

Hey Jim,
It sounds like you enabled the spell checker in preferences, but you do not have the spell checker installed on your computer. Search the internet for instructions to install Aspell in windows. (Or just un check the box).

Patrick (N3TSZ)


On Monday, July 6, 2020, 06:15:37 PM EDT, Jim McCloskey <jmccloskey@...> wrote:


I just started having trouble when I click on the preferences tab. I get the error message and debug box.? I've copied the bottom of the error log. \
Any help appreciated.? see below

Demand-opening aspell...
Spelling test failed: [Error 2] The system cannot find the file specified
---- GUI Exception ----
Traceback (most recent call last):
?
?
? File "d_rats\mainwindow.pyo", line 138, in do_prefs
?
?
? File "d_rats\config.pyo", line 1881, in show
?
?
? File "d_rats\config.pyo", line 1833, in __init__
?
?
? File "d_rats\config.pyo", line 1803, in build_ui
?
?
? File "d_rats\config.pyo", line 1777, in add_panel
?
?
? File "d_rats\config.pyo", line 1148, in __init__
?
?
? File "d_rats\config.pyo", line 681, in add_list
?


Preferences tab

 

I just started having trouble when I click on the preferences tab. I get the error message and debug box.? I've copied the bottom of the error log. \
Any help appreciated.? see below

Demand-opening aspell...
Spelling test failed: [Error 2] The system cannot find the file specified
---- GUI Exception ----
Traceback (most recent call last):
?
?
? File "d_rats\mainwindow.pyo", line 138, in do_prefs
?
?
? File "d_rats\config.pyo", line 1881, in show
?
?
? File "d_rats\config.pyo", line 1833, in __init__
?
?
? File "d_rats\config.pyo", line 1803, in build_ui
?
?
? File "d_rats\config.pyo", line 1777, in add_panel
?
?
? File "d_rats\config.pyo", line 1148, in __init__
?
?
? File "d_rats\config.pyo", line 681, in add_list
?


Re: Log access issues

 

As Goofy would say, Aw shucks Yup, hyuk hyuk!
Thanks for the assist!
--
AL M
KF5SMH


Re: Log access issues

 

I just installed gedit on my Linux machine running Lubuntu 18.04. I can now view the debug log.

Patrick (N3TSZ)


On Thursday, July 2, 2020, 10:36:30 AM EDT, ad5rb <ad5rb@...> wrote:


OK, I just started up a RaspPI and a D-RATS v0.3.3 that I configured maybe six months ago and indeed it crashes as you describe when trying Help>Show debug log.? The problem with mine is that it is trying to show the debug file using gedit, but gedit isn't installed.? The cure was to install gedit.? Another approach is to use a different editor to look at the file:? /home/pi/.d-rats/debug.log
I still need to try with this with the latest distribution version.
73,? Richard Browning? AD5RB



Re: Log access issues

 

OK, I just started up a RaspPI and a D-RATS v0.3.3 that I configured maybe six months ago and indeed it crashes as you describe when trying Help>Show debug log. The problem with mine is that it is trying to show the debug file using gedit, but gedit isn't installed. The cure was to install gedit. Another approach is to use a different editor to look at the file: /home/pi/.d-rats/debug.log
I still need to try with this with the latest distribution version.
73, Richard Browning AD5RB


Re: Log access issues

 

Richard, Thanks to all for your replies, I am able to access the log files I want in both win7 and win10. In both of those cases all I need do is click on help>show debug log, or View>log on the toolbar. In the Linux app I am not able to do the same without D-RATS crashing. I am not sure either of these files will help me ID what is occurring with a friends D-RATS instance but it is a place to start. I have since satisfied myself with the black screen issue being caused by the "berkley time share'. That is a mere left click to bring the screen back and continue with the chat, unhandy at times perhaps but nothing one cannot adapt to.
Once again Thanks to all those who have replied thus far.
--
AL M
KF5SMH


Re: Log access issues

 

HI Al -- I have a ratflector running on a linux AWS instance just for tinkering and access it from D-RATS running on Windows 10. The log files generated by D-RATS on Windows 10 show up in AppData\Roaming and I can look at them by copying the files to another directory and then opening the copies in a text editor. I have not been able to find any log files in the ratflector system though. Maybe I am not looking in the right place.
Richard Browning AD5RB


Re: Log access issues

 

Don I have the San Juan County Rat running on an RPI 4 from my house, it also has D-RATS running as NM5Sj. I am trying to access that set of logs. Hope that clears it up.
--
AL M
KF5SMH


Re: Log access issues

 

Al,

Just to be clear, how are you accessing the D-Rats running?as a ratflector?

Don


On Wed, Jul 1, 2020 at 10:17 AM Al Massaro <almassaro1@...> wrote:
Good Morning all!
I am running d-rats 0.3.9.3 for a ratflector on a Pi4 4gb, I have tried to get into my debug log and the main log with no success. If I click on either one of them I get the d-rats has encountered an error splash screen and when I click ignore all my d-rats just shuts down. I am trying to use the logs for troubleshooting some other d-rats issues and could use a little help here.
--
AL M
KF5SMH



--
73 de N4VIP, Don - SFARES Inc. Treasurer and Secretary


Re: Log access issues

 

开云体育

Sorry, I haven’t a clue.

Gary

NY5S

?

Sent from for Windows 10

?

From: Al Massaro
Sent: Wednesday, July 1, 2020 10:17 AM
To: [email protected]
Subject: [d-rats] Log access issues

?

Good Morning all!
I am running d-rats 0.3.9.3 for a ratflector on a Pi4 4gb, I have tried to get into my debug log and the main log with no success. If I click on either one of them I get the d-rats has encountered an error splash screen and when I click ignore all my d-rats just shuts down. I am trying to use the logs for troubleshooting some other d-rats issues and could use a little help here.
--
AL M
KF5SMH

?


Log access issues

 

Good Morning all!
I am running d-rats 0.3.9.3 for a ratflector on a Pi4 4gb, I have tried to get into my debug log and the main log with no success. If I click on either one of them I get the d-rats has encountered an error splash screen and when I click ignore all my d-rats just shuts down. I am trying to use the logs for troubleshooting some other d-rats issues and could use a little help here.
--
AL M
KF5SMH


Re: How to debug a d-rats coredump

 

开云体育

Hi all

?

If can be of help to debug this, D-Rats can be invoked with “cprofiling” option (as well as other options to force a reconfig or a safe mode start)

?

?

have a nice weekend

maurizio

?

From: [email protected] <[email protected]> On Behalf Of David Ranch
Sent: giovedì 11 giugno 2020 17:15
To: [email protected]
Subject: [d-rats] How to debug a d-rats coredump

?

Hello Everyone,

I've been successfully playing around with D-RATS v0.3.9 beta 3 on Centos 6.10 and I left the program running over night and found it crashed. The last thing I see on the terminal screen is:

--
Chat????? : Got chat frame: DDT2+: 0:1:5 DL0NOT-H->CQCQCQ (2QRA DL0NOT WinMor/ALE Station - QTH Karben JO40jf QRV]...[55])??? ?
Sessionmgr: Received block 0:5 for session `chat'???????????????????????????????????????????????????????????????????????????? ?
Transport : Got a block: DDT2+: 0:1:5 ED2YAV->CQCQCQ (2Online (D-RATS)...[16])??????????????????????????????????????????????? ?
Chat????? : Got chat frame: DDT2+: 0:1:5 ED2YAV->CQCQCQ (2Online (D-RATS)...[16])???????????????????????????????????????????? ?
Sessionmgr: Received block 0:5 for session `chat'???????????????????????????????????????????????????????????????????????????? ?
Transport : Got a block: DDT2+: 0:1:5 KS2ARR-C->CQCQCQ (1Online (D-RATS)...[16])????????????????????????????????????????????? ?
Segmentation fault (core dumped)?
--

Here are the various versions of the program's dependencies installed on this machine:

?? python-2.6.6-68.el6_10.x86_64
?? pygtk2-2.24.0-1.el6.x86_64
?? python-six-1.9.0-2.el6.noarch
?? libxml2-python-2.7.6-21.el6_8.1.x86_64
?? pygtk2-libglade-2.24.0-1.el6.x86_64
?? libglade2-2.6.4-3.1.el6.x86_64
?? python-serial-2.4-6.1.noarch
?? libxslt-1.1.26-2.el6_3.1.x86_64


I tried to run "gdb -c core.24111 d-rats.py" but nothing useful came from the backtrace:
--
Core was generated by `/usr/bin/python ./d-rats.py'.??????????????????????????????????????????????????????????????????????????
Program terminated with signal 11, Segmentation fault.????????????????????????????????????????????????????????????????????????
#0? 0x0000003da8c44c50 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
(gdb) bt??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
#0? 0x0000003da8c44c50 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#1? 0x000000000247d330 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#2? 0x00000033b16270eb in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#3? 0x0000000001bbf990 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#4? 0x00000033b16275fe in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#5? 0x000000000247d390 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#6? 0x0000000002430a20 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#7? 0x00000000021dce20 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#8? 0x000000000247d390 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#9? 0x0000000000000000 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
(gdb) quit
--

Any recommendations how to provide some useful information here to figure out what happened?

--David
KI6ZHD