{"action":"created","issue":{"url":"https://api.github.com/repos/datamade/dedupe/issues/341","labels_url":"https://api.github.com/repos/datamade/dedupe/issues/341/labels{/name}","comments_url":"https://api.github.com/repos/datamade/dedupe/issues/341/comments","events_url":"https://api.github.com/repos/datamade/dedupe/issues/341/events","html_url":"https://github.com/datamade/dedupe/issues/341","id":55554009,"number":341,"title":"commands out of sync","user":{"login":"wcatino","id":4720312,"avatar_url":"https://avatars.githubusercontent.com/u/4720312?v=3","gravatar_id":"","url":"https://api.github.com/users/wcatino","html_url":"https://github.com/wcatino","followers_url":"https://api.github.com/users/wcatino/followers","following_url":"https://api.github.com/users/wcatino/following{/other_user}","gists_url":"https://api.github.com/users/wcatino/gists{/gist_id}","starred_url":"https://api.github.com/users/wcatino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wcatino/subscriptions","organizations_url":"https://api.github.com/users/wcatino/orgs","repos_url":"https://api.github.com/users/wcatino/repos","events_url":"https://api.github.com/users/wcatino/events{/privacy}","received_events_url":"https://api.github.com/users/wcatino/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-26T23:36:41Z","updated_at":"2015-01-26T23:39:20Z","closed_at":null,"body":"In my custom code (which is very similar to the mysql example), I got an error while mysql was executing the query\r\n\"SELECT id, name, year, \"\r\n              \"block_id, smaller_ids \"\r\n              \"FROM smaller_coverage \"\r\n              \"INNER JOIN \" + dataTableName + \" \"\r\n              \"USING (id) \"\r\n              \"ORDER BY (block_id)\"\r\nHere is the traceback:\r\nTraceback (most recent call last):\r\n  File \"dedupeAuthor.py\", line 477, in <module>\r\n    clustered_dupes = Cluster(c0)\r\n  File \"dedupeAuthor.py\", line 396, in Cluster\r\n    \"INNER JOIN \" + dataTableName + \" \"\r\n  File \"/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py\", line 174, in execute\r\n    self.errorhandler(self, exc, value)\r\n  File \"/usr/lib/python2.7/dist-packages/MySQLdb/connections.py\", line 36, in defaulterrorhandler\r\n    raise errorclass, errorvalue\r\nKeyboardInterrupt\r\nException _mysql_exceptions.ProgrammingError: (2014, \"Commands out of sync; you can't run this command now\") in <bound method SSDictCursor.__del__ of <MySQLdb.cursors.SSDictCursor object at 0x3564b90>> ignored\r\n"},"comment":{"url":"https://api.github.com/repos/datamade/dedupe/issues/comments/71562156","html_url":"https://github.com/datamade/dedupe/issues/341#issuecomment-71562156","issue_url":"https://api.github.com/repos/datamade/dedupe/issues/341","id":71562156,"user":{"login":"wcatino","id":4720312,"avatar_url":"https://avatars.githubusercontent.com/u/4720312?v=3","gravatar_id":"","url":"https://api.github.com/users/wcatino","html_url":"https://github.com/wcatino","followers_url":"https://api.github.com/users/wcatino/followers","following_url":"https://api.github.com/users/wcatino/following{/other_user}","gists_url":"https://api.github.com/users/wcatino/gists{/gist_id}","starred_url":"https://api.github.com/users/wcatino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wcatino/subscriptions","organizations_url":"https://api.github.com/users/wcatino/orgs","repos_url":"https://api.github.com/users/wcatino/repos","events_url":"https://api.github.com/users/wcatino/events{/privacy}","received_events_url":"https://api.github.com/users/wcatino/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T23:39:20Z","updated_at":"2015-01-26T23:39:20Z","body":"The whole process worked when I limited the data to the first 100 records.\r\nThis crash happened when I expanded the limit to 1000 records.\r\nI am retrying.\r\nIf any of my subsequent attempts succeed, I will indicate that in another comment."}}