cms-dev / cms-dev/cms

Checker error when Service is down

Open
#174 2 comments 0 reactions 1 assignee View on GitHub

@stefano-maggiolo is already working on this.

Since Jul 29, 2013.

io_model
Dominant language
Python
Stars
1k
Forks
412
Avg merge
6d 10h
Merged PRs (30d)
3

Description

I sometimes get this error from Checker in the logs. I think it happens when the Service is momentarily down.

2013/07/21 20:01:12 - ERROR    [Checker,0] Error in the call without callback `__repr__': KeyError: u'Service has no method __repr__'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cms-1.1.0pre-py2.7.egg/cms/io/GeventLibrary.py", line 570, in process_data
    method_response = self.service.handle_message(message)
  File "/usr/lib/python2.7/site-packages/cms-1.1.0pre-py2.7.egg/cms/io/GeventLibrary.py", line 426, in handle_message
    raise KeyError("Service has no method " + method_name)
KeyError: u'Service has no method __repr__'
.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.