コード例 #1
0
    def check_for_error_text(self, records):
        '''Check records for error-like information.'''

        for record in records:
            error_no_program(record)
            error_missing_library(record)
            error_segv(record)
            error_kill(record)
            error_abrt(record)
            error_fp(record)

        return
コード例 #2
0
ファイル: DefaultDriver.py プロジェクト: antolinos/edna
    def check_for_error_text(self, records):
        '''Check records for error-like information.'''

        for record in records:
            error_no_program(record)
            error_missing_library(record)
            error_segv(record)
            error_kill(record)
            error_abrt(record)
            error_fp(record)

        return
コード例 #3
0
ファイル: DefaultDriver.py プロジェクト: hainm/xia2
  def check_for_error_text(self, records):
    '''Check records for error-like information.'''

    for record in records:
      error_library_not_loaded(record)
      error_no_program(record)
      error_missing_library(record)
      error_segv(record)
      error_kill(record)
      error_abrt(record)
      error_fp(record)

    try:
      error_python_traceback(records)
    except Exception, e:
      raise RuntimeError('%s terminated with an error: see %s for more details' %(
        os.path.basename(self._executable), self.get_log_file()))