Hi Emil - Your comment (3) is interesting ... it very well might be that CTRLPORT / Thrift no longer works reliably; as I noted: both interfaces have not been actively maintained for years. I don't see this changing any time soon either. Anyway: Disabling them as you note is the way to go & I hope that takes care of the issues for you so you can get on to your actual USRP work. Cheers! - MLD
On Mon, Oct 5, 2020 at 5:25 AM Emil Bjelski <emil.bjel...@gmail.com> wrote: > Hi Michael, > > I agree with you comments 1) and 2) therefore I will disable Thrift and > CTRLPORT. > > Related to 3) before posting questions I was checking mailing lists and I > read that CTRLPORT should work well with thrift *0.10.0.* > Therefore I have installed thrift version 0.10.0., however there are still > errors. > > Kind Regards, > > Emil > > On Sun, Oct 4, 2020 at 5:33 PM Michael Dickens <michael.dick...@ettus.com> > wrote: > >> Hi Emil - A few thoughts: >> >> 1) This is a GNU Radio question; not a USRP one. You'd be better served >> by querying the GR discussion list < >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >. >> >> 2) Those failing tests are related to CTRLPORT and it's use of Thrift. >> Unless you are going to be using the CTRLPORT feature of GNU Radio, then >> you should disable that component as well as the use of Thrift ... just >> don't use it. If you don't know what it is, then you don't need it. >> >> 3) CTRLPORT / Thrift interface has not been actively maintained for >> years, and Thrift keeps moving forward ... so, there are likely to be >> incompatibilities between them ... might be there already. If I recall >> correctly, CTRLPORT's Thrift interface works with Thrift versions 0.10.0 >> and 0.11.0 ... might work with 0.12.0 ... and has issues with 0.13.0 (the >> current Thrift release). I might be wrong here too. Hence: What version of >> Thrift are you using? Can you revert to, say, 0.11.0? That might help here. >> >> I hope this is useful! - MLD >> >> >> >> On Sun, Oct 4, 2020 at 5:28 AM Emil Bjelski via USRP-users < >> usrp-users@lists.ettus.com> wrote: >> >>> Hi All, >>> >>> I getting errors when calling make test, while installing Gnuradio >>> 3.8.2.0 on Ubuntu 18.04.05. >>> I have also installed thrift version 0.10.0. >>> >>> These are errors >>> `99% tests passed, 3 tests failed out of 368 >>> Total Test time (real) = 166.29 sec >>> The following tests FAILED: >>> 171 - qa_cpp_py_binding (Failed) >>> 172 - qa_cpp_py_binding_set (Failed) >>> 173 - qa_ctrlport_probes (Failed) >>> Errors while running CTest` >>> >>> Further if I call >>> >>> ctest --output-on-failure >>> >>> I get following >>> >>> `170/368 Test #170: qa_copy ............................................ >>> Passed 0.46 sec >>> Start 171: qa_cpp_py_binding >>> 171/368 Test #171: qa_cpp_py_binding >>> ..................................***Failed 0.83 sec >>> EE >>> ====================================================================== >>> ERROR: test_001 (__main__.test_cpp_py_binding) >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File >>> "/home/tkazaz/workarea/gnuradio/gr-blocks/python/blocks/qa_cpp_py_binding.py", >>> line 111, in test_001 >>> rval = v1.get() >>> File >>> "/home/tkazaz/workarea/gnuradio/build/gnuradio-runtime/python/gnuradio/gr/../../../swig/runtime_swig.py", >>> line 7519, in get >>> return _runtime_swig.RPC_get_string_get(self) >>> RuntimeError: basic_string::_M_construct null not valid >>> >>> ====================================================================== >>> ERROR: test_002 (__main__.test_cpp_py_binding) >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File >>> "/home/tkazaz/workarea/gnuradio/gr-blocks/python/blocks/qa_cpp_py_binding.py", >>> line 162, in test_002 >>> radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift') >>> TypeError: __init__() got an unexpected keyword argument 'argv' >>> >>> ---------------------------------------------------------------------- >>> Ran 2 tests in 0.352s >>> >>> FAILED (errors=2) >>> DEPRECATED: Using filename with gr_unittest does no longer have any >>> effect. >>> >>> Start 172: qa_cpp_py_binding_set >>> 172/368 Test #172: qa_cpp_py_binding_set >>> ..............................***Failed 0.71 sec >>> EE >>> ====================================================================== >>> ERROR: test_001 (__main__.test_cpp_py_binding_set) >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File >>> "/home/tkazaz/workarea/gnuradio/gr-blocks/python/blocks/qa_cpp_py_binding_set.py", >>> line 107, in test_001 >>> rval = g3.get() >>> File >>> "/home/tkazaz/workarea/gnuradio/build/gnuradio-runtime/python/gnuradio/gr/../../../swig/runtime_swig.py", >>> line 7519, in get >>> return _runtime_swig.RPC_get_string_get(self) >>> RuntimeError: basic_string::_M_construct null not valid >>> >>> ====================================================================== >>> ERROR: test_002 (__main__.test_cpp_py_binding_set) >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File >>> "/home/tkazaz/workarea/gnuradio/gr-blocks/python/blocks/qa_cpp_py_binding_set.py", >>> line 129, in test_002 >>> radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift') >>> TypeError: __init__() got an unexpected keyword argument 'argv' >>> >>> ---------------------------------------------------------------------- >>> Ran 2 tests in 0.253s >>> >>> FAILED (errors=2) >>> DEPRECATED: Using filename with gr_unittest does no longer have any >>> effect. >>> >>> Start 173: qa_ctrlport_probes >>> 173/368 Test #173: qa_ctrlport_probes >>> .................................***Failed 1.18 sec >>> EEEEE >>> ====================================================================== >>> ERROR: test_001 (__main__.test_ctrlport_probes) >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File >>> "/home/tkazaz/workarea/gnuradio/gr-blocks/python/blocks/qa_ctrlport_probes.py", >>> line 67, in test_001 >>> radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift') >>> TypeError: __init__() got an unexpected keyword argument 'argv' >>> >>> ====================================================================== >>> ERROR: test_002 (__main__.test_ctrlport_probes) >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File >>> "/home/tkazaz/workarea/gnuradio/gr-blocks/python/blocks/qa_ctrlport_probes.py", >>> line 108, in test_002 >>> radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift') >>> TypeError: __init__() got an unexpected keyword argument 'argv' >>> >>> ====================================================================== >>> ERROR: test_003 (__main__.test_ctrlport_probes) >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File >>> "/home/tkazaz/workarea/gnuradio/gr-blocks/python/blocks/qa_ctrlport_probes.py", >>> line 148, in test_003 >>> radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift') >>> TypeError: __init__() got an unexpected keyword argument 'argv' >>> >>> ====================================================================== >>> ERROR: test_004 (__main__.test_ctrlport_probes) >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File >>> "/home/tkazaz/workarea/gnuradio/gr-blocks/python/blocks/qa_ctrlport_probes.py", >>> line 189, in test_004 >>> radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift') >>> TypeError: __init__() got an unexpected keyword argument 'argv' >>> >>> ====================================================================== >>> ERROR: test_005 (__main__.test_ctrlport_probes) >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File >>> "/home/tkazaz/workarea/gnuradio/gr-blocks/python/blocks/qa_ctrlport_probes.py", >>> line 229, in test_005 >>> radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift') >>> TypeError: __init__() got an unexpected keyword argument 'argv' >>> >>> ---------------------------------------------------------------------- >>> Ran 5 tests in 0.705s >>> >>> FAILED (errors=5) >>> DEPRECATED: Using filename with gr_unittest does no longer have any >>> effect. >>> >>> Start 174: qa_delay >>> 174/368 Test #174: qa_delay ........................................... >>> Passed 0.46 sec >>> Start 175: qa_endian_swap >>> 175/368 Test #175: qa_endian_swap ..................................... >>> Passed 0.48 sec` >>> >>> Does anyone know what would be solution? >>> >>> Kind Regards, >>> Tarik >>> _______________________________________________ >>> USRP-users mailing list >>> USRP-users@lists.ettus.com >>> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >>> >>
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com