I already reported here a problem with a remote Sphinx instance (see last post). These warnings are still there.
Today I tried to get familiar with taking photos and tried this sample olympe/src/olympe/doc/examples/photo.py at 324a4b2744f6f024a2f0a3dfab2ddddb58b4566c · Parrot-Developers/olympe · GitHub by changing the drone IP to the IP of my Sphinx instance.
The problem with the missing or failing index manifests again. The assertion fails after a 60 s timeout:
(olympe-python3) pi@raspberrypi:~/vxparrot $ python test.py
2022-06-27 11:06:17,115 [INFO] olympe.backend - _create_pomp_loop - Creating pomp loop
2022-06-27 11:06:17,120 [INFO] olympe.backend - _do_create - device callbacks have been added to arsdk_ctrl
2022-06-27 11:06:17,122 [INFO] olympe.scheduler - _create_pomp_loop - Creating pomp loop
2022-06-27 11:06:17,142 [INFO] olympe.media - _create_pomp_loop - Creating pomp loop
2022-06-27 11:06:17,151 [INFO] olympe.backend - _device_added_cb - DiscoveryNet: New device has been detected: 'ANAFI-0000000'
2022-06-27 11:06:17,156 [INFO] olympe.drone - _connecting_cb - Connecting to device: ANAFI-0000000
2022-06-27 11:06:17,157 [INFO] olympe.drone - _connect_impl - Connection in progress...
2022-06-27 11:06:17,160 [INFO] olympe.drone.ANAFI-0000000 - _connected_cb - Connected to device: ANAFI-0000000
2022-06-27 11:06:17,161 [INFO] olympe.drone.ANAFI-0000000 - _connected_cb - {'c2d_port': 2233,
'c2d_update_port': 51,
'c2d_user_port': 21,
'proto_v': 3,
'qos_mode': 0,
'status': 0}
2022-06-27 11:06:17,163 [INFO] olympe.drone.ANAFI-0000000 - _create_command_interface - Command interface has been created
2022-06-27 11:06:17,169 [INFO] olympe.drone.ANAFI-0000000 - _send_command_impl - common.Common.CurrentDateTime(datetime='20220627T110617+0200') has been sent to the device
2022-06-27 11:06:17,182 [INFO] olympe.drone.ANAFI-0000000 - _send_command_impl - common.Common.AllStates() has been sent to the device
2022-06-27 11:06:17,188 [INFO] olympe.drone.ANAFI-0000000 - _recv_cmd_cb - common.CommonState.CurrentDateTimeChanged(datetime='20220627T110617+0200')
2022-06-27 11:06:17,193 [INFO] olympe.drone.ANAFI-0000000 - _on_sync_done - Synchronization of b'192.168.188.118' at 20220627T110617+0200
2022-06-27 11:06:17,205 [WARNING] olympe.media - _get_all_media - HTTP 541: http://192.168.188.118:80/api/v1/media/medias b'Media Not Yet Indexed'
---shortened---
2022-06-27 11:07:18,040 [INFO] olympe.drone.ANAFI-0000000 - _disconnection_impl - disconnected from device: b'192.168.188.118'
2022-06-27 11:07:18,049 [INFO] olympe.drone.ANAFI-0000000 - _on_device_removed - <olympe.arsdkng.cmd_itf.DisconnectedEvent object at 0x7f7ce884f0>
2022-06-27 11:07:18,061 [INFO] olympe.drone.ANAFI-0000000 - _on_device_removed - <olympe.arsdkng.cmd_itf.DisconnectedEvent object at 0x7f7aa65ee0>
2022-06-27 11:07:18,065 [INFO] olympe.media - _websocket_event_reader - websocket closed
2022-06-27 11:07:18,076 [INFO] olympe.scheduler - _destroy_pomp_loop - Pomp loop has been destroyed: subscribers_thread
2022-06-27 11:07:18,284 [INFO] olympe.backend - _destroy_pomp_loop - Pomp loop has been destroyed: Thread-1
Traceback (most recent call last):
File "/home/pi/vxparrot/test.py", line 125, in <module>
test_photo()
File "/home/pi/vxparrot/test.py", line 121, in test_photo
main(drone)
File "/home/pi/vxparrot/test.py", line 111, in main
assert drone.media(
AssertionError
2022-06-27 11:07:18,377 [INFO] olympe.media - _shutdown - olympe.media shutdown
2022-06-27 11:07:19,076 [INFO] olympe.media - _destroy_pomp_loop - Pomp loop has been destroyed: Thread-2
(olympe-python3) pi@raspberrypi:~/vxparrot $
What can I do against this?