Closed willmcgugan closed 8 years ago
I have no such problem on Ubuntu 15.10.
You can try these tests:
$ python -m pyscreenshot.check.versions
pyscreenshot 0.4
wx 3.0.2.0
pygtk 2.28.6
pyqt not implemented
scrot 0.8
imagemagick 6.8.9
$ python -m pyscreenshot.check.showall
grabbing by wx
grabbing by pygtk
grabbing by pyqt
grabbing by scrot
grabbing by imagemagick
[<PIL.Image._ImageCrop image mode=RGB size=300x200 at 0x7F07FB4A6B50>, <PIL.PngImagePlugin.PngImageFile image mode=RGB size=300x200 at 0x7F07EC074990>, <PIL.Image._ImageCrop image mode=RGB size=300x200 at 0x7F07DC495BD0>, <PIL.Image._ImageCrop image mode=RGB size=300x200 at 0x7F07DC495C90>, <PIL.PngImagePlugin.PngImageFile image mode=RGB size=300x200 at 0x7F07DC495CD0>]
I think my installation of wx
was broken. After uninstalling and re-installing wx, it worked.
There seems to be an issue with the wx back end on Ubuntu. I get the following traceback: