Can't connect to Anafi Drone

Hi,
For some reason I’m unable to connect to my drone. I keep getting the following error:

2020-10-02 23:40:08,476 [ERROR] olympe.drone.ANAFI-H081113 - call - Unhandled exception
Traceback (most recent call last):
File “/home/isogbonnaya1/sportseye_parrot/parrot_groundsdk/packages/olympe/src/olympe/_private/init.py”, line 104, in call
return self.func(*args, **kwargs)
File “/home/isogbonnaya1/sportseye_parrot/parrot_groundsdk/packages/olympe/src/olympe/arsdkng/drone.py”, line 581, in _send_command_impl
argv = message._encode_args(*args)
File “/home/isogbonnaya1/sportseye_parrot/parrot_groundsdk/packages/olympe/src/olympe/arsdkng/messages.py”, line 1135, in _encode_args
setattr(argv[i].data, value_attr, ctype(arg))
AttributeError: ‘struct_arsdk_value’ object has no attribute ‘data’

I’m using the simple script:

import olympe

DRONE_IP = “192.168.42.1”

def main():
drone = olympe.Drone(DRONE_IP)
drone.connect()
time.sleep(5)
drone.disconnect()

if name == “main”:
main()

Are there any suggestions? I’ve tried resetting the drone, wifi etc.

I deleted the ‘data’ argument from the line:
setattr(argv[i].data, value_attr, ctype(arg))

This gets rid of the error message. But I’m not sure what the repercussions are yet (if any)?

Sam