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

Canno't screenshot or load file on ubuntu22.04/flatpack #71

Open
Onion2222 opened this issue Sep 1, 2022 · 3 comments
Open

Canno't screenshot or load file on ubuntu22.04/flatpack #71

Onion2222 opened this issue Sep 1, 2022 · 3 comments

Comments

@Onion2222
Copy link

Onion2222 commented Sep 1, 2022

First of all, thank you for your amazing app.

I'm currently having problems using your app on ubuntu 22.04.1 through flatpack.

When I take a screenshot the window blink and i get this error:

Cache downloaded codes: ['eng']
on_shot_error? 

And it doesn't take a screenshot.

And when I load a file in my home folder I get this:
Capture d’écran du 2022-09-02 02-05-26

Decoding with eng language.
Traceback (most recent call last):
  File "/app/lib/python3.9/site-packages/frog/window.py", line 242, in on_open_image
    dialog.close()
AttributeError: 'FileChooserNative' object has no attribute 'close'
on_shot_error? No text found.
on_screenshot_error? Could not access your file!

And it doesn't load the file.

I didn't touch any flatpack permissions because I have absolutely no idea on how flatpack works.

Thanks a lot for your help !

@Onion2222
Copy link
Author

The screenshot finally manage to work after a reboot.
However, I still can't open a file.
Thanks a lot for the help.

@amka
Copy link
Contributor

amka commented Sep 2, 2022

I'll check it anyway. Seems like Ubuntu doesn't allow app to access outside flatpak sandbox, but I need some time to investigate.

@BarbzYHOOL
Copy link

@amka me too

i guess it's the same issue with all flatpaks having access to only one or two directory which is irritating for me

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

3 participants