discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: RuntimeError:stof


From: Cinaed Simson
Subject: Re: RuntimeError:stof
Date: Thu, 5 Dec 2019 11:27:06 -0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

On 12/4/19 6:40 PM, Michael Bassi wrote:
> Hi all,
> 
> I have a GRC flow-graph that includes a custom c++ OOT block.
> It worked a while ago, but now when I come to revisit it I found errors:
> When I run my flow graph in GRC, I got this
> module libcanberra-gtk-module.so cannot be loaded.
> 
> which I fixed with:
> sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
> 
> and now I'm getting this following error:
> Traceback (most recent call last):
>   File "/filepath/ReadFileNetwork/readfilenetwork_PC_tx_p_GUI.py", line
> 208, in <module>
>     main()
>   File "/filepath/ReadFileNetwork/readfilenetwork_PC_tx_p_GUI.py", line
> 196, in main
>     tb = top_block_cls()
>   File "/filepath/ReadFileNetwork/readfilenetwork_PC_tx_p_GUI.py", line
> 144, in __init__
>     self.custom_blocks_readfilesource_cpp_0 =
> custom_blocks.readfilesource_cpp()
>   File
> "/usr/local/lib/python2.7/dist-packages/custom_blocks/custom_blocks_swig.py",
> line 144, in make
>     return _custom_blocks_swig.readfilesource_cpp_make()
> RuntimeError: stof
> 
> Any help would be great,
> Thanks

Looks like a C++ error in a string to float conversion. Try writing a
small standalone test program converting a string to a float and see
what happens.

-- Cinaed




reply via email to

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