Why? Olympe streaming example code throwing error

The olympe streaming example is giving this error:
AttributeError: ‘struct_pdraw_media_info’ object has no attribute ‘_2’

I am running on ubuntu 18.0.4 and using sphinx. Here is the full trace:

    Olympe streaming example output dir: /tmp/olympe_streaming_test_4hsl6lk7
2021-02-11 19:13:11,135 [WARNING] 	olympe.drone.ANAFI-0000000 - _recv_cmd_cb - Unknown message id 0xa1000001
2021-02-11 19:13:11,136 [WARNING] 	olympe.drone.ANAFI-0000000 - _recv_cmd_cb - Unknown message id 0xa2000005
2021-02-11 19:13:11,136 [WARNING] 	olympe.drone.ANAFI-0000000 - _recv_cmd_cb - Unknown message id 0xa2000004
2021-02-11 19:13:11,136 [WARNING] 	olympe.drone.ANAFI-0000000 - _recv_cmd_cb - Unknown message id 0xa3000004
2021-02-11 19:13:11,141 [WARNING] 	olympe.drone.ANAFI-0000000 - _recv_cmd_cb - Unknown message id 0x9d000009
2021-02-11 19:13:11,141 [WARNING] 	olympe.drone.ANAFI-0000000 - _recv_cmd_cb - Unknown message id 0x9d000007
2021-02-11 19:13:11,141 [WARNING] 	olympe.drone.ANAFI-0000000 - _recv_cmd_cb - Unknown message id 0x9f000002
2021-02-11 19:13:11,141 [WARNING] 	olympe.drone.ANAFI-0000000 - _recv_cmd_cb - Unknown message id 0x9f000003
2021-02-11 19:13:11,142 [WARNING] 	olympe.drone.ANAFI-0000000 - _recv_cmd_cb - Unknown message id 0x9f000006
2021-02-11 19:13:11,142 [WARNING] 	olympe.drone.ANAFI-0000000 - _recv_cmd_cb - Unknown message id 0xa5000002
2021-02-11 19:13:11,443 [WARNING] 	olympe.drone.ANAFI-0000000 - _recv_cmd_cb - Unknown message id 0x9f000001
2021-02-11 19:13:11,443 [WARNING] 	olympe.drone.ANAFI-0000000 - _recv_cmd_cb - Unknown message id 0xa5000001
Takeoff if necessary...
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/home/ericsson/workspace/parrot_sdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe_deps.py", line 81, in <lambda>
[h264 @ 0x7fa7bc046380] Reinit context to 1280x720, pix_fmt: yuv420p
    type_((lambda callback: lambda *args: callback(*args))(
  File "/home/ericsson/workspace/parrot_sdk/packages/olympe/src/olympe/arsdkng/pdraw.py", line 840, in _media_added
    if (media_info.contents._2.video.format !=
AttributeError: 'struct_pdraw_media_info' object has no attribute '_2'
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/home/ericsson/workspace/parrot_sdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe_deps.py", line 81, in <lambda>
    type_((lambda callback: lambda *args: callback(*args))(
  File "/home/ericsson/workspace/parrot_sdk/packages/olympe/src/olympe/arsdkng/pdraw.py", line 840, in _media_added
    if (media_info.contents._2.video.format !=
AttributeError: 'struct_pdraw_media_info' object has no attribute '_2'
Moving by (1/3)...
Moving by (2/3)...
Moving by (3/3)...
Landing...
Landed

2021-02-11 19:13:38,358 [ERROR] 	olympe.pdraw.ANAFI-0000000 - _media_removed - Received removed event from unknown ID 1
2021-02-11 19:13:38,358 [ERROR] 	olympe.pdraw.ANAFI-0000000 - _media_removed - Received removed event from unknown ID 2
2021-02-11 19:13:38,382 [ERROR] 	olympe.pdraw.ANAFI-0000000 - _unregister_future - Failed to unregister future '<Future at 0x7fa851cf58d0 state=finished returned bool>'
ffmpeg version 4c955b6c44 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
1 Like