Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(12)  |  Call(12)  |  Derive(0)  |  Import(0)

src/a/r/ARC-HEAD/ARC/spawn.py   ARC(Download)
 
            except exceptions.FatalError:
                logger.error("A fatal error was encountered.")
                self.killall()
                raise
            except (KeyboardInterrupt, SystemExit):
                logger.error("Terminating processes")
            except Exception as e:
                ex_type, ex, tb = sys.exc_info()
                logger.error("\n".join(traceback.format_exception(ex_type, ex, tb)))
                logger.error("An unhandled exception occurred")
                self.killall()

src/a/r/ARC-HEAD/ARC/runners/base.py   ARC(Download)
        else:
            name = self.__class__.__name__
        logger.error("%-12s| %s" % (name, msg))
 
    def exception(self, exc):

src/a/r/ARC-HEAD/ARC/process_runner.py   ARC(Download)
                self.update_runstats(1)
            except exceptions.FatalError as e:
                logger.error("[%s] A fatal error occurred: %s" % (self.name, e))
                os.kill(self.ppid, signal.SIGINT)
            except (KeyboardInterrupt, SystemExit):
                logger.debug("Process interrupted")
            except Exception as e:
                ex_type, ex, tb = sys.exc_info()
                logger.error("\n".join(traceback.format_exception(ex_type, ex, tb)))
                logger.error("An unhandled exception occurred")

src/a/r/ARC-HEAD/ARC/app.py   ARC(Download)
            return 0
        except FatalError as e:
            logger.error("A fatal error was encountered. \n\t%s" % str(e))
            return 1
        except (KeyboardInterrupt, SystemExit):
            self.clean()
            logger.error("%s unexpectedly terminated" % (__name__))
                        key_function=lambda x: x.split("/")[0])
                    if len(p1) != len(p2):
                        logger.error("The number of reads in %s and %s do not match, "
                                     "check the config for errors" % (s['PE1'], s['PE2']))
            if 'SE' in s:

src/a/r/ARC-HEAD/ARC/runners/mapper.py   ARC(Download)
        except Exception as inst:
            if type(inst) == IOError:
                logger.error("Failed to open mapping dictionary %s." % filename)
            raise inst
        read_map = {}