{"action":"closed","issue":{"url":"https://api.github.com/repos/Fiona/Myrmidon/issues/46","labels_url":"https://api.github.com/repos/Fiona/Myrmidon/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/Fiona/Myrmidon/issues/46/comments","events_url":"https://api.github.com/repos/Fiona/Myrmidon/issues/46/events","html_url":"https://github.com/Fiona/Myrmidon/issues/46","id":58728381,"number":46,"title":"Error when updating `text` property of text object with Kivy backend","user":{"login":"Frimkron","id":46865,"avatar_url":"https://avatars.githubusercontent.com/u/46865?v=3","gravatar_id":"","url":"https://api.github.com/users/Frimkron","html_url":"https://github.com/Frimkron","followers_url":"https://api.github.com/users/Frimkron/followers","following_url":"https://api.github.com/users/Frimkron/following{/other_user}","gists_url":"https://api.github.com/users/Frimkron/gists{/gist_id}","starred_url":"https://api.github.com/users/Frimkron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frimkron/subscriptions","organizations_url":"https://api.github.com/users/Frimkron/orgs","repos_url":"https://api.github.com/users/Frimkron/repos","events_url":"https://api.github.com/users/Frimkron/events{/privacy}","received_events_url":"https://api.github.com/users/Frimkron/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Fiona/Myrmidon/labels/Bugs","name":"Bugs","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-24T11:55:22Z","updated_at":"2015-02-24T15:13:03Z","closed_at":"2015-02-24T15:13:03Z","body":"I get this error when updating the `text` property of a text object using Kivy, but only after a while i.e. not every time. It happens for the \"complex_example\" game too, where it happens immediately.\r\n```\r\nINFO:kivy:[Base        ] Leaving application in progress...\r\n Traceback (most recent call last):\r\nWARNING:kivy:stderr: Traceback (most recent call last):\r\n   File \"main.py\", line 40, in <module>\r\nWARNING:kivy:stderr:   File \"main.py\", line 40, in <module>\r\n     Window()\r\nWARNING:kivy:stderr:     Window()\r\n   File \"/home/mark/venvs/space/lib/python3.4/site-packages/myrmidon/Entity.py\", line 143, in __init__\r\nWARNING:kivy:stderr:   File \"/home/mark/venvs/space/lib/python3.4/site-packages/myrmidon/Entity.py\", line 143, in __init__\r\n     Game.run_game()\r\nWARNING:kivy:stderr:     Game.run_game()\r\n   File \"/home/mark/venvs/space/lib/python3.4/site-packages/myrmidon/Game.py\", line 221, in run_game\r\nWARNING:kivy:stderr:   File \"/home/mark/venvs/space/lib/python3.4/site-packages/myrmidon/Game.py\", line 221, in run_game\r\n     cls.engine['window'].open_window()\r\nWARNING:kivy:stderr:     cls.engine['window'].open_window()\r\n   File \"/home/mark/venvs/space/lib/python3.4/site-packages/myrmidon/engine/window/kivy/engine.py\", line 145, in open_window\r\nWARNING:kivy:stderr:   File \"/home/mark/venvs/space/lib/python3.4/site-packages/myrmidon/engine/window/kivy/engine.py\", line 145, in open_window\r\n     self.kivy_app.run()\r\nWARNING:kivy:stderr:     self.kivy_app.run()\r\n   File \"/home/mark/venvs/space/lib/python3.4/site-packages/kivy/app.py\", line 825, in run\r\nWARNING:kivy:stderr:   File \"/home/mark/venvs/space/lib/python3.4/site-packages/kivy/app.py\", line 825, in run\r\n     runTouchApp()\r\nWARNING:kivy:stderr:     runTouchApp()\r\n   File \"/home/mark/venvs/space/lib/python3.4/site-packages/kivy/base.py\", line 484, in runTouchApp\r\nWARNING:kivy:stderr:   File \"/home/mark/venvs/space/lib/python3.4/site-packages/kivy/base.py\", line 484, in runTouchApp\r\n     EventLoop.window.mainloop()\r\nWARNING:kivy:stderr:     EventLoop.window.mainloop()\r\n   File \"/home/mark/venvs/space/lib/python3.4/site-packages/kivy/core/window/window_pygame.py\", line 378, in mainloop\r\nWARNING:kivy:stderr:   File \"/home/mark/venvs/space/lib/python3.4/site-packages/kivy/core/window/window_pygame.py\", line 378, in mainloop\r\n     self._mainloop()\r\nWARNING:kivy:stderr:     self._mainloop()\r\n   File \"/home/mark/venvs/space/lib/python3.4/site-packages/kivy/core/window/window_pygame.py\", line 282, in _mainloop\r\nWARNING:kivy:stderr:   File \"/home/mark/venvs/space/lib/python3.4/site-packages/kivy/core/window/window_pygame.py\", line 282, in _mainloop\r\n     EventLoop.idle()\r\nWARNING:kivy:stderr:     EventLoop.idle()\r\n   File \"/home/mark/venvs/space/lib/python3.4/site-packages/kivy/base.py\", line 324, in idle\r\nWARNING:kivy:stderr:   File \"/home/mark/venvs/space/lib/python3.4/site-packages/kivy/base.py\", line 324, in idle\r\n     Clock.tick()\r\nWARNING:kivy:stderr:     Clock.tick()\r\n   File \"/home/mark/venvs/space/lib/python3.4/site-packages/kivy/clock.py\", line 483, in tick\r\nWARNING:kivy:stderr:   File \"/home/mark/venvs/space/lib/python3.4/site-packages/kivy/clock.py\", line 483, in tick\r\n     self._process_events()\r\nWARNING:kivy:stderr:     self._process_events()\r\n   File \"/home/mark/venvs/space/lib/python3.4/site-packages/kivy/clock.py\", line 615, in _process_events\r\nWARNING:kivy:stderr:   File \"/home/mark/venvs/space/lib/python3.4/site-packages/kivy/clock.py\", line 615, in _process_events\r\n     event.tick(self._last_tick, remove)\r\nWARNING:kivy:stderr:     event.tick(self._last_tick, remove)\r\n   File \"/home/mark/venvs/space/lib/python3.4/site-packages/kivy/clock.py\", line 374, in tick\r\nWARNING:kivy:stderr:   File \"/home/mark/venvs/space/lib/python3.4/site-packages/kivy/clock.py\", line 374, in tick\r\n     ret = callback(self._dt)\r\nWARNING:kivy:stderr:     ret = callback(self._dt)\r\n   File \"/home/mark/venvs/space/lib/python3.4/site-packages/myrmidon/Game.py\", line 255, in app_loop_callback\r\nWARNING:kivy:stderr:   File \"/home/mark/venvs/space/lib/python3.4/site-packages/myrmidon/Game.py\", line 255, in app_loop_callback\r\n     entity._iterate_generator()\r\nWARNING:kivy:stderr:     entity._iterate_generator()\r\n   File \"/home/mark/venvs/space/lib/python3.4/site-packages/myrmidon/Entity.py\", line 167, in _iterate_generator\r\nWARNING:kivy:stderr:   File \"/home/mark/venvs/space/lib/python3.4/site-packages/myrmidon/Entity.py\", line 167, in _iterate_generator\r\n     return_val = next(self._state_generators[self._current_state])\r\nWARNING:kivy:stderr:     return_val = next(self._state_generators[self._current_state])\r\n   File \"/home/mark/venvs/space/lib/python3.4/site-packages/game_common-0.0.1-py3.4.egg/game_common/gui.py\", line 20, in execute\r\nWARNING:kivy:stderr:   File \"/home/mark/venvs/space/lib/python3.4/site-packages/game_common-0.0.1-py3.4.egg/game_common/gui.py\", line 20, in execute\r\n   File \"/home/mark/venvs/space/lib/python3.4/site-packages/myrmidon/engine/gfx/kivy/engine.py\", line 429, in text\r\nWARNING:kivy:stderr:   File \"/home/mark/venvs/space/lib/python3.4/site-packages/myrmidon/engine/gfx/kivy/engine.py\", line 429, in text\r\n     self.destroy_text_image()\r\nWARNING:kivy:stderr:     self.destroy_text_image()\r\n   File \"/home/mark/venvs/space/lib/python3.4/site-packages/myrmidon/engine/gfx/kivy/engine.py\", line 444, in destroy_text_image\r\nWARNING:kivy:stderr:   File \"/home/mark/venvs/space/lib/python3.4/site-packages/myrmidon/engine/gfx/kivy/engine.py\", line 444, in destroy_text_image\r\n     self.image.destroy()\r\nWARNING:kivy:stderr:     self.image.destroy()\r\n   File \"/home/mark/venvs/space/lib/python3.4/site-packages/myrmidon/engine/gfx/kivy/engine.py\", line 342, in destroy\r\nWARNING:kivy:stderr:   File \"/home/mark/venvs/space/lib/python3.4/site-packages/myrmidon/engine/gfx/kivy/engine.py\", line 342, in destroy\r\n     self.image.remove_from_cache()\r\nWARNING:kivy:stderr:     self.image.remove_from_cache()\r\n   File \"/home/mark/venvs/space/lib/python3.4/site-packages/kivy/core/image/__init__.py\", line 482, in remove_from_cache\r\nWARNING:kivy:stderr:   File \"/home/mark/venvs/space/lib/python3.4/site-packages/kivy/core/image/__init__.py\", line 482, in remove_from_cache\r\n     pat = type(f)(u'%s|%d|%d')\r\nWARNING:kivy:stderr:     pat = type(f)(u'%s|%d|%d')\r\n TypeError: NoneType takes no arguments\r\nWARNING:kivy:stderr: TypeError: NoneType takes no arguments\r\n```"}}