Skip to content
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

Failed to create file, No such file or directory #5

Open
nmalinoski opened this issue Jun 19, 2024 · 1 comment
Open

Failed to create file, No such file or directory #5

nmalinoski opened this issue Jun 19, 2024 · 1 comment

Comments

@nmalinoski
Copy link

nmalinoski commented Jun 19, 2024

Attempting to run the Docker variant on a Windows 10 host with Docker Desktop 4.31.1. Can't seem to shake this error when attempting to download a selection with the daily and rotating options. Given the timing, it seems like the file is successfully downloaded, but then throws this error when trying to write it to the host.

Downloading rotating video for camera 'Front Door' (file path: X:/Media/Protect Backups/2024-04-01-00-Front Door-rotating.mp4)
thread 'main' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/unifi_protect-0.5.2/src/api/download_footage.rs:64:63:
Failed to create file: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Not sure if it's the Windows-style paths, the fact that the camera name and path have spaces, or what.

@MikeTango
Copy link

I had luck by removing the slash in front of the folder "/Download" to "Download", maybe add a slash or quote marks for the syntax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants