Hello,

I created a new c++ block called telemetry using gr_modtool.

Now I want to remove it but keep the other blocks I previously created.

So I did gr_modtool rm telemetry.

It did the following based upon git status:

> modified:
> examples/telemetry/__pycache__/python_telemetry_epy_block_0.cpython-38.pyc
> deleted:    lib/telemetry_impl.cc
> modified:   python/sidekiq/CMakeLists.txt
> modified:   python/sidekiq/bindings/CMakeLists.txt
> deleted:    python/sidekiq/bindings/docstrings/telemetry_pydoc_template.h
> modified:   python/sidekiq/bindings/python_bindings.cc
> deleted:    python/sidekiq/bindings/telemetry_python.cc
> deleted:    python/sidekiq/qa_telemetry.py
>

Now when I attempt to bind the other two blocks, I get an error.
It seems it still thinks the telemetry block exists and it's trying to bind
it.

>  GNU Radio module name identified: sidekiq

/usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the
imp module is deprecated in favour of importlib; see the module's
documentation for alternative uses
  import fnmatch, glob, traceback, errno, sys, atexit, locale, imp, stat
Traceback (most recent call last):
  File "/usr/local/bin/gr_modtool", line 18, in <module>
    cli()
  File "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File
"/usr/local/lib/python3.8/dist-packages/gnuradio/modtool/cli/base.py", line
135, in wrapper
    return func(*args, **kwargs)
  File
"/usr/local/lib/python3.8/dist-packages/gnuradio/modtool/cli/bind.py", line
49, in cli
    run(self)
  File
"/usr/local/lib/python3.8/dist-packages/gnuradio/modtool/cli/base.py", line
155, in run
    module.run()
  File
"/usr/local/lib/python3.8/dist-packages/gnuradio/modtool/core/bind.py",
line 88, in run
    bg.gen_file_binding(file_to_process)
  File
"/usr/local/lib/python3.8/dist-packages/gnuradio/bindtool/core/generator.py",
line 195, in gen_file_binding
    parser = GenericHeaderParser(
  File
"/usr/local/lib/python3.8/dist-packages/gnuradio/blocktool/core/parseheader_generic.py",
line 57, in __init__
    raise BlockToolException('file', file_path, 'does not exist')
gnuradio.blocktool.core.base.BlockToolException: ('file',
'./include/gnuradio/sidekiq/telemetry.h', 'does not exist')

What can I modify to make sure I can build and run the other blocks?

Thanks,

Dave

Reply via email to