-
Notifications
You must be signed in to change notification settings - Fork 152
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
--display capture giving an error #152
Comments
The luma.emulator package provides the capture driver. |
Ahhh! Thanks @rm-hull - I must have twigged that eventually last time I did it then forgot this time! Will submit a PR re the docs. I installed the emulator which seemed to go OK:
But then when I tried to run it I was still getting a complaint about pygame not being installed?
So I re-ran pygame install separately (although it looks like it was correctly installed before and this just downloaded 2.1.1 in addition to 2.1.2 for some reason??)...
but I still get the same error of the Emulator requiring pygame to be installed? PS the dynamically generated list from
|
From a documentation perspective, fixes rm-hull#152
are you able to import pygame using that interpreter? |
Ahh, interesting @thijstriemstra it does indeed throw an error!...
I tried running Any thoughts how to resolve? 😬 |
Did you see the prerequisites here https://luma-emulator.readthedocs.io/en/latest/install.html#system-packages ? |
Yes - as far as I could see they were all met? It said 'Requirements already satisfied' for them all? #152 (comment) |
OK so I uninstalled pygame and luma.emulator and reinstalled them again, this time I got a different error...
After a bit more Googling I came across this from last year - pygame/pygame#2503 I did (I'm using Raspberry Pi OS bullseye in case that makes any difference) Anyway, thanks to your both for your help (not to mention creating this excellent library in the first place!) - I've now got PNGs generating so can enhance my user guide! |
quite probably |
to deal with `pygame.error: File is not a Windows BMP file` referenced in rm-hull/luma.examples#152
OK have done a PR for that - thanks again @rm-hull and @thijstriemstra - greatly appreciate the rapid help! 👍🥳 |
From a documentation perspective, fixes #152
I've downloaded the latest version of the examples from this repository, they run fine on my ssd1306 screen
However when I try to output to PNG files using the capture option (
~/examples $ ./demo.py --display capture
) I get the following error:I note that help shows the following:
whereas the README.md for here shows quite a different list:
luma.core version info as follows:
luma.oled version info as follows:
The bit that's esp frustrating is I managed to get it to work a month or so ago on a different unit and I can't work out why it's not wanting to work here! Thanks in advance for any help/advice!
The text was updated successfully, but these errors were encountered: