[Zope] Photo & Photofolder: broken pipe (err32)

Jim Whiteside jim at jaydublu.com
Mon Sep 29 14:38:57 EDT 2003


So I change the line in Photo.py to read:
	imgout, imgin = popen2('/usr/local/bin/convert -quality %s
-geometry %sx%s --'

Restart Zope, and it works!

OK, so where is Zope's path set so I can configure it is a less bodged
fashion?

Many thanks,

Jim Whiteside


-----Original Message-----
From: Ron Bickers
[mailto:rbickers-expires-1065459587.016691 at logicetc.com] 
Sent: 29 September 2003 18:01
To: Jim Whiteside
Cc: zope at zope.org
Subject: Re: [Zope] Photo & Photofolder: broken pipe (err32)

On 09/28/2003 1:33 PM, Jim Whiteside wrote:

> 	Zope Error
> 	Zope has encountered an error while publishing this resource.
> 	Error Type: IOError
> 	Error Value: [Errno 32] Broken pipe

Sounds like Photo can't find the 'convert' command in the path, or the
'convert' first in the path is not from ImageMagick.  If this is the
case,
you can hack Photo.py _resize() to specify the path to 'convert', or
just
make sure it's first in the path.

-- 
Ron Bickers
Logic Etc, Inc.






More information about the Zope mailing list