{"action":"created","issue":{"url":"https://api.github.com/repos/kivy/kivy/issues/3876","labels_url":"https://api.github.com/repos/kivy/kivy/issues/3876/labels{/name}","comments_url":"https://api.github.com/repos/kivy/kivy/issues/3876/comments","events_url":"https://api.github.com/repos/kivy/kivy/issues/3876/events","html_url":"https://github.com/kivy/kivy/issues/3876","id":124091171,"number":3876,"title":"Getting started tutorial is broken","user":{"login":"chriscowley","id":1736762,"avatar_url":"https://avatars.githubusercontent.com/u/1736762?v=3","gravatar_id":"","url":"https://api.github.com/users/chriscowley","html_url":"https://github.com/chriscowley","followers_url":"https://api.github.com/users/chriscowley/followers","following_url":"https://api.github.com/users/chriscowley/following{/other_user}","gists_url":"https://api.github.com/users/chriscowley/gists{/gist_id}","starred_url":"https://api.github.com/users/chriscowley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriscowley/subscriptions","organizations_url":"https://api.github.com/users/chriscowley/orgs","repos_url":"https://api.github.com/users/chriscowley/repos","events_url":"https://api.github.com/users/chriscowley/events{/privacy}","received_events_url":"https://api.github.com/users/chriscowley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kivy/kivy/labels/documentation","name":"documentation","color":"fafa44"},{"url":"https://api.github.com/repos/kivy/kivy/labels/examples","name":"examples","color":"444444"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-28T16:56:57Z","updated_at":"2015-12-30T06:45:20Z","closed_at":null,"body":"If one does a straight copy/paste of the final code, running `main.py` results in:\r\n\r\n```\r\nTraceback (most recent call last):\r\n   File \"main.py\", line 74, in <module>\r\n     PongApp().run()\r\n   File \"/usr/lib64/python2.7/site-packages/kivy/app.py\", line 824, in run\r\n     runTouchApp()\r\n   File \"/usr/lib64/python2.7/site-packages/kivy/base.py\", line 487, in runTouchApp\r\n     EventLoop.window.mainloop()\r\n   File \"/usr/lib64/python2.7/site-packages/kivy/core/window/window_pygame.py\", line 398, in mainloop\r\n     self._mainloop()\r\n   File \"/usr/lib64/python2.7/site-packages/kivy/core/window/window_pygame.py\", line 285, in _mainloop\r\n     EventLoop.idle()\r\n   File \"/usr/lib64/python2.7/site-packages/kivy/base.py\", line 327, in idle\r\n     Clock.tick()\r\n   File \"/usr/lib64/python2.7/site-packages/kivy/clock.py\", line 483, in tick\r\n     self._process_events()\r\n   File \"/usr/lib64/python2.7/site-packages/kivy/clock.py\", line 615, in _process_events\r\n     event.tick(self._last_tick, remove)\r\n   File \"/usr/lib64/python2.7/site-packages/kivy/clock.py\", line 374, in tick\r\n     ret = callback(self._dt)\r\n   File \"main.py\", line 43, in update\r\n     self.player1.bounce_ball(self.ball)\r\n AttributeError: 'NoneType' object has no attribute 'bounce_ball'\r\n```\r\n\r\nIn addition to this, this contains code that is not at all mentioned in any of the other steps. For example:\r\n\r\n```\r\n        #bounce of paddles\r\n        self.player1.bounce_ball(self.ball)\r\n        self.player2.bounce_ball(self.ball)\r\n```\r\n\r\nand the `serve_ball` function has come from nowhere."},"comment":{"url":"https://api.github.com/repos/kivy/kivy/issues/comments/167946331","html_url":"https://github.com/kivy/kivy/issues/3876#issuecomment-167946331","issue_url":"https://api.github.com/repos/kivy/kivy/issues/3876","id":167946331,"user":{"login":"Zen-CODE","id":3539755,"avatar_url":"https://avatars.githubusercontent.com/u/3539755?v=3","gravatar_id":"","url":"https://api.github.com/users/Zen-CODE","html_url":"https://github.com/Zen-CODE","followers_url":"https://api.github.com/users/Zen-CODE/followers","following_url":"https://api.github.com/users/Zen-CODE/following{/other_user}","gists_url":"https://api.github.com/users/Zen-CODE/gists{/gist_id}","starred_url":"https://api.github.com/users/Zen-CODE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zen-CODE/subscriptions","organizations_url":"https://api.github.com/users/Zen-CODE/orgs","repos_url":"https://api.github.com/users/Zen-CODE/repos","events_url":"https://api.github.com/users/Zen-CODE/events{/privacy}","received_events_url":"https://api.github.com/users/Zen-CODE/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T06:45:20Z","updated_at":"2015-12-30T06:45:20Z","body":"Also works for me no problem? I can only assume you missed a part pasting? Please could you paste the exact code you are running?\r\n\r\n'bounce_ball' is mentioned in the \"Connect Input Events\" section, where it explains what is does and then gives the code for this class.\r\n\r\n'serve_ball' is explained and introduced in the note in the 'Adding Ball Animation' section."}}