Re: [Zope] Problem with Photo Folder

2005-09-13 Thread David
On 12 Sep 2005, at 18:45, Peter Bengtsson wrote:Just checking... sure you've got sufficient hardrive space? Yes, unless 3 Gigs (on a SCSI RAID) is not enough for these kind of things.Cheers___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Problem with Photo Folder

2005-09-13 Thread Peter Bengtsson
Then I don't know. Try the comp.lang.python group


On 9/13/05, David [EMAIL PROTECTED] wrote:
 
 
 On 12 Sep 2005, at 18:45, Peter Bengtsson wrote:
 
 
 Just checking... sure you've got sufficient hardrive space? 
 Yes, unless 3 Gigs (on a SCSI RAID) is not enough for these kind of things.
 
 Cheers 


-- 
Peter Bengtsson, 
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Problem with Photo Folder

2005-09-13 Thread Bakhtiar A Hamid
On 9/13/05, David [EMAIL PROTECTED] wrote:
On 12 Sep 2005, at 18:45, Peter Bengtsson wrote:
Just checking... sure you've got sufficient hardrive space? Yes, unless 3 Gigs (on a SCSI RAID) is not enough for these kind of things.
check /tmp, /var/tmp. is there enogh space there? the
traceback points to insufficient space. probably partition is
full?
Cheers
___Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope**  No cross posts or HTML encoding! **(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announcehttp://mail.zope.org/mailman/listinfo/zope-dev
 )-- http://myzope.kedai.com.my - my-zope org
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Problem with Photo Folder

2005-09-13 Thread Ron Bickers
On Mon September 12 2005 12:52 pm, David wrote:

 We are using the ZODB for storage and ImageMagick as the engine.

 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

ImageMagick is running out of disk space when trying to generate a display.  
Check the file systems of /tmp, /var/tmp, or wherever ImageMagick is using 
for temp space.

-- 
Ron
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Problem with Photo Folder

2005-09-12 Thread David

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
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Problem with Photo Folder

2005-09-12 Thread Peter Bengtsson
Just checking... sure you've got sufficient hardrive space?
% df

On 9/12/05, David [EMAIL PROTECTED] wrote:
 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
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )
 


-- 
Peter Bengtsson, 
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )