RE: [Zope] Photo problems
Found the problem - my zope user did not have write permissions to the zope directory - /usr/local/zope in my case. After switching the owner to the user running zope, Photo now works like a champ. -Scott -----Original Message----- From: Meilicke, Scott Sent: Tuesday, January 22, 2002 8:47 AM To: 'Ron Bickers'; Meilicke, Scott; zope@zope.org Subject: RE: [Zope] Photo problems OK, thanks, I'll poke around. On my windows box, zope runs under an elevated account, although I'm not sure how elevated. Certainly it has 'logon as a service' permission. For what it's worth, I have used Photo successfully in the past, I just need to figure out what I did. It's either the upgrade from 2.4.1 to 2.4.3 or the new kernel. Or the last 10 apt-get upgrades I did. Or... Ron, thanks for the wonderful product. Scott -----Original Message----- From: Ron Bickers [mailto:rbickers-dated-1012322586.e1165d@logicetc.com] Sent: Tuesday, January 22, 2002 8:43 AM To: Meilicke, Scott; zope@zope.org Subject: RE: [Zope] Photo problems
-----Original Message----- From: Meilicke, Scott [mailto:scott.meilicke@intp.com]
That was my thought too, but I couldn't figure out where convert was trying to write it's files. Where does convert write it's temporary files under linux (debian)? I'm running under 'nobody', which has permissions to read/write to the zope var directory.
Good question. I don't know. It looks like the answer is: "In the current directory", but I don't know where that would be when running Zope. I looked for a few seconds to see if convert would use a TEMP environment variable or something, but didn't find anything. You could try running some tests with convert outside of Zope. Not sure what else to try other than digging through IM docs and source.
convert: Unable to open file (./magichSZblQ) [No such file or directory]. convert: Missing an image file name.
Tim Wilson reported an IOError problem, but running on Windows, so there was no console info. As far as I know, his problem hasn't been resolved yet. I wonder if the problem is the same. Anyone know if Zope runs as a non-privileged user under Windows? _______________________ Ron Bickers Logic Etc, Inc. The information contained in this email message may be privileged and is confidential information intended only for the use of the recipient or any employee or agent responsible for delivering it to the intended recipient. Any unauthorized use, distribution or copying of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify the sender immediately and destroy the original message and all attachments from your electronic files.
On Wed, 23 Jan 2002, Meilicke, Scott wrote:
Found the problem - my zope user did not have write permissions to the zope directory - /usr/local/zope in my case. After switching the owner to the user running zope, Photo now works like a champ.
Ding Ding Ding! That was my problem too (/var/zope in my case). I guess I never noticed that in my debugging efforts. Ron, you might want to add something to the Photo README about this. Thanks Scott! -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.org | http://www.zope.com W. St. Paul, MN | | http://slashdot.org wilson@visi.com | <dtml-var pithy_quote> | http://linux.com
Interesting. I've never had that problem, but I'm running an INSTANCE_HOME configuration where Zope is not installed in the same place the site files are. It seems like ImageMagick should be picking a better place for its temporary files. I'll look into that. I'm glad the problem has been fixed. _______________________ Ron Bickers Logic Etc, Inc.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Tim Wilson Sent: Wednesday, January 23, 2002 11:16 AM To: Meilicke, Scott Cc: Zope listserv Subject: RE: [Zope] Photo problems
On Wed, 23 Jan 2002, Meilicke, Scott wrote:
Found the problem - my zope user did not have write permissions to the zope directory - /usr/local/zope in my case. After switching the owner to the user running zope, Photo now works like a champ.
Ding Ding Ding! That was my problem too (/var/zope in my case). I guess I never noticed that in my debugging efforts. Ron, you might want to add something to the Photo README about this. Thanks Scott!
On Wed, 23 Jan 2002, Ron Bickers wrote:
Interesting. I've never had that problem, but I'm running an INSTANCE_HOME configuration where Zope is not installed in the same place the site files are. It seems like ImageMagick should be picking a better place for its temporary files. I'll look into that.
I'm using INSTANCE_HOME as well so that isn't the problem. -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.org | http://www.zope.com W. St. Paul, MN | | http://slashdot.org wilson@visi.com | <dtml-var pithy_quote> | http://linux.com
-----Original Message----- From: Tim Wilson [mailto:wilson@visi.com]
Interesting. I've never had that problem, but I'm running an INSTANCE_HOME configuration where Zope is not installed in the same place the site files are. It seems like ImageMagick should be picking a better place for its temporary files. I'll look into that.
I'm using INSTANCE_HOME as well so that isn't the problem.
Well, then. Hmmm... My Zope installation is *not* writable by the user running Zope, yet I don't have problems using ImageMagick. Sigh. I'll just be glad that it's working for you now and I'll check into it more when I get the chance. _______________________ Ron Bickers Logic Etc, Inc.
participants (4)
-
Meilicke, Scott -
Ron Bickers -
Ron Bickers -
Tim Wilson