{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/e3595d0ed97be5f7bf98f97fbad4f634?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e3595d0ed97be5f7bf98f97fbad4f634","url":"https://api.github.com/users/Frescha","login":"Frescha","id":698753},"milestone":{"state":"open","open_issues":3,"url":"https://api.github.com/repos/naparuba/shinken/milestones/4","due_on":null,"creator":{"avatar_url":"https://secure.gravatar.com/avatar/e3595d0ed97be5f7bf98f97fbad4f634?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e3595d0ed97be5f7bf98f97fbad4f634","url":"https://api.github.com/users/Frescha","login":"Frescha","id":698753},"description":"","title":"0.8.5 (Guilty Gecko)","number":4,"closed_issues":0,"created_at":"2011-10-28T17:55:31Z"},"assignee":null,"labels":[{"name":"Scheduler","color":"787878","url":"https://api.github.com/repos/naparuba/shinken/labels/Scheduler"}],"updated_at":"2011-10-28T18:32:51Z","closed_at":null,"comments":0,"url":"https://api.github.com/repos/naparuba/shinken/issues/19","body":"Hi,\r\n\r\nAn exception is raised when memcache retention module try to load data:\r\n\r\n2011-10-28 04:31:32,530 [1319790692] The instance MemcacheRetention? raise an exception Keys must be str()'s, notunicode. Convert your unicode strings using mystring.encode(charset)!. I disable it and set it t\r\no restart it later\r\n\r\n2011-10-28 04:31:32,550 [1319790692] Back trace of this remove : Traceback (most recent call last):\r\n\r\n    File \"/usr/lib/python2.5/site-packages/shinken/scheduler.py\", line 274, in hook_point\r\n\r\n        f(self)\r\n\r\n    File \"/usr/lib/python2.5/site-packages/shinken/modules/memcache_retention_scheduler.py\", line 104, in hook_load_retention\r\n\r\n        val = self.mc.get(key)\r\n\r\n    File \"/var/lib/python-support/python2.5/memcache.py\", line 619, in get\r\n\r\n        check_key(key)\r\n\r\n    File \"/var/lib/python-support/python2.5/memcache.py\", line 878, in check_key\r\n\r\n        raise Client.MemcachedStringEncodingError?, (\"Keys must be str()'s, not\"\r\n\r\nMemcachedStringEncodingError?: Keys must be str()'s, notunicode. Convert your unicode strings using mystring.encode(charset)!\r\n\r\nIt seems to be a key encoding issue.\r\n\r\nRémi","html_url":"https://github.com/naparuba/shinken/issues/19","title":"Memcache retention module issue","number":19,"id":2082395,"created_at":"2011-10-28T18:32:51Z"},"action":"opened"}