code: def waitStarted(self):
          
          ns = None
          while not ns:
              try:
                  time.sleep(3)
                  ns = Pyro.naming.NameServerLocator(
                      identification=self.identification).getNS()
              except Pyro.errors.NamingError as er:
                  pass
docs: wait until name server is started.