Page 1 of 1

Error in crazyflie-lib-python ?

Posted: Mon Jul 22, 2019 1:07 pm
by salocinx
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?

Re: Error in crazyflie-lib-python ?

Posted: Tue Jul 23, 2019 8:31 am
by kimberly
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.

Re: Error in crazyflie-lib-python ?

Posted: Tue Aug 06, 2019 2:07 pm
by salocinx
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!

Re: Error in crazyflie-lib-python ?

Posted: Wed Aug 07, 2019 7:32 am
by kimberly
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!