Index: /trunk/ippToPsps/jython/batch.py
===================================================================
--- /trunk/ippToPsps/jython/batch.py	(revision 31933)
+++ /trunk/ippToPsps/jython/batch.py	(revision 31934)
@@ -332,5 +332,4 @@
               self.logger.exception("Problem writing table '" + table.name + "' to the database")
 
-
       self.logger.infoPair("Done. Imported", "%d tables" % count)
       self.indexIppTables()
@@ -408,4 +407,8 @@
     def getIDsFromDVO(self):
 
+        if self.scratchDb.getRowCount("dvoMeta") < 1:
+            self.logger.error("No DVO IDs found in dvoMeta")
+            return False
+
         # TODO path to DVO prog hardcoded temporarily
         cmd = "../src/dvograbber " + self.dvoLocation
@@ -434,5 +437,7 @@
     def run(self):
 
-        if not self.everythingOK: return
+        if not self.everythingOK:
+            self.logger.error("Aborting this batch due to (hopefully) previously reported errors")
+            return
 
         self.createEmptyPspsTables()
