You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I select a directory inside my Oneplus 8, I'm getting the following panic: thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', /cargo/registry/src/github.com-1ecc6299db9ec823/wfd-0.1.4/src/lib.rs:281:29
I think it is probably related to the fact that the phone is using some special protocol to provide access to its internal files. I forgot the name. It also shows up as a different icon in explorer. Let me know if you need more information.
0.1.6 has been released to fix this panic, selecting such a file or folder will now return an UnsupportedFilepath error. MTP / WPD (Windows Portable Devices) files and folders don't have real file paths, they have a "path" that looks like this:
It is possible to write code to consume these WPD paths but unless someone else wants to investigate/implement correct handling of these an error is better than a panic for now.
When I select a directory inside my Oneplus 8, I'm getting the following panic:
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', /cargo/registry/src/github.com-1ecc6299db9ec823/wfd-0.1.4/src/lib.rs:281:29
I think it is probably related to the fact that the phone is using some special protocol to provide access to its internal files. I forgot the name. It also shows up as a different icon in explorer. Let me know if you need more information.
Edit: it's MTP
The text was updated successfully, but these errors were encountered: