{"action":"created","issue":{"url":"https://api.github.com/repos/3b1b/manim/issues/12","repository_url":"https://api.github.com/repos/3b1b/manim","labels_url":"https://api.github.com/repos/3b1b/manim/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/3b1b/manim/issues/12/comments","events_url":"https://api.github.com/repos/3b1b/manim/issues/12/events","html_url":"https://github.com/3b1b/manim/issues/12","id":187811519,"number":12,"title":"Error with PIL?","user":{"login":"GreatNoyz","id":3750077,"avatar_url":"https://avatars.githubusercontent.com/u/3750077?v=3","gravatar_id":"","url":"https://api.github.com/users/GreatNoyz","html_url":"https://github.com/GreatNoyz","followers_url":"https://api.github.com/users/GreatNoyz/followers","following_url":"https://api.github.com/users/GreatNoyz/following{/other_user}","gists_url":"https://api.github.com/users/GreatNoyz/gists{/gist_id}","starred_url":"https://api.github.com/users/GreatNoyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GreatNoyz/subscriptions","organizations_url":"https://api.github.com/users/GreatNoyz/orgs","repos_url":"https://api.github.com/users/GreatNoyz/repos","events_url":"https://api.github.com/users/GreatNoyz/events{/privacy}","received_events_url":"https://api.github.com/users/GreatNoyz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-07T19:57:36Z","updated_at":"2016-11-10T20:04:57Z","closed_at":null,"body":"Hello, I tried running the command 'python extract_scene.py -p example_scenes.py SquareToCircle' as instructed. I have install all requirements and the project looks fine and all. But in console, I'm getting this error, could someone enlightening me on this problem.\r\n\r\nStevens-MacBook-Pro:manim Steven$ python extract_scene.py -p example_scenes.py SquareToCircle\r\n\r\n\r\n\r\nTraceback (most recent call last):\r\n  File \"extract_scene.py\", line 173, in main\r\n    handle_scene(SceneClass(**scene_kwargs), **config)\r\n  File \"/Users/Steven/PycharmProjects/manim/scene/scene.py\", line 36, in __init__\r\n    self.construct(*self.construct_args)\r\n  File \"/Users/Steven/PycharmProjects/manim/./example_scenes.py\", line 34, in construct\r\n    self.play(ShowCreation(square))\r\n  File \"/Users/Steven/PycharmProjects/manim/scene/scene.py\", line 240, in play\r\n    self.update_frame(static_mobjects)\r\n  File \"/Users/Steven/PycharmProjects/manim/scene/scene.py\", line 70, in update_frame\r\n    self.camera.capture_mobjects(mobjects, **kwargs)\r\n  File \"/Users/Steven/PycharmProjects/manim/camera.py\", line 84, in capture_mobjects\r\n    canvas = aggdraw.Draw(image)\r\n  File \"/Users/Steven/Library/Python/2.7/lib/python/site-packages/PIL/Image.py\", line 510, in __getattr__\r\n    raise AttributeError(name)\r\nAttributeError: tobytes\r\n\r\n\r\n\r\nsh: play: command not found\r\n\r\nI've reviewed the code over and over again but maybe I'm just not understanding the process behind it. But I'm at a loss, any help would be much appreciated.\r\n"},"comment":{"url":"https://api.github.com/repos/3b1b/manim/issues/comments/259793045","html_url":"https://github.com/3b1b/manim/issues/12#issuecomment-259793045","issue_url":"https://api.github.com/repos/3b1b/manim/issues/12","id":259793045,"user":{"login":"dystricht","id":12385976,"avatar_url":"https://avatars.githubusercontent.com/u/12385976?v=3","gravatar_id":"","url":"https://api.github.com/users/dystricht","html_url":"https://github.com/dystricht","followers_url":"https://api.github.com/users/dystricht/followers","following_url":"https://api.github.com/users/dystricht/following{/other_user}","gists_url":"https://api.github.com/users/dystricht/gists{/gist_id}","starred_url":"https://api.github.com/users/dystricht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dystricht/subscriptions","organizations_url":"https://api.github.com/users/dystricht/orgs","repos_url":"https://api.github.com/users/dystricht/repos","events_url":"https://api.github.com/users/dystricht/events{/privacy}","received_events_url":"https://api.github.com/users/dystricht/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T20:04:57Z","updated_at":"2016-11-10T20:04:57Z","body":"I am also stuck on this same issue. Will post more info and my workaround momentarily."}}
{"actor":{"display_login":"dystricht"}}