Пример #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)
Пример #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!")
Пример #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!"
         )
Пример #4
0
 def __init__(self, message=''):
     GangaException.__init__(self, message)
     self.message = message
Пример #5
0
 def __init__(self, repo=None, id='', orig=None):
     GangaException.__init__(self, "Inaccessible Object")
     self.repo = repo
     self.id = id
     self.orig = orig
Пример #6
0
 def __init__(self, what=''):
     GangaException.__init__(self, what)
     self.what = what
Пример #7
0
 def __init__(self, repo=None, id='', orig=None):
     GangaException.__init__(self, "Inaccessible Object")
     self.repo = repo
     self.id = id
     self.orig = orig
Пример #8
0
 def __init__(self, what=''):
     GangaException.__init__(self, what)
     self.what = what
Пример #9
0
 def __init__(self, message=''):
     GangaException.__init__(self, message)
     self.message = message
Пример #10
0
 def __init__(self,txt):
     GangaException.__init__(self,txt)
     self.txt=txt