-
Notifications
You must be signed in to change notification settings - Fork 80
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
paths from FilePathsBase error in LibSndFile #315
Comments
I think normalizing to a string would break @rofinn's usage---I thought the point of #259 was to make sure the module got the "filename" as passed by the caller---but I'm not sure. If so, it must have been broken long before the FileIO 1.6 mess. I'm also noting that the error messages aren't ideal. Perhaps fixed in #317? |
Yeah, the path shouldn't need to be normalized. I don't see how this is an issue with filepaths specifically :/ AFAICT, you just don't have the dependency installed to load it...? Maybe a more complete example would help? |
This is because LibSndFile load error: neither load nor fileio_load is defined
due to MethodError(LibSndFile.sf_open, (p"[removed].wav", 16, LibSndFile.SF_INFO(0, 0, 0, 0, 0, 0)), 0x00000000000073f0)
Will try next loader.
So it's decided to be a |
The question is whether this is a LibSndFile issue, a FilePathsBase issue, or a FileIO issue.
I'm trying to save WAV files via
FileTrees.jl
, which uses paths fromFilePathsBase
internally. These seem to be forwarded by FileIO toLibSndFile
which doesn't work, because its underlying load/save functions don't recognize this path type. I'm wondering if FileIO should normalize the path toString
before passing it on.Here's the relevant part of the error:
The text was updated successfully, but these errors were encountered: