-
-
Notifications
You must be signed in to change notification settings - Fork 21
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] Screenshots not working #43
Labels
Comments
Oh you're right! Can you confirm it works when you just change that line: Line 604 in d4adb06
to filepath = f"{os.path.join(temp, filename)}_screenshot-{mon}.png" ? |
Running with sudo pombo check :
|
My bad, it I forgot to escape: filepath = f"{os.path.join(temp, filename)}_screenshot-{{mon}}.png" |
It works! ;) |
I'll need to fix the code directly. |
I opened a PR |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I checked if pombo was running correctly, it's almost working except the screenshot part.
After looking through the code I might figured out the problem :
In the screenshot function of the final binary the "%d" seems not to be replaced by anything and then the % symbol pose problem for zipping (hence not zipped)
I replaced the code by the code below which seems to work after reading the mss documentation at https://python-mss.readthedocs.io/api.html?highlight=save#mss.base.MSSBase.save
(There is probably a way to make the code cleaner, I'm not really good in python)
Details :
Pombo 1.1b1
I am using Python 3.10.6
& MSS 7.0.1
& IPy 1.01
& request 2.25.1
On Ubuntu 22.04.2 LTS
I can give more informations if needed
The text was updated successfully, but these errors were encountered: