Error in crazyflie-lib-python ?

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

Error in crazyflie-lib-python ?

Post 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?
kimberly
Bitcraze
Posts: 1050
Joined: Fri Jul 06, 2018 11:13 am

Re: Error in crazyflie-lib-python ?

Post 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.
salocinx
Beginner
Posts: 21
Joined: Wed Feb 06, 2019 7:58 pm
Contact:

Re: Error in crazyflie-lib-python ?

Post 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!
kimberly
Bitcraze
Posts: 1050
Joined: Fri Jul 06, 2018 11:13 am

Re: Error in crazyflie-lib-python ?

Post 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!
Post Reply