{"action":"created","issue":{"url":"https://api.github.com/repos/datamade/dedupe/issues/345","labels_url":"https://api.github.com/repos/datamade/dedupe/issues/345/labels{/name}","comments_url":"https://api.github.com/repos/datamade/dedupe/issues/345/comments","events_url":"https://api.github.com/repos/datamade/dedupe/issues/345/events","html_url":"https://github.com/datamade/dedupe/issues/345","id":56088957,"number":345,"title":"Different errors when  running dedupe under 2 operating systems","user":{"login":"L-Jiang","id":10779177,"avatar_url":"https://avatars.githubusercontent.com/u/10779177?v=3","gravatar_id":"","url":"https://api.github.com/users/L-Jiang","html_url":"https://github.com/L-Jiang","followers_url":"https://api.github.com/users/L-Jiang/followers","following_url":"https://api.github.com/users/L-Jiang/following{/other_user}","gists_url":"https://api.github.com/users/L-Jiang/gists{/gist_id}","starred_url":"https://api.github.com/users/L-Jiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/L-Jiang/subscriptions","organizations_url":"https://api.github.com/users/L-Jiang/orgs","repos_url":"https://api.github.com/users/L-Jiang/repos","events_url":"https://api.github.com/users/L-Jiang/events{/privacy}","received_events_url":"https://api.github.com/users/L-Jiang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-30T21:47:22Z","updated_at":"2015-02-12T22:50:23Z","closed_at":"2015-02-12T21:55:01Z","body":"Recently I'm trying to install the dedupe program on 2 different OS systems: Windows Server 2008 and Win 7 Professional and I'm experiencing issues on both.\r\n\r\nThe versions of the relevant programs are as below:\r\nPython: 2.7.5 | Anaconda 2.1.0 (64-bit)\r\nEclipse: Indigo Service Release 2\r\nNumpy: 1.9.0\r\nDedupe: Most recent\r\n\r\n\r\nOn Windows Server 2008:\r\n\r\nI completed training, and then I got the following error:\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\Administrator.TOM\\Documents\\Hawk\\Dedupe\\csv_example.py\",\r\nline 135, in <module>\r\n    deduper.train()\r\n  File \"C:\\Anaconda\\lib\\site-packages\\dedupe\\api.py\", line 691, in train\r\n    self._trainBlocker(ppc, uncovered_dupes)\r\n  File \"C:\\Anaconda\\lib\\site-packages\\dedupe\\api.py\", line 719, in\r\n_trainBlocker\r\n    self._linkage_type)\r\n  File \"C:\\Anaconda\\lib\\site-packages\\dedupe\\training.py\", line 139, in\r\nblockTraining\r\n    dupe_pairs | distinct_pairs)\r\n  File \"C:\\Anaconda\\lib\\site-packages\\dedupe\\training.py\", line 304, in\r\n__init__\r\n    blocker.tfIdfBlock(field_records, field)\r\n  File \"C:\\Anaconda\\lib\\site-packages\\dedupe\\blocking.py\", line 80, in\r\ntfIdfBlock\r\n    index.index(record_id, doc)\r\n  File \"C:\\Anaconda\\lib\\site-packages\\dedupe\\tfidf.py\", line 28, in index\r\n    self._index.index_doc(i, doc)\r\n  File \"C:\\Anaconda\\lib\\site-packages\\zope\\index\\text\\textindex.py\", line\r\n50, in index_doc\r\n    self.index.index_doc(docid, text)\r\n  File \"C:\\Anaconda\\lib\\site-packages\\zope\\index\\text\\baseindex.py\", line\r\n96, in index_doc\r\n    if docid in self._docwords:\r\nTypeError: expected integer key\r\n\r\n\r\n\r\nOn Win 7 Professional:\r\n\r\nI did not even get to the \"training\" this time. The error is:\r\n\r\nTraceback (most recent call last):\r\n  File \"D:\\Documents\\Hawk_Test\\Dedupe\\csv_example(1).py\", line 26, in\r\n<module>\r\n    import dedupe\r\n  File \"D:\\Anaconda\\lib\\site-packages\\dedupe\\__init__.py\", line 14, in\r\n<module>\r\n    from api import StaticDedupe, Dedupe\r\n  File \"D:\\Anaconda\\lib\\site-packages\\dedupe\\api.py\", line 24, in <module>\r\n    import dedupe.training as training\r\n  File \"D:\\Anaconda\\lib\\site-packages\\dedupe\\training.py\", line 10, in\r\n<module>\r\n    import predicates\r\n  File \"D:\\Anaconda\\lib\\site-packages\\dedupe\\predicates.py\", line 8, in\r\n<module>\r\n    from dedupe.cpredicates import ngrams, initials\r\nImportError: DLL load failed: A dynamic link library (DLL) initialization\r\nroutine failed."},"comment":{"url":"https://api.github.com/repos/datamade/dedupe/issues/comments/74170784","html_url":"https://github.com/datamade/dedupe/issues/345#issuecomment-74170784","issue_url":"https://api.github.com/repos/datamade/dedupe/issues/345","id":74170784,"user":{"login":"fgregg","id":536941,"avatar_url":"https://avatars.githubusercontent.com/u/536941?v=3","gravatar_id":"","url":"https://api.github.com/users/fgregg","html_url":"https://github.com/fgregg","followers_url":"https://api.github.com/users/fgregg/followers","following_url":"https://api.github.com/users/fgregg/following{/other_user}","gists_url":"https://api.github.com/users/fgregg/gists{/gist_id}","starred_url":"https://api.github.com/users/fgregg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgregg/subscriptions","organizations_url":"https://api.github.com/users/fgregg/orgs","repos_url":"https://api.github.com/users/fgregg/repos","events_url":"https://api.github.com/users/fgregg/events{/privacy}","received_events_url":"https://api.github.com/users/fgregg/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T22:50:23Z","updated_at":"2015-02-12T22:50:23Z","body":"Thanks, let me know what happens with Windows 2008.\n\nOn Thu Feb 12 2015 at 4:44:06 PM L-Jiang <notifications@github.com> wrote:\n\n> I tried the new dedupe folder from datamade/dedupe with \"Fix #353\n> <https://github.com/datamade/dedupe/issues/353> by using simplejson where\n> available\" and updated csv_example.py. Still getting the same error on Win\n> 7.\n>\n> Will try on Windows Server 2008 tomorrow.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/datamade/dedupe/issues/345#issuecomment-74169775>.\n>\n"}}