[Zope] mass editing timeout problem

2007-03-22 Thread Allen Huang
I made a python product for a photo album and I have store a lot of pictures.
But the problem arise when I have too many pictures of high resoution that 
taken up too much hdd space so I have written some codes in dtml and python to 
resize and reduces each image size in zodb without download any pictures.

I written my code so it informs me on dos command prompt about what picture it 
is processing and how long it took until starts the next one. The process 
started fast, but it gradually slows down and eventually my web browser (my 
interface to start the process) timeout  but the command prompt is still 
running. I waited until the command prompt finish all the picture and click 
open the picture in zope and no action was done on any pictures that was 
supposely to be resized. 

I try the same process but targeted only one folder (less pictures)and the 
process worked fine and all the picture were resized accordingly and the web 
browser didn't timeout.

How come nothing happened when the browser timeout??


 

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html ___
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] mass editing timeout problem

2007-03-22 Thread Jonathan


- Original Message - 
From: Allen Huang [EMAIL PROTECTED]

To: Zope zope@zope.org
Sent: Thursday, March 22, 2007 5:06 AM
Subject: [Zope] mass editing timeout problem


I made a python product for a photo album and I have store a lot of 
pictures.
But the problem arise when I have too many pictures of high resoution that 
taken up too much hdd space so I have written some codes in dtml and 
python to resize and reduces each image size in zodb without download any 
pictures.


I written my code so it informs me on dos command prompt about what 
picture it is processing and how long it took until starts the next one. 
The process started fast, but it gradually slows down and eventually my 
web browser (my interface to start the process) timeout  but the command 
prompt is still running. I waited until the command prompt finish all the 
picture and click open the picture in zope and no action was done on any 
pictures that was supposely to be resized.


I try the same process but targeted only one folder (less pictures)and the 
process worked fine and all the picture were resized accordingly and the 
web browser didn't timeout.


How come nothing happened when the browser timeout??


Try using a utility like wget.


Jonathan 


___
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 )