Hi sp h, On 10/01/2022 10.28, sp h wrote: > When I removed device 3 block I had these errors > > File "/home/sp/Downloads/default474.py", line 192, in main > tb = top_block_cls() > File "/home/sp/Downloads/default474.py", line 143, in __init__ > self.ettus_rfnoc_digital_gain_0 = ettus.rfnoc_generic( > AttributeError: module 'ettus' has no attribute 'rfnoc_generic' > > with device 3 block in the GRC file, I had these errors... > > main() > File "/home/sp/Downloads/default474.py", line 199, in main > tb = top_block_cls() > File "/home/sp/Downloads/default474.py", line 76, in __init__ > self.device3 = usrp = ettus.device3(uhd.device_addr_t( > ",".join(('type=x300', '')) )) > AttributeError: module 'ettus' has no attribute 'device3'
A possible reason for errors like above is undefined reference/symbol in the OOT's shared object (.so) file. Go in the gr-ettus' build director, execute "ldd -r ./libs/libgnuradio-ettus.so" and provide its full output. Also open python/__init__.py, change ImportError to ModuleNotFoundError then rebuild and reinstall. See https://github.com/gnuradio/gnuradio/issues/4761 Regards, Vasil