Open kronenpj opened 2 years ago
On 2022-03-26 09:25, Paul Kronenwetter wrote:
Please elaborate on what's missing from a basic GNU Radio installation. This is the output from the GRC compiler on my Fedora 35 system:
|$ grcc wwv_doppler.grc <<< Welcome to GNU Radio Companion Compiler 3.9.5.0 >>> Block paths: /usr/share/gnuradio/grc/blocks >>> Loading: /home/kronenpj/src/svn/wwv_doppler/wwv_doppler.grc >>> Load Error: /home/kronenpj/src/svn/wwv_doppler/wwv_doppler.grc: Flowgraph invalid ** 21 errors from flowgraph: Param - Value(value): Value "len(first_taps)" cannot be evaluated: name 'first_taps' is not definedBlock - first_taps - Low-pass Filter Taps(variable_low_pass_filter_taps): Value "firdes.low_pass(gain, samp_rate, cutoff_freq, width, win, beta)" cannot be evaluated: low_pass(): incompatible function arguments. The following argument types are supported: 1. (gain: float, sampling_freq: float, cutoff_freq: float, transition_width: float, window: gnuradio.fft.fft_python.window.win_type = <win_type.WIN_HAMMING: 0>, beta: float = 6.76) -> List[float] Invoked with: 1.0, 10000000.0, 100000.0, 90000.0, None, 6.76Param - Window(win): Value "firdes.WIN_HAMMING" cannot be evaluated: type object 'gnuradio.filter.filter_python.firdes' has no attribute 'WIN_HAMMING'Param - Value(value): Value "len(second_taps)" cannot be evaluated: name 'second_taps' is not definedBlock - second_taps - Low-pass Filter Taps(variable_low_pass_filter_taps): Value "firdes.low_pass(gain, samp_rate, cutoff_freq, width, win, beta)" cannot be evaluated: low_pass(): incompatible function arguments. The following argument types are supported: 1. (gain: float, sampling_freq: float, cutoff_freq: float, transition_width: float, window: gnuradio.fft.fft_python.window.win_type = <win_type.WIN_HAMMING: 0>, beta: float = 6.76) -> List[float] Invoked with: 1.0, 250000, 1136.3636363636363, 3500, None, 6.76Param - Window(win): Value "firdes.WIN_HAMMING" cannot be evaluated: type object 'gnuradio.filter.filter_python.firdes' has no attribute 'WIN_HAMMING'Param - Value(value): Value "len(third_taps)" cannot be evaluated: name 'third_taps' is not definedBlock - third_taps - Low-pass Filter Taps(variable_low_pass_filter_taps): Value "firdes.low_pass(gain, samp_rate, cutoff_freq, width, win, beta)" cannot be evaluated: low_pass(): incompatible function arguments. The following argument types are supported: 1. (gain: float, sampling_freq: float, cutoff_freq: float, transition_width: float, window: gnuradio.fft.fft_python.window.win_type = <win_type.WIN_HAMMING: 0>, beta: float = 6.76) -> List[float] Invoked with: 1.0, 2500, 725, 35, None, 6.76Param - Window(win): Value "firdes.WIN_HAMMING" cannot be evaluated: type object 'gnuradio.filter.filter_python.firdes' has no attribute 'WIN_HAMMING'Param - Taps(taps): Value "second_taps" cannot be evaluated: name 'second_taps' is not definedParam - Taps(taps): Expression None is invalid for type'complex_vector'.Param - Taps(taps): Value "third_taps" cannot be evaluated: name 'third_taps' is not definedParam - Taps(taps): Expression None is invalid for type'complex_vector'.Param - Taps(taps): Value "third_taps" cannot be evaluated: name 'third_taps' is not definedParam - Taps(taps): Expression None is invalid for type'complex_vector'.Param - Taps(taps): Value "second_taps" cannot be evaluated: name 'second_taps' is not definedParam - Taps(taps): Expression None is invalid for type'complex_vector'.Param - Taps(taps): Value "first_taps" cannot be evaluated: name 'first_taps' is not definedParam - Taps(taps): Expression None is invalid for type'complex_vector'.Param - Taps(taps): Value "first_taps" cannot be evaluated: name 'first_taps' is not definedParam - Taps(taps): Expression None is invalid for type'complex_vector'. ** Compilation error |
Loading directly into the GNU Radio GUI shows these same errors in the blocks.
Because they changed the FIRDES functions between GR 3.8 and GR 3.9. I haven't tried it on GR 3.9 yet.
In my defense, I built this only a couple of months ago, on the latest Ubuntu system I could get, which packages 3.8.
Message ID: @.***>
On 2022-03-26 09:25, Paul Kronenwetter wrote:
Please elaborate on what's missing from a basic GNU Radio installation. This is the output from the GRC compiler on my Fedora 35 system:
|$ grcc wwv_doppler.grc <<< Welcome to GNU Radio Companion Compiler 3.9.5.0 >>> Block paths: /usr/share/gnuradio/grc/blocks >>> Loading: /home/kronenpj/src/svn/wwv_doppler/wwv_doppler.grc >>> Load Error: /home/kronenpj/src/svn/wwv_doppler/wwv_doppler.grc: Flowgraph invalid ** 21 errors from flowgraph: Param - Value(value): Value "len(first_taps)" cannot be evaluated: name 'first_taps' is not definedBlock - first_taps - Low-pass Filter Taps(variable_low_pass_filter_taps): Value "firdes.low_pass(gain, samp_rate, cutoff_freq, width, win, beta)" cannot be evaluated: low_pass(): incompatible function arguments. The following argument types are supported: 1. (gain: float, sampling_freq: float, cutoff_freq: float, transition_width: float, window: gnuradio.fft.fft_python.window.win_type = <win_type.WIN_HAMMING: 0>, beta: float = 6.76) -> List[float] Invoked with: 1.0, 10000000.0, 100000.0, 90000.0, None, 6.76Param - Window(win): Value "firdes.WIN_HAMMING" cannot be evaluated: type object 'gnuradio.filter.filter_python.firdes' has no attribute 'WIN_HAMMING'Param - Value(value): Value "len(second_taps)" cannot be evaluated: name 'second_taps' is not definedBlock - second_taps - Low-pass Filter Taps(variable_low_pass_filter_taps): Value "firdes.low_pass(gain, samp_rate, cutoff_freq, width, win, beta)" cannot be evaluated: low_pass(): incompatible function arguments. The following argument types are supported: 1. (gain: float, sampling_freq: float, cutoff_freq: float, transition_width: float, window: gnuradio.fft.fft_python.window.win_type = <win_type.WIN_HAMMING: 0>, beta: float = 6.76) -> List[float] Invoked with: 1.0, 250000, 1136.3636363636363, 3500, None, 6.76Param - Window(win): Value "firdes.WIN_HAMMING" cannot be evaluated: type object 'gnuradio.filter.filter_python.firdes' has no attribute 'WIN_HAMMING'Param - Value(value): Value "len(third_taps)" cannot be evaluated: name 'third_taps' is not definedBlock - third_taps - Low-pass Filter Taps(variable_low_pass_filter_taps): Value "firdes.low_pass(gain, samp_rate, cutoff_freq, width, win, beta)" cannot be evaluated: low_pass(): incompatible function arguments. The following argument types are supported: 1. (gain: float, sampling_freq: float, cutoff_freq: float, transition_width: float, window: gnuradio.fft.fft_python.window.win_type = <win_type.WIN_HAMMING: 0>, beta: float = 6.76) -> List[float] Invoked with: 1.0, 2500, 725, 35, None, 6.76Param - Window(win): Value "firdes.WIN_HAMMING" cannot be evaluated: type object 'gnuradio.filter.filter_python.firdes' has no attribute 'WIN_HAMMING'Param - Taps(taps): Value "second_taps" cannot be evaluated: name 'second_taps' is not definedParam - Taps(taps): Expression None is invalid for type'complex_vector'.Param - Taps(taps): Value "third_taps" cannot be evaluated: name 'third_taps' is not definedParam - Taps(taps): Expression None is invalid for type'complex_vector'.Param - Taps(taps): Value "third_taps" cannot be evaluated: name 'third_taps' is not definedParam - Taps(taps): Expression None is invalid for type'complex_vector'.Param - Taps(taps): Value "second_taps" cannot be evaluated: name 'second_taps' is not definedParam - Taps(taps): Expression None is invalid for type'complex_vector'.Param - Taps(taps): Value "first_taps" cannot be evaluated: name 'first_taps' is not definedParam - Taps(taps): Expression None is invalid for type'complex_vector'.Param - Taps(taps): Value "first_taps" cannot be evaluated: name 'first_taps' is not definedParam - Taps(taps): Expression None is invalid for type'complex_vector'. ** Compilation error |
Loading directly into the GNU Radio GUI shows these same errors in the blocks.
— Reply to this email directly, view it on GitHub https://github.com/ccera-astro/wwv_doppler/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFN6WN3BB4FS2DYSWDLLXMTVB4F5XANCNFSM5RXCKKZA. You are receiving this because you are subscribed to this thread.Message ID: @.***>
See:
On 2022-03-26 09:25, Paul Kronenwetter wrote:
Please elaborate on what's missing from a basic GNU Radio installation. This is the output from the GRC compiler on my Fedora 35 system:
|$ grcc wwv_doppler.grc <<< Welcome to GNU Radio Companion Compiler 3.9.5.0 >>> Block paths: /usr/share/gnuradio/grc/blocks >>> Loading: /home/kronenpj/src/svn/wwv_doppler/wwv_doppler.grc >>> Load Error: /home/kronenpj/src/svn/wwv_doppler/wwv_doppler.grc: Flowgraph invalid ** 21 errors from flowgraph: Param - Value(value): Value "len(first_taps)" cannot be evaluated: name 'first_taps' is not definedBlock - first_taps - Low-pass Filter Taps(variable_low_pass_filter_taps): Value "firdes.low_pass(gain, samp_rate, cutoff_freq, width, win, beta)" cannot be evaluated: low_pass(): incompatible function arguments. The following argument types are supported: 1. (gain: float, sampling_freq: float, cutoff_freq: float, transition_width: float, window: gnuradio.fft.fft_python.window.win_type = <win_type.WIN_HAMMING: 0>, beta: float = 6.76) -> List[float] Invoked with: 1.0, 10000000.0, 100000.0, 90000.0, None, 6.76Param - Window(win): Value "firdes.WIN_HAMMING" cannot be evaluated: type object 'gnuradio.filter.filter_python.firdes' has no attribute 'WIN_HAMMING'Param - Value(value): Value "len(second_taps)" cannot be evaluated: name 'second_taps' is not definedBlock - second_taps - Low-pass Filter Taps(variable_low_pass_filter_taps): Value "firdes.low_pass(gain, samp_rate, cutoff_freq, width, win, beta)" cannot be evaluated: low_pass(): incompatible function arguments. The following argument types are supported: 1. (gain: float, sampling_freq: float, cutoff_freq: float, transition_width: float, window: gnuradio.fft.fft_python.window.win_type = <win_type.WIN_HAMMING: 0>, beta: float = 6.76) -> List[float] Invoked with: 1.0, 250000, 1136.3636363636363, 3500, None, 6.76Param - Window(win): Value "firdes.WIN_HAMMING" cannot be evaluated: type object 'gnuradio.filter.filter_python.firdes' has no attribute 'WIN_HAMMING'Param - Value(value): Value "len(third_taps)" cannot be evaluated: name 'third_taps' is not definedBlock - third_taps - Low-pass Filter Taps(variable_low_pass_filter_taps): Value "firdes.low_pass(gain, samp_rate, cutoff_freq, width, win, beta)" cannot be evaluated: low_pass(): incompatible function arguments. The following argument types are supported: 1. (gain: float, sampling_freq: float, cutoff_freq: float, transition_width: float, window: gnuradio.fft.fft_python.window.win_type = <win_type.WIN_HAMMING: 0>, beta: float = 6.76) -> List[float] Invoked with: 1.0, 2500, 725, 35, None, 6.76Param - Window(win): Value "firdes.WIN_HAMMING" cannot be evaluated: type object 'gnuradio.filter.filter_python.firdes' has no attribute 'WIN_HAMMING'Param - Taps(taps): Value "second_taps" cannot be evaluated: name 'second_taps' is not definedParam - Taps(taps): Expression None is invalid for type'complex_vector'.Param - Taps(taps): Value "third_taps" cannot be evaluated: name 'third_taps' is not definedParam - Taps(taps): Expression None is invalid for type'complex_vector'.Param - Taps(taps): Value "third_taps" cannot be evaluated: name 'third_taps' is not definedParam - Taps(taps): Expression None is invalid for type'complex_vector'.Param - Taps(taps): Value "second_taps" cannot be evaluated: name 'second_taps' is not definedParam - Taps(taps): Expression None is invalid for type'complex_vector'.Param - Taps(taps): Value "first_taps" cannot be evaluated: name 'first_taps' is not definedParam - Taps(taps): Expression None is invalid for type'complex_vector'.Param - Taps(taps): Value "first_taps" cannot be evaluated: name 'first_taps' is not definedParam - Taps(taps): Expression None is invalid for type'complex_vector'. ** Compilation error |
Loading directly into the GNU Radio GUI shows these same errors in the blocks.
— Reply to this email directly, view it on GitHub https://github.com/ccera-astro/wwv_doppler/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFN6WN3BB4FS2DYSWDLLXMTVB4F5XANCNFSM5RXCKKZA. You are receiving this because you are subscribed to this thread.Message ID: @.***>
You can also pull the FG into GRC, and there are 3 "Low Pass Filter Taps" blocks--just re-select the Hamming window type, and re-save your graph.
Thank you for the quick response and manual instructions! If it's helpful this is the file saved by GRC after re-selecting the Hamming window type.
diff --git a/wwv_doppler.grc b/wwv_doppler.grc
index 806c321..0db731d 100644
--- a/wwv_doppler.grc
+++ b/wwv_doppler.grc
@@ -1,6 +1,7 @@
options:
parameters:
author: ''
+ catch_exceptions: 'True'
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
@@ -77,7 +78,7 @@ blocks:
gain: '1.0'
samp_rate: samp_rate
width: 90e3
- win: firdes.WIN_HAMMING
+ win: window.WIN_HAMMING
states:
bus_sink: false
bus_source: false
@@ -178,7 +179,7 @@ blocks:
gain: '1.0'
samp_rate: high_rate
width: '3500'
- win: firdes.WIN_HAMMING
+ win: window.WIN_HAMMING
states:
bus_sink: false
bus_source: false
@@ -251,7 +252,7 @@ blocks:
gain: '1.0'
samp_rate: mid_rate
width: '35'
- win: firdes.WIN_HAMMING
+ win: window.WIN_HAMMING
states:
bus_sink: false
bus_source: false
Please elaborate on what's missing from a basic GNU Radio installation. This is the output from the GRC compiler on my Fedora 35 system:
Loading directly into the GNU Radio GUI shows these same errors in the blocks.