snap and saving to another folder

The place to discuss linux version of MakeMKV
Post Reply
dennis__
Posts: 8
Joined: Sun Mar 03, 2024 2:22 am

snap and saving to another folder

Post by dennis__ » Sun Mar 03, 2024 2:39 am

I installed Makemkv 1.17.6 onto ubuntu 20.04.6 via snap. My OS and ~ are on a tiny drive. I changed my "Defalut destination" to "SemiAuto" and then entered a different disk as the path.

When I rip a blue ray I get this error
Directory /media/dennis/2_TB_DISK/Movies/The Hunger Games- The Ballad Of Songbirds And Snakes is invalid
Is this because I am using snaps? If so, is there a work around?

Woodstock
Posts: 10253
Joined: Sun Jul 24, 2011 11:21 pm

Re: snap and saving to another folder

Post by Woodstock » Sun Mar 03, 2024 3:33 am

Sometimes, names that contain spaces don't QUITE work out. One test is to copy the whole file name, and try creating it manually. Can it be "opened"?

Spaces are a big "gotcha". Also, file names that don't match up with what is actually there can be a problem.

dennis__
Posts: 8
Joined: Sun Mar 03, 2024 2:22 am

Re: snap and saving to another folder

Post by dennis__ » Sun Mar 03, 2024 3:45 am

For me, this was an issue with snap. I have avoided them in the past and so ran into this beginners problem.
sudo snap connect makemkv:removable-media
sudo snap disconnect makemkv:removable-media
I plan on using automatic ripping machine or something like it eventually but these work for now.

dennis__
Posts: 8
Joined: Sun Mar 03, 2024 2:22 am

Re: snap and saving to another folder

Post by dennis__ » Sun Mar 03, 2024 3:54 am

Thanks for your response. I should have been more clear. The error prevented Makemkv from even creating a folder let alone starting the ripping process. It just bombed immediately.

Woodstock
Posts: 10253
Joined: Sun Jul 24, 2011 11:21 pm

Re: snap and saving to another folder

Post by Woodstock » Sun Mar 03, 2024 3:29 pm

That's possibly because of the snap; I cannot say, but I have heard that they limit abilities to protect users from malicious files. It MAY be that "create a directory on a remote drive" is one of those protections.

If you've created the directory, does it allow you to write to it?

flojo
Posts: 74
Joined: Thu Jun 22, 2023 4:27 am
Location: El Paso

Re: snap and saving to another folder

Post by flojo » Sun Mar 03, 2024 6:12 pm

That's a bad error message! Post the whole log, maybe it can be demystified. This could be a permission issue, a whitespace issue or a Makemkv issue (the error message certainly is).

Why do you have this stuff in "/media/dennis" and not "/home/dennis"? What is $HOME set to?

dcoke22
Posts: 2997
Joined: Wed Jul 22, 2020 11:25 pm

Re: snap and saving to another folder

Post by dcoke22 » Sun Mar 03, 2024 7:09 pm

flojo wrote:
Sun Mar 03, 2024 6:12 pm
Why do you have this stuff in "/media/dennis" and not "/home/dennis"? What is $HOME set to?
I'd guess /media is where external drives are mounted.

flojo
Posts: 74
Joined: Thu Jun 22, 2023 4:27 am
Location: El Paso

Re: snap and saving to another folder

Post by flojo » Sun Mar 03, 2024 11:09 pm

dcoke22 wrote:
Sun Mar 03, 2024 7:09 pm
I'd guess /media is where external drives are mounted.
You are correct, sorry, I forgot that's a default for auto mounting (I put them in home).

Post Reply