Index: trunk/ippToPsps/jython/detectionbatch.py
===================================================================
--- trunk/ippToPsps/jython/detectionbatch.py	(revision 32165)
+++ trunk/ippToPsps/jython/detectionbatch.py	(revision 32166)
@@ -50,4 +50,8 @@
        # get camera meta data
        meta = self.gpc1Db.getCameraStageMeta(self.id)
+       if not meta:
+           self.everythingOK = False
+           return
+
        self.expID = meta[0];
        self.expName = meta[1];
Index: trunk/ippToPsps/jython/ipptopspsdb.py
===================================================================
--- trunk/ippToPsps/jython/ipptopspsdb.py	(revision 32165)
+++ trunk/ippToPsps/jython/ipptopspsdb.py	(revision 32166)
@@ -259,5 +259,4 @@
         self.execute(sql)
 
-
     '''
     Updates batch processed field 
Index: trunk/ippToPsps/jython/stackbatch.py
===================================================================
--- trunk/ippToPsps/jython/stackbatch.py	(revision 32165)
+++ trunk/ippToPsps/jython/stackbatch.py	(revision 32166)
@@ -49,4 +49,8 @@
        # get stack meta data
        meta = self.gpc1Db.getStackStageMeta(self.id)
+       if not meta:
+           self.everythingOK = False
+           return
+
        self.filter = meta[0];
        self.filter = self.filter[0:1]
