Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
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 mapJust 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!! |
Thanks John time to try again, as u can tell not real familiar with this will try again!!!
toggle quoted message
Show quoted text
Ralph Barbakoff (WA9LKZ) On Mar 21, 2022, at 6:53 PM, John E. Malmberg <wb8tyw@...> 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!!! 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) |
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: |
to navigate to use esc to dismiss