Error in crazyflie-lib-python ?

Firmware/software/electronics/mechanics
Post Reply
salocinx
Beginner
Posts: 18
Joined: Wed Feb 06, 2019 7:58 pm

Error in crazyflie-lib-python ?

Post by salocinx » Mon Jul 22, 2019 1:07 pm

Hi. I get the following error when trying to delete a log in my Python code:

Code: Select all

File "e:\projects\\crazyflie\workspace\crazyflie-lib-python\cflib\crazyflie\log.py", line 284, in delete
if (self.cf.link is not None):
AttributeError: 'NoneType' object has no attribute 'link'
Any ideas?



kimberly
Expert
Posts: 107
Joined: Fri Jul 06, 2018 11:13 am

Re: Error in crazyflie-lib-python ?

Post by kimberly » Tue Jul 23, 2019 8:31 am

Hi!

Hmm, seems like an initialization problem... but this error is too little information for me to go on.

Could you post your original and changed code? and also tell me more about your operating system and which version of python and the crazyflie-lib-python you are using.

salocinx
Beginner
Posts: 18
Joined: Wed Feb 06, 2019 7:58 pm

Re: Error in crazyflie-lib-python ?

Post by salocinx » Tue Aug 06, 2019 2:07 pm

Hi Kimberly.

Thanks for your quick response. I wasn't able to reproduce the error after I further worked on my Python code. Probably I somehow tried to delete a log while I was disconnected or the log wasn't started due to an error or something similar. So let's close this thread.

I am sorry for the circumstance!

kimberly
Expert
Posts: 107
Joined: Fri Jul 06, 2018 11:13 am

Re: Error in crazyflie-lib-python ?

Post by kimberly » Wed Aug 07, 2019 7:32 am

Thanks for the update! Yeah sometimes its difficult to reproduce these kinds of things, but it is still interesting to know:) If you encounter another problem, just open up another thread. We are always here to help!

Post Reply