discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error message in fm_rx and fm_tx example


From: Clark Chiu
Subject: Re: Error message in fm_rx and fm_tx example
Date: Fri, 9 Apr 2021 16:17:52 -0400

Hi Christophe,

After I run "python3 fm_rx.py", I got this message:
==========
Traceback (most recent call last):
  File "fm_rx.py", line 508, in <module>
    main()
  File "fm_rx.py", line 486, in main
    tb = top_block_cls()
  File "fm_rx.py", line 252, in __init__
    window.WIN_BLACKMAN_hARRIS, #wintype
AttributeError: type object 'gnuradio.fft.fft_python.window' has no attribute 'WIN_BLACKMAN_hARRIS'
==========

Seems like it couldn't find the correct window type...?


Best regards,
Clark


On Fri, Apr 9, 2021 at 12:50 PM Christophe Seguinot <christophe.seguinot@orange.fr> wrote:

Could you please copy these files for som folder:

  • dummy.dat is generated by fm_tx.grc
  • fm_rx.py is generated from frm;_rx.grc flowgraph

and try to run the .py file:

  • python3 fm_rx.py

may be you could get a more explicit error  for line with firdes.low_pass_2(self.volume...)


On 09/04/2021 18:11, Clark Chiu wrote:
Hi Christophe and Marcus,

Thank you for the reply. I tried the fm_tx_2.grc and it has the same error message as below.
=======
Block: pfb_arb_resampler_xxx_0
Aspect: Param 'Taps'
Message: _expression_ None is invalid for type'real_vector'.
=======
Also the files between master and maint-3.9 are identical.
"git diff maint-3.9 master gr-analog/examples/fm_?x.grc"

I don't think I had a previous version of GNU Radio before. I installed GNU Radio from the binary package. I tried to delete the cache file and the cache folder then restart GRC but it is the same.

Any other suggestions?


Best regards,
Clark


On Fri, Apr 9, 2021 at 9:19 AM Christophe Seguinot <christophe.seguinot@orange.fr> wrote:

Hi Clark

I'm running under Ubuntu 20.04 and GNURadio 3.9 fresh install (my Computer and HDD were out for several days an I had to reinstall Linux)

I downloaded maint-3.8 fm_tx.grc and fm_rx.grc. They worked at the first run without any problem. (I only had to remove ~/.cache/grc_gnuradio/cache.json cahce file because I previously used another version of GR on this computer)

I attached my fm_tx_2.grc file (the downloaded one, renamed and runned/saved under GR3.9)

  1. try to run this .grc file.
  2. if it run, can you send your file to see where the issue come from?
  3. if it doesn't run .. ??

Regards Christophe

On 08/04/2021 21:24, Clark Chiu wrote:
Btw, I am using Ubuntu 18.04

On Wed, Apr 7, 2021 at 11:39 PM Clark Chiu <clarkckl@gmail.com> wrote:
Hi Marcus,

I am using 3.9 for the GNU Radio. I ran the example from the latest master branch of github. I see from the CHANGELOG.md it should be the same 3.9 right?
Thanks.

Best regards,
Kuan-lin

On Wed, Apr 7, 2021 at 7:12 PM Marcus Müller <mueller@kit.edu> wrote:
Hi Clark,

which version of GNU Radio are you using, and is the folder from which you're taking these
examples from the same version?

Thank you for your answer!
Marcus

On 07.04.21 23:35, Clark Chiu wrote:
> Hello,
>
> I am new to GNU Radio and I am trying to understand more by checking the fm_rx and fm_tx
> examples in the gnuradio/gr-analog/examples folder. I open these two grc files from the
> GNU Radio Companion. Out of box, there is an error message in Polyphase Arbitrary
> Resampler saying _expression_ None is invalid for type `real_vector` of parameter `Taps`. I
> tried to google around the forum and the internet but I couldn't find anything useful to
> fix this. I doubt it has something to do with the last parameter "window.WIN_KAISER" but I
> am not sure.
>
> Could anyone give me some pointers?
> Thank you in advance.
>
>
> Best regards,
> Clark


reply via email to

[Prev in Thread] Current Thread [Next in Thread]