Esempio n. 1
0
 def __init__(self,repo,what):
     self.what=what
     self.repository = repo
     logger.error("A severe error occurred in the Repository '%s': %s" % (repo.registry.name, what))
     logger.error('If you believe the problem has been solved, type "reactivate()" to re-enable ')
     disableInternalServices()
     GangaException.__init__(self,what)
Esempio n. 2
0
 def __init__(self, repo=None, what=''):
     GangaException.__init__(self, what)
     self.what = what
     self.repository = repo
     logger.error("A severe error occurred in the Repository '%s': %s" % (repo.registry.name, what))
     logger.error('If you believe the problem has been solved, type "reactivate()" to re-enable ')
     try:
         from Ganga.Core.InternalServices.Coordinator import disableInternalServices
         disableInternalServices()
         logger.error("Shutting Down Repository_runtime")
         from Ganga.Runtime import Repository_runtime
         Repository_runtime.shutdown()
     except:
         logger.error("Unable to disable Internal services, they may have already been disabled!")
Esempio n. 3
0
 def __init__(self, repo=None, what=''):
     GangaException.__init__(self, what)
     self.what = what
     self.repository = repo
     logger.error("A severe error occurred in the Repository '%s': %s" %
                  (repo.registry.name, what))
     logger.error(
         'If you believe the problem has been solved, type "reactivate()" to re-enable '
     )
     try:
         from Ganga.Core.InternalServices.Coordinator import disableInternalServices
         disableInternalServices()
         logger.error("Shutting Down Repository_runtime")
         from Ganga.Runtime import Repository_runtime
         Repository_runtime.shutdown()
     except:
         logger.error(
             "Unable to disable Internal services, they may have already been disabled!"
         )
Esempio n. 4
0
 def __init__(self, message=''):
     GangaException.__init__(self, message)
     self.message = message
Esempio n. 5
0
 def __init__(self, repo=None, id='', orig=None):
     GangaException.__init__(self, "Inaccessible Object")
     self.repo = repo
     self.id = id
     self.orig = orig
Esempio n. 6
0
 def __init__(self, what=''):
     GangaException.__init__(self, what)
     self.what = what
Esempio n. 7
0
 def __init__(self, repo=None, id='', orig=None):
     GangaException.__init__(self, "Inaccessible Object")
     self.repo = repo
     self.id = id
     self.orig = orig
Esempio n. 8
0
 def __init__(self, what=''):
     GangaException.__init__(self, what)
     self.what = what
Esempio n. 9
0
 def __init__(self, message=''):
     GangaException.__init__(self, message)
     self.message = message
Esempio n. 10
0
 def __init__(self,txt):
     GangaException.__init__(self,txt)
     self.txt=txt