-
Notifications
You must be signed in to change notification settings - Fork 53
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
Screenshot fails with error message Error: exitCode=256 #122
Comments
are you using Firejail? https://github.com/OttoAllmendinger/gnome-shell-screenshot#firejail-error-exitcode256 |
No, I'm not. I don't have anything like that installed. |
could you run this command in your terminal?
|
The file in the command no longer exists on my system, so I tried taking a new screenshot and ran the command for that file. The command I ran was:
and the output was
Regards, |
Thanks. I'll try to reproduce the error in a VM. |
If you need any more information to reproduce it, let me know. Thanks for the work on this extension, and for looking in to this. |
Ok I got around to installing a Ubuntu 20.04 VM but could not reproduce the issue (most reports for Ubuntu 20.04 seem to indicate that it works) Are there any issues with the regular I guess if the file gets written we could just ignore the result of the |
Apparently sometimes `ok=false` for unclear reasons Issue: #122
I created a branch with a potential fix https://github.com/OttoAllmendinger/gnome-shell-screenshot/tree/122.ignore-dbus-ok please try the fix like this
|
Thanks for the fix. I built the branch and installed it, but I still had the same problem. You mentioned that you were unable to replicate the issue, so I looked at the other extensions I had installed. I was eventually able to get your extension working after I disabled this shell extension: https://extensions.gnome.org/extension/1474/no-flash-for-clipboard-screenshots/ I was able to get both your fix and the master branch working. I'm not sure why the other extension causes problems, but your extension is far more useful than the other one. Sorry for creating extra work for you. Do you have a donation link? I like to support Open Source developers when I can, and I'd like to show my appreciation for all the work you've put into this extension. Regards. |
no worries, I updated https://github.com/OttoAllmendinger/gnome-shell-screenshot#error-exitcode256 if you have any bitcoin, feel free to send a tip to 3NkWgrxHmQKiNMo94zs4vDQzwwpJ4FtwRN :) |
Trying to take an area screenshot. Notification displayed with Error: exitCode=256. The screenshot is taken and the image can be found in /tmp, but the notification is failing.
OS: Ubuntu 20.04 Focal Fossa
Gnome Shell Version: 3.36.1
Error Messages:
The text was updated successfully, but these errors were encountered: