Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Successfully installed on MacOS Catalina & Sierra #38

benb0jangles opened this issue Apr 26, 2021 · 6 comments

Successfully installed on MacOS Catalina & Sierra #38

benb0jangles opened this issue Apr 26, 2021 · 6 comments


Copy link

benb0jangles commented Apr 26, 2021

Hi there,
I would like to share with you that I was successful in installing NOAA-APT on Both Macbook Pro 10.15 Catalina, but also on my iMac 10.12 Sierra.

My installed NOAA-APT 1.3.0 on catalina using this tutorial:

I had no problems.

However, my first try to install using iMac 10.12 Sierra I met errors due to outdated version of Homebrew error.
I succeeded by:
Copying FULL compiled 'noaa-apt-1.3.0' folder From my Macbook Pro 10.15 Catalina onto USB thumb drive
Copy folder from USB drive, to iMac 10.12 Sierra 'Downloads' folder
I ran:

cd Downloads/noaa-apt-1.3.0/

It would not run due to errors with 'harfbuzz'
So I ran:
brew upgrade harfbuzz

I ran again:

cd Downloads/noaa-apt-1.3.0/

This time success!

Small Note:
i still have font/icon/svg warning in Gtk-WARNING:

(<unknown>:47342): Gtk-WARNING **: 12:45:07.231: Error loading theme icon 'document-save-as' for stock: Icon 'document-save-as' not present in theme Adwaita

(<unknown>:47342): Gtk-WARNING **: 12:45:07.381: Could not load a pixbuf from /org/gtk/libgtk/theme/Adwaita/assets/check-symbolic.svg.
This may indicate that pixbuf loaders or the mime database could not be found.

(<unknown>:47342): Gtk-WARNING **: 12:45:07.394: Error loading theme icon 'document-save-as' for stock: Icon 'document-save-as' not present in theme Adwaita

But NOAA-APT 1.3.0 still runs fine

I tried using:
brew install adwaita-icon-theme

but not fix. But only minor thing.

Hope this Helps

Copy link

Thank you! This is good to know, because this means that you compiled it in Catalina and made it run in Sierra. I will add that in the website.

The Gtk-WARNINGs are common, and should not give problems. All the icons are included with the program, and maybe the worst thing could be that some icons will be missing

Copy link

Happy to help. Thank you for the program, I like that I don't have to resample the wav file anymore 👍

Copy link


Copy link

I added the instructions to the website. Thank you!

Copy link

please can some help me to fix this issue using my old MBP high sierra thanks by advence bro 👍

noaa-apt image decoder version 1.3.0
2022-05-25 13:29:47,388 DEBUG [noaa_apt::wav] Loading WAV: /Users/Apple/noaa-apt-1.3.0/test/test_11025hz.wav
2022-05-25 13:29:47,388 DEBUG [noaa_apt::wav] WAV specifications: WavSpec { channels: 1, sample_rate: 11025, bits_per_sample: 16, sample_format: Int }
2022-05-25 13:29:47,888 DEBUG [noaa_apt::wav] Finished reading WAV
2022-05-25 13:29:47,888 INFO [noaa_apt] Resampling to 12480
2022-05-25 13:29:47,888 DEBUG [noaa_apt::filters] Designing Lowpass and DC removal filter, cutout: pi0.0010465725rad/s, attenuation: 30dB, delta_w: pi0.00021803594rad/s
2022-05-25 13:29:47,888 DEBUG [noaa_apt::filters] Designing Kaiser window, attenuation: 30dB, delta_w: pi0.00021803594rad/s
2022-05-25 13:29:47,889 DEBUG [noaa_apt::filters] Kaiser window design finished, beta: 2.116625, length: 14057
2022-05-25 13:29:47,889 DEBUG [noaa_apt::filters] Lowpass and DC removal filter design finished
2022-05-25 13:29:47,889 DEBUG [noaa_apt::dsp] Resampling by L/M: 832/735
2022-05-25 13:29:48,915 DEBUG [noaa_apt::dsp] Resampling finished
2022-05-25 13:29:48,916 INFO [noaa_apt] Demodulating
2022-05-25 13:29:48,916 DEBUG [noaa_apt::dsp] Demodulating signal
2022-05-25 13:29:49,084 DEBUG [noaa_apt::dsp] Demodulation finished
2022-05-25 13:29:49,084 INFO [noaa_apt] Filtering
2022-05-25 13:29:49,085 DEBUG [noaa_apt::dsp] Filtering signal
2022-05-25 13:29:49,085 DEBUG [noaa_apt::filters] Designing Lowpass filter, cutout: pi
0.33333334rad/s, attenuation: 25dB, delta_w: pi0.06666667rad/s
2022-05-25 13:29:49,085 DEBUG [noaa_apt::filters] Designing Kaiser window, attenuation: 25dB, delta_w: pi
2022-05-25 13:29:49,085 DEBUG [noaa_apt::filters] Kaiser window design finished, beta: 1.3325913, length: 37
2022-05-25 13:29:49,085 DEBUG [noaa_apt::filters] Lowpass filter design finished
2022-05-25 13:29:49,907 DEBUG [noaa_apt::dsp] Filtering finished
2022-05-25 13:29:49,907 INFO [noaa_apt] Syncing
2022-05-25 13:29:56,184 INFO [noaa_apt::decode] Found 1644 sync frames
2022-05-25 13:29:56,249 INFO [noaa_apt] Resampling to 4160
2022-05-25 13:29:56,249 DEBUG [noaa_apt::dsp] Filtering signal
2022-05-25 13:29:56,323 DEBUG [noaa_apt::dsp] Filtering finished
2022-05-25 13:29:56,323 DEBUG [noaa_apt::dsp] Resampling by decimation, M: 3
2022-05-25 13:29:56,351 DEBUG [noaa_apt::dsp] Resampling finished
2022-05-25 13:29:56,379 INFO [noaa_apt] Adjusting contrast using 98 percent
2022-05-25 13:29:56,433 INFO [noaa_apt] Generating image
2022-05-25 13:29:56,502 INFO [noaa_apt::misc] Found recent cached TLE. Date: 2022-05-25 11:24:45 UTC
2022-05-25 13:29:56,502 INFO [noaa_apt] Drawing map
2022-05-25 13:29:56,502 INFO [noaa_apt::map] Drawing map overlay
2022-05-25 13:29:57,784 ERROR [noaa_apt] No such file or directory (os error 2)

Copy link

Sorry I missed this. I think the problem must be that a file in the res/ folder is not found. This can be caused if the program is not run from the correct folder (which should have res/ inside). I guess you are running the program without the GUI, because you should have gotten the error earlier. In Linux, when this happens I get a more useful error:

2022-05-31T16:16:40.329Z INFO [noaa_apt::map] Drawing map overlay
2022-05-31T16:16:40.336Z ERROR [noaa_apt::gui::work] Could not load "./res/shapefiles/states.shp"

In your case it just says "No such file or directory (os error 2)", maybe it is because in MacOS the error looks different?

Can you try running the program again while making sure that you are running it from the correct folder? You should do something like:

cd Downloads/noaa-apt-1.3.0/
ls ./res/shapefiles

I added the command ls ./res/shapefiles to print the list of files in the folder where noaa-apt will search. You should see countries.shp, lakes.shp, README.txt and states.shp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

3 participants