-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Debian 10, not able to open any mediafile, with error 'the media you tried to open does not exist'. #937
Comments
Hi. Does it work with the non-snap version from github? Does it work with other versions? can you see if the ffmpeg path in the error message actually exists and try to run it from the command line? |
Same issue here. installed 3.42.0 via Ubuntu 21.10 flathub. All files in home directory are not seen in open dialog or error message 'the media you tried to open does not exist' when drag/drop. If i move the file to i.e. ~/Downloads, it works perfectly. |
Is this an issue only with snap/flathub or the same issue with version downloaded here from github? |
Neither the LosslessCut-linux.AppImage file on github nor Snap/Flathub
store release can work for me.
Right now I can only use the LosslessCut application from the shell via
this link's bz2 file.
#918 (comment)
After unpack it into a location and make a **chrome-sandbox** sub-folder,
then launch it via the shell, it can work.
![image](https://user-images.githubusercontent.com/9960618/154426875-ecfc8c76-9d33-4f57-99ed-5bb5f2205c24.png)
…On Mon, Feb 14, 2022 at 12:05 AM Mikael Finstad ***@***.***> wrote:
Is this an issue only with snap/flathub or the same issue with version
downloaded here from github?
|
This error message (
also here if you could check if the file /snap/losslesscut/93/resources/ffmpeg exists?
Same error for Image? ( |
The flathub flatpak package only sandboxes this app to the "Public", "Download" and "Videos" folders by default. I was encountering the same error, but by using flat seal I was able to edit this app's permissions on my system, to add more folders (such as /tmp, or the area where my SD cards get mounted, etc.) to the allowed folders it can access. That being said, I think the app should detect such situations and show more accurate and helpful error messages. "The file does not exist" is not entirely accurate from the user's point of view, it can rather be assumed that "Lossless Cut does not have permissions to access that file due to sandboxing" or something. It could try to inform the user of which directories the app has access to (if it can actually know that) or that tools like "flat seal" exist. |
TBH I don't know how to differentiate between the case where the app is sandboxed and cannot access a file vs a file is not accessible because of lacking permissions, because afaik they will give the same error code from the operating system. However I agree that "the file does not exist" is not a very good error and should be improved. |
have now improved the error so it should say that it doesn't have permission to open the file. |
In order to make it easier for me to help you, I ask that you please try these things first:
Share information to help me understand
Describe the bug
A clear and concise description of what the bug is.
losslesscut cant find any media files in my home folder and its sub-folders.
![image](https://user-images.githubusercontent.com/9960618/143536050-1964eabd-87fe-4399-9ab7-9fe5fca72223.png)
when I tryied to drag one mediafile (.mp4) into losslesscut, it says error as follows.
I installed losslesscut via snap store.
{
"state": {
"filePath": "",
"externalStreamFiles": [],
"mainStreams": [],
"copyStreamIdsByFile": {},
"cutSegments": [
{}
],
"rotation": 360,
"shortestFlag": false
},
"platform": "linux",
"version": "3.40.0"
}
The text was updated successfully, but these errors were encountered: