{"issue":{"user":{"id":244411,"login":"teraom","url":"https://api.github.com/users/teraom","avatar_url":"https://secure.gravatar.com/avatar/f61140f176dbd406a16756471e9c5d22?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f61140f176dbd406a16756471e9c5d22"},"milestone":null,"title":"session.destroy() throws an error -     AttributeError: 'KVSession' object has no attribute 'sid_s'","created_at":"2011-12-14T07:51:40Z","labels":[],"updated_at":"2011-12-16T08:18:37Z","state":"open","id":2548651,"html_url":"https://github.com/mbr/flask-kvsession/issues/2","closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"Should the init method set sid_s?\r\n\r\nRough output from error page.\r\n==========\r\n\r\n    File \"/..../testapp.py\", line 475, in load_signed_request\r\n\r\n    session.destroy()\r\n\r\n    [console ready]\r\n    >>> session <KVSession {}>\r\n    >>>\r\n\r\n    File \"/..../python2.7/site-packages/Flask_KVSession-0.4dev-py2.7.egg/flaskext/kvsession.py\", line 132, in destroy\r\n\r\n    if self.sid_s:\r\n\r\n    [console ready]\r\n    >>> self flaskext.kvsession.KVSession({})\r\n    >>> self.store <simplekv.memory.DictStore object at 0x101b3b950>\r\n    >>> dir(self) ['__class__', '__cmp__', '__contains__', '__delattr__', '__delitem__', '__dict__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__iter__', '__le__', '__len__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'clear', 'copy', 'destroy', 'fromkeys', 'get', 'has_key', 'items', 'iteritems', 'iterkeys', 'itervalues', 'keys', 'modified', 'new', 'on_update', 'permanent', 'pop', 'popitem', 'regenerate', 'setdefault', 'store', 'update', 'values', 'viewitems', 'viewkeys', 'viewvalues'  ]\r\n    >>>\r\n\r\n    AttributeError: 'KVSession' object has no attribute 'sid_s'\r\n\r\n==========","number":2,"url":"https://api.github.com/repos/mbr/flask-kvsession/issues/2","comments":2,"assignee":null},"comment":{"user":{"id":244411,"login":"teraom","url":"https://api.github.com/users/teraom","avatar_url":"https://secure.gravatar.com/avatar/f61140f176dbd406a16756471e9c5d22?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f61140f176dbd406a16756471e9c5d22"},"created_at":"2011-12-16T08:18:37Z","updated_at":"2011-12-16T08:18:37Z","id":3174608,"body":"Thanks. I made the same fix earlier and it works. Thanks for the quick fix, appreciate it.","url":"https://api.github.com/repos/mbr/flask-kvsession/issues/comments/3174608"},"action":"created"}