File path format incompatible with Mac OS #139
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
got following error when running script
2_extract_images_from_video_data_src.shseems the python file is referencing file path with
\format, which is window, not Mac OSany workaround? thanks
Actually, that might be a bit tricky. It could be referencing a path with spaces in it.
For instance, if you have Microsoft Edge installed on the Mac, and want to reference it from the shell, one possible way to do that is
instead of the perhaps more common:
But maybe that part of the code is unfamiliar with path conventions and does not recognise
\(backslash space) as a valid escape sequence (at least, for mostbashvariants under macOS, Unix, Linux, FreeBSD, and anything non-Windows but Unix-lite that I have come across in my life 😸)A workaround will mostly depend on what path you're feeding to
2_extract_images_from_video_data_src.sh. If you can replace that path enclosing it within quotation marks as opposed to using backslash-space, as shown above, you might be fine.