Index: trunk/ippTasks/stack.pro
===================================================================
--- trunk/ippTasks/stack.pro	(revision 14042)
+++ trunk/ippTasks/stack.pro	(revision 14153)
@@ -90,5 +90,5 @@
   task.exit    0
     # convert 'stdout' to book format
-    ipptool2book stdout stackSumSkyfile -key stack_id -uniq -setword dbname $options:0
+    ipptool2book stdout stackSumSkyfile -key stack_id -uniq -setword dbname $options:0 -setword pantaskState INIT
     if ($VERBOSE > 2)
       book listbook stackSumSkyfile
@@ -122,6 +122,6 @@
     if ($network == 0) break
     
-    # look for new images in stackSumSkyfile (pantaskState == NULL)
-    book getpage stackSumSkyfile 0 -var pageName -key pantaskState NULL
+    # look for new images in stackSumSkyfile (pantaskState == INIT)
+    book getpage stackSumSkyfile 0 -var pageName -key pantaskState INIT
     if ($pageName == NULL) break
 
