{"action":"created","issue":{"url":"https://api.github.com/repos/timClicks/slate/issues/5","repository_url":"https://api.github.com/repos/timClicks/slate","labels_url":"https://api.github.com/repos/timClicks/slate/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/timClicks/slate/issues/5/comments","events_url":"https://api.github.com/repos/timClicks/slate/issues/5/events","html_url":"https://github.com/timClicks/slate/issues/5","id":39522176,"number":5,"title":"Import error","user":{"login":"Schabernack","id":155029,"avatar_url":"https://avatars.githubusercontent.com/u/155029?v=3","gravatar_id":"","url":"https://api.github.com/users/Schabernack","html_url":"https://github.com/Schabernack","followers_url":"https://api.github.com/users/Schabernack/followers","following_url":"https://api.github.com/users/Schabernack/following{/other_user}","gists_url":"https://api.github.com/users/Schabernack/gists{/gist_id}","starred_url":"https://api.github.com/users/Schabernack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Schabernack/subscriptions","organizations_url":"https://api.github.com/users/Schabernack/orgs","repos_url":"https://api.github.com/users/Schabernack/repos","events_url":"https://api.github.com/users/Schabernack/events{/privacy}","received_events_url":"https://api.github.com/users/Schabernack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2014-08-05T14:08:56Z","updated_at":"2016-02-11T16:42:38Z","closed_at":null,"body":"When trying to import slate, the following error message occurs. pdfminer and slate have been installed via pip.\r\n\r\nUsing Windows XP and Python 2.7\r\n\r\n```\r\n>>> import slate\r\nTraceback (most recent call last):\r\nFile \"<console>\", line 1, in <module>\r\nFile \"c:\\meins\\programm\\python\\hier\\lib\\site-packages\\slate\\__init__.py\", line 48, in <module>\r\nfrom slate import PDF\r\nFile \"c:\\meins\\programm\\python\\hier\\lib\\site-packages\\slate\\slate.py\", line 3, in <module>\r\nfrom pdfminer.pdfparser import PDFParser, PDFDocument\r\nImportError: cannot import name PDFDocument\r\n```\r\n\r\nLooking at the pdfminer website, i found the following command that works:\r\n\r\n```\r\nfrom pdfminer.pdfdocument import PDFDocument\r\n```\r\n\r\nMaybe pdfminer changed their API?"},"comment":{"url":"https://api.github.com/repos/timClicks/slate/issues/comments/182950114","html_url":"https://github.com/timClicks/slate/issues/5#issuecomment-182950114","issue_url":"https://api.github.com/repos/timClicks/slate/issues/5","id":182950114,"user":{"login":"imichaeldotorg","id":1198206,"avatar_url":"https://avatars.githubusercontent.com/u/1198206?v=3","gravatar_id":"","url":"https://api.github.com/users/imichaeldotorg","html_url":"https://github.com/imichaeldotorg","followers_url":"https://api.github.com/users/imichaeldotorg/followers","following_url":"https://api.github.com/users/imichaeldotorg/following{/other_user}","gists_url":"https://api.github.com/users/imichaeldotorg/gists{/gist_id}","starred_url":"https://api.github.com/users/imichaeldotorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imichaeldotorg/subscriptions","organizations_url":"https://api.github.com/users/imichaeldotorg/orgs","repos_url":"https://api.github.com/users/imichaeldotorg/repos","events_url":"https://api.github.com/users/imichaeldotorg/events{/privacy}","received_events_url":"https://api.github.com/users/imichaeldotorg/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T16:42:38Z","updated_at":"2016-02-11T16:42:38Z","body":"+1"}}