Feature #173
More helpful error messages
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Eric Blossom | % Done: | 0% |
|
| Category: | gnuradio-core | |||
| Target version: | release-3.1 | |||
| Resolution: | duplicate |
Description
Some error messages, for example in exceptions thrown in gr_simple_flowgraph, could be more helpful if you give the name and unique_id of the affected block.
For example, gr_simple_flowgraph_detail::check_contiguity() throws std::runtime_error("insufficient ports"). Which block, which port was involved?
The exceptions get shown in python like this:
File "... gnuradio_swig_py_runtime.py", line 1477, in runtime_run_unlocked
return _gnuradio_swig_py_runtime.runtime_run_unlocked(*args)
RuntimeError: insufficient ports
History
Updated by Eric Blossom almost 6 years ago
- Status changed from New to Closed
- Resolution set to duplicate
Moved info to #174 and closed as duplicate.