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

Ubuntu 2X.X: Chromium installed through Snap does not have access to /tmp/ #137

Open
Naeddyr opened this issue Dec 30, 2023 · 1 comment

Comments

@Naeddyr
Copy link

Naeddyr commented Dec 30, 2023

Not really an issue with this project, but thought you'd might want to know.

Currently, access to any partition besides /home/ has been disabled on Chromium on Ubuntu. There is only the snap package (the debs have been removed some time ago), so there doesn't seem to be any obvious workaround for this.

Annoyingly, when Chromium fails to load the temp-file of a file copied to /tmp/html2image/ it just renders a completely blank transparent screenshot without an error-message.

@gabryelreyes
Copy link

Just reproduced this issue unknowingly. It is really annoying that the transparent picture gets rendered silently. My workaround was to set temp_path='.' so it uses my project's folder for temporary files.

Thanks for pointing me in the right direction

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