Traceback (most recent call last):


 "/home/stuart/cocotb/examples/endian_swapper/tests/test_endian_swapper.py", line 59, in stream_out_config_setter

if dut.MY_GEN_BLOCK.i_endian_swapper.byteswapping.value:


 "/home/stuart/.local/lib/python3.8/site-packages/cocotb/handle.py", line 295, in __getattr__

raise AttributeError("%s contains no object named %s" % (self._name, name))
AttributeError: endian_swapper_wrapper contains no object named MY_GEN_BLOCK

Traceback (most recent call last):


 "project/.tox/pkg/bin/twine", line 11, in <module>

sys.exit(main())


 "project/.tox/pkg/lib/python3.6/site-packages/twine/__main__.py", line 28, in main

return dispatch(sys.argv[1:])


 "project/.tox/pkg/lib/python3.6/site-packages/twine/cli.py", line 75, in dispatch

return main(args.args)


 "project/.tox/pkg/lib/python3.6/site-packages/twine/commands/check.py", line 127, in main

return check(args.dists)


 "project/.tox/pkg/lib/python3.6/site-packages/twine/commands/check.py", line 98, in check

metadata.get("description"), stream=stream, **parameters


 "project/.tox/pkg/lib/python3.6/site-packages/readme_renderer/rst.py", line 95, in render

parts = publish_parts(raw, writer=writer, settings_overrides=settings)


 "project/.tox/pkg/lib/python3.6/site-packages/docutils/core.py", line 450, in publish_parts

enable_exit_status=enable_exit_status)


 "project/.tox/pkg/lib/python3.6/site-packages/docutils/core.py", line 664, in publish_programmatically

output = pub.publish(enable_exit_status=enable_exit_status)


 "project/.tox/pkg/lib/python3.6/site-packages/docutils/core.py", line 217, in publish

self.settings)


 "project/.tox/pkg/lib/python3.6/site-packages/docutils/readers/__init__.py", line 71, in read

self.input = self.source.read()


 "project/.tox/pkg/lib/python3.6/site-packages/docutils/io.py", line 435, in read

return self.decode(self.source)


 "project/.tox/pkg/lib/python3.6/site-packages/docutils/io.py", line 99, in decode

data_encoding = self.determine_encoding_from_data(data)


 "project/.tox/pkg/lib/python3.6/site-packages/docutils/io.py", line 142, in determine_encoding_from_data

if data.startswith(start_bytes):
AttributeError: 'NoneType' object has no attribute 'startswith'
