{"action":"opened","issue":{"url":"https://api.github.com/repos/stanley89/pytwitterwall/issues/5","repository_url":"https://api.github.com/repos/stanley89/pytwitterwall","labels_url":"https://api.github.com/repos/stanley89/pytwitterwall/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/stanley89/pytwitterwall/issues/5/comments","events_url":"https://api.github.com/repos/stanley89/pytwitterwall/issues/5/events","html_url":"https://github.com/stanley89/pytwitterwall/issues/5","id":191077509,"number":5,"title":"Docs issues","user":{"login":"hroncok","id":2401856,"avatar_url":"https://avatars.githubusercontent.com/u/2401856?v=3","gravatar_id":"","url":"https://api.github.com/users/hroncok","html_url":"https://github.com/hroncok","followers_url":"https://api.github.com/users/hroncok/followers","following_url":"https://api.github.com/users/hroncok/following{/other_user}","gists_url":"https://api.github.com/users/hroncok/gists{/gist_id}","starred_url":"https://api.github.com/users/hroncok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hroncok/subscriptions","organizations_url":"https://api.github.com/users/hroncok/orgs","repos_url":"https://api.github.com/users/hroncok/repos","events_url":"https://api.github.com/users/hroncok/events{/privacy}","received_events_url":"https://api.github.com/users/hroncok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-22T17:47:27Z","updated_at":"2016-11-22T17:47:27Z","closed_at":null,"body":"* [ ] The README section about how to build docs is not working:\r\n\r\n```\r\n$ python -m pip install sphinx\r\n...\r\nSuccessfully installed Jinja2-2.8 MarkupSafe-0.23 Pygments-2.1.3 alabaster-0.7.9 babel-2.3.4 docutils-0.12 imagesize-0.7.1 pytz-2016.7 six-1.10.0 snowballstemmer-1.2.1 sphinx-1.4.8\r\n$ cd docs\r\n$ make docs\r\nmake: *** No rule to make target 'docs'.  Stop.\r\n$ make html # I'm guessing here\r\nsphinx-build -b html -d _build/doctrees   . _build/html\r\nRunning Sphinx v1.4.8\r\nmaking output directory...\r\nloading pickled environment... not yet created\r\nbuilding [mo]: targets for 0 po files that are out of date\r\nbuilding [html]: targets for 4 source files that are out of date\r\nupdating environment: 4 added, 0 changed, 0 removed\r\nreading sources... [100%] intro                                                                                                                                                                                                    \r\ndocs/api.rst:10: WARNING: autodoc: failed to import module 'pytwitterwall.pytwitterwall'; the following exception was raised:\r\nTraceback (most recent call last):\r\n  File \"env/lib64/python3.5/site-packages/sphinx/ext/autodoc.py\", line 519, in import_object\r\n    __import__(self.modname)\r\n  File \"pytwitterwall/__init__.py\", line 1, in <module>\r\n    from .pytwitterwall import TwitterWall\r\n  File \"pytwitterwall/pytwitterwall.py\", line 7, in <module>\r\n    import click\r\nImportError: No module named 'click'\r\ndocs/api.rst:19: WARNING: autodoc: failed to import module 'pytwitterwall'; the following exception was raised:\r\nTraceback (most recent call last):\r\n  File \"env/lib64/python3.5/site-packages/sphinx/ext/autodoc.py\", line 519, in import_object\r\n    __import__(self.modname)\r\n  File \"pytwitterwall/__init__.py\", line 1, in <module>\r\n    from .pytwitterwall import TwitterWall\r\n  File \"pytwitterwall/pytwitterwall.py\", line 7, in <module>\r\n    import click\r\nImportError: No module named 'click'\r\n...\r\n```\r\n\r\n* [ ] Doctest is not working:\r\n\r\n```\r\n$ make doctest \r\nsphinx-build -b doctest -d _build/doctrees   . _build/doctest\r\nRunning Sphinx v1.4.8\r\nloading pickled environment... done\r\nbuilding [mo]: targets for 0 po files that are out of date\r\nbuilding [doctest]: targets for 4 source files that are out of date\r\nupdating environment: 0 added, 0 changed, 0 removed\r\nlooking for now-outdated files... none found\r\nrunning tests...\r\n\r\nDocument: examples\r\n------------------\r\n**********************************************************************\r\nFile \"examples.rst\", line 5, in default (setup code)\r\nFailed example:\r\n    import pytwitterwall\r\n    import betamax\r\n    import requests\r\n    from betamax.cassette import cassette\r\n\r\n    with betamax.Betamax.configure() as config:\r\n        config.cassette_library_dir = '../tests/fixtures/cassettes'\r\n        KEY = 'false_key'\r\n        SECRET = 'false_secret'\r\n        betamax_session = requests.Session()\r\n        recorder = betamax.Betamax(\r\n                 betamax_session, cassette_library_dir='../tests/fixtures/cassettes'\r\n        )\r\n        config.default_cassette_options['record_mode'] = 'none'\r\n        wall = pytwitterwall.TwitterWall(api_key=KEY, api_secret=SECRET, session = betamax_session)\r\nException raised:\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib64/python3.5/doctest.py\", line 1321, in __run\r\n        compileflags, 1), test.globs)\r\n      File \"<doctest default (setup code)[0]>\", line 15, in <module>\r\n        wall = pytwitterwall.TwitterWall(api_key=KEY, api_secret=SECRET, session = betamax_session)\r\n      File \"pytwitterwall/pytwitterwall.py\", line 23, in __init__\r\n        self.session = self._create_session(api_key, api_secret, session)\r\n      File \"pytwitterwall/pytwitterwall.py\", line 47, in _create_session\r\n        bearer_token = r.json()['access_token']\r\n    KeyError: 'access_token'\r\n**********************************************************************\r\n1 items had failures:\r\n   1 of   1 in default (setup code)\r\n***Test Failed*** 1 failures.\r\n\r\nDoctest summary\r\n===============\r\n    0 tests\r\n    0 failures in tests\r\n    1 failure in setup code\r\n    0 failures in cleanup code\r\nbuild finished with problems.\r\n```\r\n\r\n* [ ] Travis CI is failing with the above error\r\n* [ ] There is some syntax issue at the bottom of [intro.rst](https://pytwitterwall.readthedocs.io/en/latest/intro.html)\r\n* [ ] You could do better with doctest / example section\r\n* [ ] API doc on Read the Docs is empty\r\n"}}
{"actor":{"display_login":"hroncok"}}