I am trying to get Image.show() to work, but seem to struggle with it. Thus far
I have been using PIL on Windows, and it has worked fine and all - But I
recently installed it on a Linux-machine, where .show() does not seem to work.
(All other features apart from screengrab seems to work well).
When I run the following as a normal user (id est, not root),
Image.new("RGBA", (100, 100), (0, 255, 0, 0)).show()
it results in these error messages in popupboxes:
Failed to open "/tmp/tmpsVfqf4".
Error stating file '/tmp/tmpsVfqf4':
No such file or directory.
(abouts two times)
Then
Failed to execute default File Manager.
Input/output error.
The interpreter has the following printout
>>> Image.new("RGBA", (100, 100), (0, 255, 0, 0)).show()
>>> Thunar: Failed to open "/tmp/tmpFs5EZr": Error stating file
>>> '/tmp/tmpFs5EZr': No such file or directory
Running the same as root, nothing (visible) seems to happen, either via popups
or in the interpreter, but no image shows up either.
At first I did not have xv installed (it tried to open the image in gimp, but
that did not work as it resulted in the errors above when gimp opened) - So I
installed xv, and it still tried to open gimp - So I removed gimp, and that is
more or less how I ended up where I am now.
I guess show() is not that important to me as I could just save the image and
open it manually, but it would be helpful to have show() at times.
_______________________________________________
Image-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/image-sig