Hey Chris,

 

You are correct.  I'll update my script to install psutil 0.7.1 while
the new version is being fixed. Thanks

 

 

Hi Mohammed,

This is more than likely caused by the psutil version you have.

A fixed version has just been supposedly made available which I'm about
to check, but as a workaround, the following will suffice (assuming a
default install location):

# source px/bin/activate
(px)# pip install psutil==0.7.1

Then restart paster and/or your wsgi web server.

Once I've checked the psutil fix, I'll post on that thread and you'll be
able to upgrade to psutil==1.0.1

Regards,

Chris

On 12/07/13 17:57, Mohammed Alli wrote: 

I get the following after adding a node.

 

URL: MailScanner has detected a possible fraud attempt from
"192.168.0.xxx" claiming to be Baruwa warning: numerical links are often
malicious: http://192.168.0.xxx/ <http://192.168.0.xxx/> 

Module weberror.errormiddleware:162 in __call__

<<              __traceback_supplement__ = Supplement, self, environ
                   sr_checker = ResponseStartChecker(start_response)
                   app_iter = self.application(environ, sr_checker)
                   return self.make_catching_iter(app_iter, environ,
sr_checker)
               except:

>>  app_iter = self.application(environ, sr_checker)

Module repoze.who.middleware:107 in __call__

<<          wrapper = StartResponseWrapper(start_response)
               app_iter = app(environ, wrapper.wrap_start_response)
       
               # The challenge decider almost(?) always needs
information from the

>>  app_iter = app(environ, wrapper.wrap_start_response)

Module beaker.middleware:155 in __call__

<<                          headers.append(('Set-cookie', cookie))
                   return start_response(status, headers, exc_info)
               return self.wrap_app(environ, session_start_response)
       
           def _get_session(self):

>>  return self.wrap_app(environ, session_start_response)

Module routes.middleware:131 in __call__

<<                                               r'\1', oldpath)
               
               response = self.app(environ, start_response)
               
               # Wrapped in try as in rare cases the attribute will be
gone already

>>  response = self.app(environ, start_response)

Module pylons.wsgiapp:103 in __call__

<<          controller = self.resolve(environ, start_response)
               response = self.dispatch(controller, environ,
start_response)
       
               response_obj = callable(response)

>>  response = self.dispatch(controller, environ, start_response)

Module pylons.wsgiapp:313 in dispatch

<<          if log_debug:
                   log.debug("Calling controller class with WSGI
interface")
               return controller(environ, start_response)
       
           def load_test_env(self, environ):

>>  return controller(environ, start_response)

Module baruwa.lib.base:85 in __call__

<<                  c.baruwa_outbound = mailq.get(2)[0]
                       if self.identity['user'].is_admin:
                           c.baruwa_status = cluster_status()
       
                       tzinfo = self.identity['user'].timezone or UTC

>>  c.baruwa_status = cluster_status()

Module beaker.cache:572 in cached

<<                  return func(*args)
       
                   return cache[0].get_value(cache_key, createfunc=go)
               cached._arg_namespace = namespace
               if region is not None:

>>  return cache[0].get_value(cache_key, createfunc=go)

Module beaker.cache:305 in get

<<      def get(self, key, **kw):
               """Retrieve a cached value from the container"""
               return self._get_value(key, **kw).get_value()
           get_value = get

>>  return self._get_value(key, **kw).get_value()

Module beaker.container:385 in get_value

<<              debug("get_value creating new value")
                   v = self.createfunc()
                   self.set_value(v)
                   return v

>>  v = self.createfunc()

Module beaker.cache:570 in go

<<              def go():
                       return func(*args)
       
                   return cache[0].get_value(cache_key, createfunc=go)

>>  return func(*args)

Module baruwa.lib.cluster:39 in cluster_status

<<          if host.hostname == 'default':
                   continue
               if not host_status(host.hostname):
                   return False
           return True

>>  if not host_status(host.hostname):

Module beaker.cache:572 in cached

<<                  return func(*args)
       
                   return cache[0].get_value(cache_key, createfunc=go)
               cached._arg_namespace = namespace
               if region is not None:

>>  return cache[0].get_value(cache_key, createfunc=go)

Module beaker.cache:305 in get

<<      def get(self, key, **kw):
               """Retrieve a cached value from the container"""
               return self._get_value(key, **kw).get_value()
           get_value = get

>>  return self._get_value(key, **kw).get_value()

Module beaker.container:385 in get_value

<<              debug("get_value creating new value")
                   v = self.createfunc()
                   self.set_value(v)
                   return v

>>  v = self.createfunc()

Module beaker.cache:570 in go

<<              def go():
                       return func(*args)
       
                   return cache[0].get_value(cache_key, createfunc=go)

>>  return func(*args)

Module baruwa.lib.cluster:49 in host_status

<<      try:
               task = systemstatus.apply_async(queue=hostname)
               task.wait(30)
               hoststatus = task.result
           except (TimeoutError, QueueNotFound):

>>  task.wait(30)

Module celery.result:108 in get

<<          return self.backend.wait_for(self.id, timeout=timeout,
                                            propagate=propagate,
                                            interval=interval)
           wait = get  # deprecated alias to :meth:`get`.

>>  interval=interval)

Module celery.backends.amqp:151 in wait_for

<<          elif state in states.PROPAGATE_STATES:
                   if propagate:
                       raise self.exception_to_python(meta['result'])
                   return meta['result']
               else:

>>  raise self.exception_to_python(meta['result'])

IndexError: tuple index out of range

 

_______________________________________________
http://pledgie.com/campaigns/12056

Reply via email to