[chirp_devel] Build test results: Failure
Dan Smith
Mon Dec 19 14:14:42 PST 2016
> Is there something I did that failed? I am ready to fix it if I did.
Yeah, looks like the support matrix failed:
> Tests FAILED: make supported
This isn't in the logs, but you'd see it if you run it locally:
> Traceback (most recent call last):
> File "./share/make_supported.py", line 142, in <module>
> if _radio.get_features().has_sub_devices:
> File "./chirp/drivers/retevis_rt1.py", line 372, in get_features
> if self._my_band() == RT1_VHF_fp:
> File "./chirp/drivers/retevis_rt1.py", line 427, in _my_band
> model_tag = _model_from_image(self)
> File "./chirp/drivers/retevis_rt1.py", line 134, in _model_from_image
> return _model_from_data(radio.get_mmap())
> File "./chirp/drivers/retevis_rt1.py", line 130, in _model_from_data
> return data[0x0170:0x0178]
> TypeError: 'NoneType' object has no attribute '__getitem__'
Just do:
./share/make_supported.py > supported.html
and you should see the failure. You just need to make your
get_features() method not crash if there is no mmap. In that case, just
return defaults for one of the bands or something (or maybe all possible
bands or something like that).
Thanks Jim!
--Dan
More information about the chirp_devel
mailing list