Index: /trunk/ippToPsps/jython/batch.py
===================================================================
--- /trunk/ippToPsps/jython/batch.py	(revision 35173)
+++ /trunk/ippToPsps/jython/batch.py	(revision 35174)
@@ -544,4 +544,9 @@
         # for OB, this imports object data from DVO
         if not self.importIppTables():
+            if self.batchType == "OB":
+                self.logger.errorPair("skipping this batch", "no dvo tables for this region")
+                self.ippToPspsDb.updateProcessed(self.batchID, 1)
+                return True
+
             self.logger.errorPair("Aborting this batch", "could not import IPP tables")
             self.ippToPspsDb.updateProcessed(self.batchID, -1)
Index: /trunk/ippToPsps/jython/dvo.py
===================================================================
--- /trunk/ippToPsps/jython/dvo.py	(revision 35173)
+++ /trunk/ippToPsps/jython/dvo.py	(revision 35174)
@@ -263,16 +263,18 @@
 
            # get paths for this region for the file types we are interested in
-           paths = []
-           for fileType in self.ingestFileTypes:
-               paths.append(self.skychunk.dvoLocation + "/" + regionPath + "." + fileType)
+           # XXX ipptopsps cannot check files -- it does not know where they are
+           ## paths = []
+           ## for fileType in self.ingestFileTypes:
+           ##     paths.append(self.skychunk.dvoLocation + "/" + regionPath + "." + fileType)
 
            # check for the existence of all interested file types
-           skipThisRegion = False
-           for path in paths:
-               if not os.path.isfile(path):
-                   skipThisRegion = True
-                   break
-
-           if skipThisRegion: continue
+           # XXX ipptopsps cannot check files -- it does not know where they are
+           ## skipThisRegion = False
+           ## for path in paths:
+           ##     if not os.path.isfile(path):
+           ##         skipThisRegion = True
+           ##         break
+
+           ## if skipThisRegion: continue
 
            # ok, have real, populated files so add this region to the list
@@ -281,10 +283,11 @@
 
            # if we have already imported up-to-date versions of all interested files, then we skip this region
-           alreadyIngested = True
-           for path in paths:
-               if not self.scratchDb.alreadyImportedThisDvoTable(path): 
-                   alreadyIngested = False
-                   break
-    
+           ## alreadyIngested = True
+           ## for path in paths:
+           ##     if not self.scratchDb.alreadyImportedThisDvoTable(path): 
+           ##         alreadyIngested = False
+           ##         break
+
+           alreadyIngested = False
            if alreadyIngested:
                self.regionsAlreadyIngested.append(regionPath)
@@ -299,11 +302,13 @@
 
            # check if we have out-of-date versions of any interested files, if so, add region to the purge list
-           outOfDate = False
-           for path in paths:
-               if self.scratchDb.haveOutOfDateVersionOfThisDvoTable(path):
-                   outOfDate = True
-                   break
-
-           if outOfDate: self.regionsIngestedButOutOfDate.append(regionPath)
+           ## outOfDate = False
+           ## for path in paths:
+           ##     if self.scratchDb.haveOutOfDateVersionOfThisDvoTable(path):
+           ##         outOfDate = True
+           ##         break
+           ## 
+           ## if outOfDate: self.regionsIngestedButOutOfDate.append(regionPath)
+
+           print "using region: ", regionPath
 
            self.regionsToIngest.append(regionPath)
@@ -420,8 +425,11 @@
 
         size = 0.0
+        return size
+
         for region in regions:
              self.logger.infoPair("sizes for region", region)
              # get combined size of all interested files
              for fileType in self.ingestFileTypes:
+                 print "trying ", fileType
                  size = size + self.getDiskSize(self.skychunk.dvoLocation + "/" + region + "." + fileType)
                  # EAM TEST I/O
Index: /trunk/ippToPsps/jython/loader.py
===================================================================
--- /trunk/ippToPsps/jython/loader.py	(revision 35173)
+++ /trunk/ippToPsps/jython/loader.py	(revision 35174)
@@ -198,5 +198,5 @@
                             # impact of mysql insertion
                             if not self.ippToPspsDb.isBoxIngested(boxId):
-                                self.dvoDetections.nativeIngestDetections(boxId, boxDim['RA'], boxDim['DEC'], boxSizeSansBorder)
+                                self.dvoDetections.nativeIngestDetections(boxId, boxDim['RA'], boxDim['DEC'], boxSizeWithBorder)
 
                             useFullTables = 1
Index: /trunk/ippToPsps/jython/objectbatch.py
===================================================================
--- /trunk/ippToPsps/jython/objectbatch.py	(revision 35173)
+++ /trunk/ippToPsps/jython/objectbatch.py	(revision 35174)
@@ -77,4 +77,8 @@
         else:
             self.dvoObjects.ingestRegion(self.region)
+
+        cptTableName = self.scratchDb.getDbFriendlyTableName(self.region + ".cpt")
+        if not self.scratchDb.tableExists(cptTableName):
+            return False
 
         return True
