IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 16, 2013, 6:27:02 AM (13 years ago)
Author:
eugene
Message:

add error handling for dvopsps skytable; add config entry for memory usage for memory db tables; add / fix version parsing; error handling for xmllint; error handline for dvograbber (unused); set max_heap_table_size before creating memory tables; add error handling for dvopsps objects; break on error from dvopsps detections; do not try to populate Chip table unless it exists; skip batch on failure, but continue to load

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130307/ippToPsps/jython/batch.py

    r35352 r35402  
    276276            p = Popen(cmd, shell=True, stdout=PIPE)
    277277            p.wait()
     278            if p.returncode != 0:
     279                self.logger.errorPair("error running xmllint for ", tmpPath)
     280                raise
    278281        except:
    279282            self.logger.errorPair("Popen failed", cmd)
     
    301304        p = Popen(cmd, shell=True, stdout=PIPE)
    302305        p.wait()
    303 
    304306        if p.returncode != 0:
    305307            self.logger.errorPair("tar command", "failed")
     
    311313        p = Popen(cmd, shell=True, stdout=PIPE)
    312314        p.wait()
    313 
    314315        if p.returncode != 0:
    315316            self.logger.errorPair("gzip command", "failed")
     
    519520        p = Popen(cmd, shell=True, stdout=PIPE)
    520521        p.wait()
     522        if p.returncode != 0:
     523            self.logger.errorPair("dvograbber command", "failed")
     524            return False
    521525
    522526        rowCount = self.scratchDb.getRowCount("dvoDetection")
Note: See TracChangeset for help on using the changeset viewer.