Пример #1
0
 def run_qtile():
     try:
         init_log(logging.INFO, log_path=None)
         q = QtileManager(config_class(), self.display, self.sockfile)
         q.loop()
     except Exception:
         wpipe.send(traceback.format_exc())
Пример #2
0
 def run_qtile():
     try:
         init_log(logging.INFO, log_path=None)
         q = QtileManager(config_class(), self.display, self.sockfile)
         q.loop()
     except Exception:
         wpipe.send(traceback.format_exc())
Пример #3
0
 def runQtile():
     try:
         q = Qtile(config, self.display, self.sockfile,
                   log=init_log(logging.INFO, log_path=self.logfile))
         q.loop()
     except Exception:
         wpipe.send(traceback.format_exc())
         print("--------------------- >> begin qtile traceback << --------------------")
         print(traceback.format_exc())
         print("-------------------- >> begin qtile traceback << ---------------------")
Пример #4
0
 def runQtile():
     try:
         init_log(logging.INFO, log_path=self.logfile, log_color=False)
         q = Qtile(config, self.display, self.sockfile)
         q.loop()
     except Exception:
         wpipe.send(traceback.format_exc())
         with open(self.logfile, 'a') as f:
             f.write("--------------------- >> begin qtile traceback << --------------------")
             f.write(traceback.format_exc())
             f.write("-------------------- >> begin qtile traceback << ---------------------")
Пример #5
0
 def runQtile():
     try:
         init_log(logging.INFO, log_path=self.logfile, log_color=False)
         q = Qtile(config, self.display, self.sockfile)
         q.loop()
     except Exception:
         wpipe.send(traceback.format_exc())
         with open(self.logfile, 'a') as f:
             f.write(
                 "--------------------- >> begin qtile traceback << --------------------"
             )
             f.write(traceback.format_exc())
             f.write(
                 "-------------------- >> begin qtile traceback << ---------------------"
             )
Пример #6
0
 def runQtile():
     try:
         q = Qtile(config,
                   self.display,
                   self.sockfile,
                   log=init_log(logging.INFO, log_path=self.logfile))
         q.loop()
     except Exception:
         wpipe.send(traceback.format_exc())
         print(
             "--------------------- >> begin qtile traceback << --------------------"
         )
         print(traceback.format_exc())
         print(
             "-------------------- >> begin qtile traceback << ---------------------"
         )