{"action":"opened","issue":{"url":"https://api.github.com/repos/nilp0inter/binlog/issues/3","labels_url":"https://api.github.com/repos/nilp0inter/binlog/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/nilp0inter/binlog/issues/3/comments","events_url":"https://api.github.com/repos/nilp0inter/binlog/issues/3/events","html_url":"https://github.com/nilp0inter/binlog/issues/3","id":82322307,"number":3,"title":"Database exception raised","user":{"login":"odex","id":3282997,"avatar_url":"https://avatars.githubusercontent.com/u/3282997?v=3","gravatar_id":"","url":"https://api.github.com/users/odex","html_url":"https://github.com/odex","followers_url":"https://api.github.com/users/odex/followers","following_url":"https://api.github.com/users/odex/following{/other_user}","gists_url":"https://api.github.com/users/odex/gists{/gist_id}","starred_url":"https://api.github.com/users/odex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odex/subscriptions","organizations_url":"https://api.github.com/users/odex/orgs","repos_url":"https://api.github.com/users/odex/repos","events_url":"https://api.github.com/users/odex/events{/privacy}","received_events_url":"https://api.github.com/users/odex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-29T08:05:12Z","updated_at":"2015-05-29T08:05:12Z","closed_at":null,"body":"```python\r\n>>> from binlog.reader import Reader\r\n>>> from binlog.writer import Writer\r\n>>> w = Writer('/tmp/test)\r\n>>> r = Reader('/tmp/test')\r\n>>> r.next_record()\r\nTraceback (most recent call last):\r\n  File \"<ipython-input-8-dab87a0b033d>\", line 1, in <module>\r\n    r.next_record()\r\n  File \"/home/vagrant/lib/python3.4/site-packages/binlog-0.0.1-py3.4.egg/binlog/reader.py\", line 67, in next_record\r\n    data = self.next()\r\n  File \"/home/vagrant/lib/python3.4/site-packages/binlog-0.0.1-py3.4.egg/binlog/reader.py\", line 42, in next\r\n    self.set_cursors(pos)\r\n  File \"/home/vagrant/lib/python3.4/site-packages/binlog-0.0.1-py3.4.egg/binlog/reader.py\", line 123, in set_cursors\r\n    _, logname = self.li_cursor.current()\r\n  File \"/home/vagrant/lib/python3.4/site-packages/binlog-0.0.1-py3.4.egg/binlog/cursor.py\", line 12, in __call__\r\n    data = getattr(cursor, self.name)(*args, **kwargs)\r\nDBInvalidArgError: (22, 'Invalid argument -- Cursor position must be set before performing this operation')\r\n```"}}