[Zope] Problem with Photo Folder

David davidr at talamh.org.uk
Mon Sep 12 12:52:28 EDT 2005


Hi

Zope 2.7.5 / Photo & Photo Folder product version 1.2.3 / Python  
2.3.5 / Solaris 8 Intel

We experience problems generating "displays" with the default  
settings on files larger then 650K. Uploading images works fine and  
the thumbnail is created. We had the setting of creating displays on  
uploads initially off, assuming these would be created on demand.  
Changing the default did not help and created the same error. (see  
example traceback below from the initial error)

We are using the ZODB for storage and ImageMagick as the engine. We  
had problems compiling PIL on Solaris 8 and installed ImageMagick  
using the Sun-Blast packages (pkg-get).

We monitored the machine playing with smaller and larger images, but  
could not see any noticeable increase in CPU or memory usage. Where  
is here the bottleneck and how can we change it?

Any help welcome! (Googling "popen2" did not help either.)

Cheers

DR

traceback:

Exception Type: OSError
Exception Value: [Errno 12] Not enough space
Traceback (innermost last):

Module ZPublisher.Publish, line 101, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 39, in call_object
Module OFS.DTMLMethod, line 144, in __call__
<DTMLMethod instance at 9413ad0>
URL: http://www.bordersgrid.org.uk/site/staff/photo/album/view/ 
manage_main
Physical Path:/site/staff/photo/album/view
Module DocumentTemplate.DT_String, line 474, in __call__
Module DocumentTemplate.DT_Util, line 198, in eval
__traceback_info__: REQUEST
Module <string>, line 1, in <expression>
Module Products.Photo.Photo, line 150, in tag
Module Products.Photo.Photo, line 400, in _makeDisplayPhoto
Module Products.Photo.Photo, line 391, in _getDisplayPhoto
Module Products.Photo.Photo, line 382, in _getDisplayData
Module Products.Photo.Photo, line 363, in _resize
Module popen2, line 147, in popen2
Module popen2, line 42, in __init__
OSError: [Errno 12] Not enough space


More information about the Zope mailing list