red_oxide icon indicating copy to clipboard operation
red_oxide copied to clipboard

Error: No such file or directory (os error 2)

Open Visne opened this issue 2 years ago • 7 comments

This often happens after "Transcoding..." is printed. I'm not sure why it happens.

Visne avatar Jul 30 '23 20:07 Visne

I'm pretty sure it happens when the torrent has a forward slash in the name, because then it is interpreted as a directory in a directory.

Visne avatar Jul 30 '23 20:07 Visne

I'm pretty sure it happens when the torrent has a forward slash in the name, because then it is interpreted as a directory in a directory.

That could be, i didn't try out what happened to paths when i have a slash in the name, i'll investigate this

DevYukine avatar Aug 04 '23 11:08 DevYukine

great

DC-Melo avatar Apr 17 '24 06:04 DC-Melo

+1

noeRls avatar Jun 08 '24 13:06 noeRls

I opened a PR that fix this issue.

If you want a fix right now, you just need to make sure that your transcode directory exist.

noeRls avatar Jun 08 '24 16:06 noeRls

No matter what I do I encounter this error on both the latest version of Mac OS and Arch. I've tried multiple torrents with no special characters in the artist or album name.

[❌] Skipping due to encountered error: No such file or directory (os error 2)
{
	"api_key": "",
	"torrent_directory": "/home/punowo/Oxide/torrent",
	"content_directory": "/home/punowo/Oxide/content",
	"transcode_directory": "/home/punowo/Oxide/transcode",
	"spectrogram_directory": "/home/punowo/Oxide/spectrogram",
	"move_transcode_to_content": false,
	"automatic_upload": false,
	"skip_hash_check": false,
	"skip_spectrogram": false,
	"allowed_transcode_formats": ["Mp3320", "Mp3V0"],
	"concurrency": 16
}

On Mac, the full paths started with /Users/..I also tried "~". I know zero rust but please panic accordingly with a stacktrace instead of just this error. The folders specified, have already been created.

punowo avatar Dec 09 '24 17:12 punowo

I do believe some people are encountering this for other reasons. As someone who's never used BetterRed I looked a little at the dependencies and it seems there's nothing really there that's actually used to download the torrents so when I pass a PL to red_oxide that torrent should already be downloaded somewhere right ? Or maybe I'm the only one encountering it.

EDIT: Yeah it was just me because I didn't understand how to properly use the tool. The content directory needs the source of the transcode to be already there when red_oxide is ran.

punowo avatar Dec 10 '24 13:12 punowo