Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #101309
| From | John Gordon <gordon@panix.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: imshow keeps crashhing |
| Date | 2016-01-06 22:42 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <n6k58h$2s7$1@reader1.panix.com> (permalink) |
| References | <a7993a64-837e-4062-a856-d40acc35f208@googlegroups.com> <n5c7og$18a$1@reader1.panix.com> <eefe98a3-9e49-468f-b57f-cf4ad6bb981d@googlegroups.com> |
In <eefe98a3-9e49-468f-b57f-cf4ad6bb981d@googlegroups.com> darren.mcaffee@gmail.com writes:
> Hi John,
> I am on a mac and have set the following:
> SCIPY_PIL_IMAGE_VIEWER=/Applications/Preview.app/Contents/MacOS/Preview
> And when using imshow(), sure enough Preview attempts to open the fie,
> but it throws the following error: The file "tmp1zuvo7wn.png" couldn't be
> opened because you don't have permission to view it.
> I can open the temporary file manually no problem. And I have played
> around with chmod 0644 <filename>, but nothing seems to work.
> I have a feeling this is El Capitan specific. Do you have any
> suggestions?
I don't really know much about Macs...
Can you run Preview and open the temporary file successfully?
When launched from scipy, Does Preview run as a user other than yourself?
What are the permissions on the temporary file when it's originally
created?
--
John Gordon A is for Amy, who fell down the stairs
gordon@panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
imshow keeps crashhing norouzey@gmail.com - 2015-12-22 11:06 -0800
Re: imshow keeps crashhing John Gordon <gordon@panix.com> - 2015-12-22 19:19 +0000
Re: imshow keeps crashhing darren.mcaffee@gmail.com - 2016-01-06 14:20 -0800
Re: imshow keeps crashhing John Gordon <gordon@panix.com> - 2016-01-06 22:42 +0000
Re: imshow keeps crashhing darren.mcaffee@gmail.com - 2016-01-06 15:10 -0800
Re: imshow keeps crashhing John Gordon <gordon@panix.com> - 2016-01-06 23:26 +0000
Re: imshow keeps crashhing Random832 <random832@fastmail.com> - 2016-01-07 11:45 -0500
Re: imshow keeps crashhing William Ray Wing <wrw@mac.com> - 2016-01-06 18:37 -0500
Re: imshow keeps crashhing darren.mcaffee@gmail.com - 2016-01-06 15:52 -0800
Re: imshow keeps crashhing darren.mcaffee@gmail.com - 2016-01-06 17:13 -0800
Re: imshow keeps crashhing darren.mcaffee@gmail.com - 2016-01-07 08:23 -0800
Re: imshow keeps crashhing Random832 <random832@fastmail.com> - 2016-01-07 11:49 -0500
csiph-web