Closed
Description
Since 3.4.0
, I get the following error when trying to build the docs for my project, image_recognition_rqt.
Extension error (autoapi.extension):
Handler <function run_autoapi at 0x7c0618fa0ca0> for event 'builder-inited' threw an exception (exception: Inference failed for all members of [<Call l.46 at 0x7c06117eb5b0>].)
I could get it working when putting a try...except around
sphinx-autoapi/autoapi/_astroid_utils.py
Lines 231 to 233 in 9e6a70a
try:
value = next(target.infer())
except astroid.InferenceError:
value = None
if value is astroid.util.Uninferable:
value = None
But unsure whether this is the correct approach