Closed benb0jangles closed 3 years ago
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
Happy to help. Thank you for the program, I like that I don't have to resample the wav file anymore 👍
I added the instructions to the website. Thank you!
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: pi0.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: pi0.06666667rad/s 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)
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
./target/release/noaa-apt
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
.
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: https://publiclab.org/notes/sashae/07-02-2020/how-to-compile-noaa-apt-1-2-0-on-mac
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:
It would not run due to errors with 'harfbuzz' So I ran:
brew upgrade harfbuzz
I ran again:
This time success!
Small Note: i still have font/icon/svg warning in Gtk-WARNING:
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 :)