{"action":"created","issue":{"url":"https://api.github.com/repos/i2y/mochi/issues/24","labels_url":"https://api.github.com/repos/i2y/mochi/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/i2y/mochi/issues/24/comments","events_url":"https://api.github.com/repos/i2y/mochi/issues/24/events","html_url":"https://github.com/i2y/mochi/issues/24","id":68800832,"number":24,"title":"examples/flask_demo.mochi failed with AttributeError: 'NoneType' object has no attribute 'loader'","user":{"login":"tlvu","id":11966697,"avatar_url":"https://avatars.githubusercontent.com/u/11966697?v=3","gravatar_id":"","url":"https://api.github.com/users/tlvu","html_url":"https://github.com/tlvu","followers_url":"https://api.github.com/users/tlvu/followers","following_url":"https://api.github.com/users/tlvu/following{/other_user}","gists_url":"https://api.github.com/users/tlvu/gists{/gist_id}","starred_url":"https://api.github.com/users/tlvu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlvu/subscriptions","organizations_url":"https://api.github.com/users/tlvu/orgs","repos_url":"https://api.github.com/users/tlvu/repos","events_url":"https://api.github.com/users/tlvu/events{/privacy}","received_events_url":"https://api.github.com/users/tlvu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-04-15T22:27:03Z","updated_at":"2015-04-18T02:16:35Z","closed_at":null,"body":"Traceback (most recent call last):\r\nFile \"/root/venv/mochi/bin/mochi\", line 9, in <module>\r\nload_entry_point('mochi==0.2.1', 'console_scripts', 'mochi')()\r\nFile \"/root/venv/mochi/lib/python3.4/site-packages/mochi-0.2.1-py3.4.egg/mochi/core/main.py\", line 192, in main\r\nload_file(args.file, global_env)\r\nFile \"/root/venv/mochi/lib/python3.4/site-packages/mochi-0.2.1-py3.4.egg/mochi/core/main.py\", line 49, in load_file\r\nreturn exec(compile_file(path), env)\r\nFile \"flask_demo.mochi\", line 3, in <module>\r\napp = Flask('demo')\r\nFile \"/root/venv/mochi/lib/python3.4/site-packages/flask/app.py\", line 319, in __init__\r\ntemplate_folder=template_folder)\r\nFile \"/root/venv/mochi/lib/python3.4/site-packages/flask/helpers.py\", line 741, in __init__\r\nself.root_path = get_root_path(self.import_name)\r\nFile \"/root/venv/mochi/lib/python3.4/site-packages/flask/helpers.py\", line 631, in get_root_path\r\nloader = pkgutil.get_loader(import_name)\r\nFile \"/usr/lib/python3.4/pkgutil.py\", line 467, in get_loader\r\nreturn find_loader(fullname)\r\nFile \"/usr/lib/python3.4/pkgutil.py\", line 488, in find_loader\r\nreturn spec.loader\r\nAttributeError: 'NoneType' object has no attribute 'loader'"},"comment":{"url":"https://api.github.com/repos/i2y/mochi/issues/comments/94115107","html_url":"https://github.com/i2y/mochi/issues/24#issuecomment-94115107","issue_url":"https://api.github.com/repos/i2y/mochi/issues/24","id":94115107,"user":{"login":"i2y","id":6240399,"avatar_url":"https://avatars.githubusercontent.com/u/6240399?v=3","gravatar_id":"","url":"https://api.github.com/users/i2y","html_url":"https://github.com/i2y","followers_url":"https://api.github.com/users/i2y/followers","following_url":"https://api.github.com/users/i2y/following{/other_user}","gists_url":"https://api.github.com/users/i2y/gists{/gist_id}","starred_url":"https://api.github.com/users/i2y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i2y/subscriptions","organizations_url":"https://api.github.com/users/i2y/orgs","repos_url":"https://api.github.com/users/i2y/repos","events_url":"https://api.github.com/users/i2y/events{/privacy}","received_events_url":"https://api.github.com/users/i2y/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T02:16:35Z","updated_at":"2015-04-18T02:16:35Z","body":"That sounds good!\r\nI used the first time Docker for this issue and got to like it."}}