IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 29, 2014, 9:52:00 AM (12 years ago)
Author:
eugene
Message:

scatter some debugging prints around; replace safeDictionaryAccess (terrible name) with getKeyValue; fix use of strings vs sql words in insert queries; fix detections for new schema; remove use of old dvograbber-based code; clean some avoidable errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140717/ippToPsps/jython/queue.py

    r37129 r37133  
    6363    '''
    6464    def run(self):
    65         print "here"
     65        self.logger.info("------------- starting queue.run -----------------")
    6666        # this outer while loop simply waits a few minutes then starts queuing again (as more stuff may appear in DVO over time)
    6767        while True:
    6868
    6969            self.ippToPspsDb.removeAllBoxes()
    70             print "remove boxes"
     70
    7171            # queue up batches that are processed but not loaded to datastore
    7272            for batchType in self.skychunk.batchTypes:
     
    7777                # get totals for whole area to check if there is anything to do
    7878                processedIDs = self.ippToPspsDb.getProcessedIDs(batchType)
    79                 print "got processed ids"
    8079                consistantlyFailedIDs = self.ippToPspsDb.getConsistentlyFailedIDs(batchType)
    81                 print "got here"
     80
    8281                # for object batches, get full list of stuff from Dvo
    8382                # XXX : need to fix 'dvo.setSkyArea' or this may not return the full list for a parallel dvo
    84             #for object-like batches, info comes from dvo
     83
     84                # for object-like batches, info comes from dvo
    8585                if (batchType == "OB" or batchType =="DO" or batchType =="FO"):
    8686                    self.dvoObjects.setSkyArea(
Note: See TracChangeset for help on using the changeset viewer.