-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FILE_DOES_NOT_EXIST on calling the drone.ftp.list_directory() to fetch internal directories file #690
Comments
I think the
Does that work? |
Tried that. |
Oh ok. Is this against PX4 or ArduPilot? |
I am using PX4. |
Ok cool, thanks for the info. I should be able to reproduce this. I'll put it on my todo list. If this is urgent and blocking you, consider throwing something in the hat. |
I removed 'D'. |
I'm not sure I follow. Can you explain the exact steps to get into that case? |
So if I am trying to access a directory which gives me FILE_DOES_NOT_EXIST error. After that, even if I try to access any directory, it will give me this error. |
Aha! That doesn't sound right indeed. |
I can reproduce the issue. I'm looking into it. |
It looks like we get a nak from PX4:
I'm running |
Ok, so you're right in that it's some sort of state issue where it doesn't recover if it has once received a "not existing". |
It looks like we always need to send a TERMINATE_SESSION command, which I omitted for certain calls. Thus PX4 always just responded with the last ack/nak. Fix coming: mavlink/MAVSDK#2309 |
How to Recreate
Code 1
Output 1
directory list ['Dbin', 'Ddev', 'Detc', 'Dfs', 'Dobj', 'Dproc']
Code 2
Output 2
Even for any folder given , I am getting the same error
The text was updated successfully, but these errors were encountered: