{"action":"opened","issue":{"url":"https://api.github.com/repos/torchbox/wagtaildemo/issues/94","repository_url":"https://api.github.com/repos/torchbox/wagtaildemo","labels_url":"https://api.github.com/repos/torchbox/wagtaildemo/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/torchbox/wagtaildemo/issues/94/comments","events_url":"https://api.github.com/repos/torchbox/wagtaildemo/issues/94/events","html_url":"https://github.com/torchbox/wagtaildemo/issues/94","id":165748461,"number":94,"title":"Error on importing html5lib package","user":{"login":"diansheng","id":1451996,"avatar_url":"https://avatars.githubusercontent.com/u/1451996?v=3","gravatar_id":"","url":"https://api.github.com/users/diansheng","html_url":"https://github.com/diansheng","followers_url":"https://api.github.com/users/diansheng/followers","following_url":"https://api.github.com/users/diansheng/following{/other_user}","gists_url":"https://api.github.com/users/diansheng/gists{/gist_id}","starred_url":"https://api.github.com/users/diansheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diansheng/subscriptions","organizations_url":"https://api.github.com/users/diansheng/orgs","repos_url":"https://api.github.com/users/diansheng/repos","events_url":"https://api.github.com/users/diansheng/events{/privacy}","received_events_url":"https://api.github.com/users/diansheng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-15T09:41:01Z","updated_at":"2016-07-15T09:41:01Z","closed_at":null,"body":"While I attempt to run demo with the command `./manage.py makemigrations`, i came across import error on html5lib package. Here is my trackback.\r\n```\r\n(wagtail_demo_env) SeanMBP:wagtaildemo sean$ ./manage.py makemigrations\r\nTraceback (most recent call last):\r\n  File \"./manage.py\", line 10, in <module>\r\n    execute_from_command_line(sys.argv)\r\n  File \"/Users/diansheng/Codebox/tryout_django/wagtail_demo_env/lib/python2.7/site-packages/django/core/management/__init__.py\", line 353, in execute_from_command_line\r\n    utility.execute()\r\n  File \"/Users/diansheng/Codebox/tryout_django/wagtail_demo_env/lib/python2.7/site-packages/django/core/management/__init__.py\", line 327, in execute\r\n    django.setup()\r\n  File \"/Users/diansheng/Codebox/tryout_django/wagtail_demo_env/lib/python2.7/site-packages/django/__init__.py\", line 18, in setup\r\n    apps.populate(settings.INSTALLED_APPS)\r\n  File \"/Users/diansheng/Codebox/tryout_django/wagtail_demo_env/lib/python2.7/site-packages/django/apps/registry.py\", line 108, in populate\r\n    app_config.import_models(all_models)\r\n  File \"/Users/diansheng/Codebox/tryout_django/wagtail_demo_env/lib/python2.7/site-packages/django/apps/config.py\", line 202, in import_models\r\n    self.models_module = import_module(models_module_name)\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py\", line 37, in import_module\r\n    __import__(name)\r\n  File \"/Users/diansheng/Codebox/tryout_django/wagtail_demo_env/wagtaildemo/demo/models.py\", line 9, in <module>\r\n    from wagtail.wagtailcore.fields import RichTextField, StreamField\r\n  File \"/Users/diansheng/Codebox/tryout_django/wagtail_demo_env/lib/python2.7/site-packages/wagtail/wagtailcore/fields.py\", line 9, in <module>\r\n    from wagtail.wagtailcore.blocks import Block, BlockField, StreamBlock, StreamValue\r\n  File \"/Users/diansheng/Codebox/tryout_django/wagtail_demo_env/lib/python2.7/site-packages/wagtail/wagtailcore/blocks/__init__.py\", line 5, in <module>\r\n    from .field_block import *  # NOQA\r\n  File \"/Users/diansheng/Codebox/tryout_django/wagtail_demo_env/lib/python2.7/site-packages/wagtail/wagtailcore/blocks/field_block.py\", line 15, in <module>\r\n    from wagtail.wagtailcore.rich_text import RichText\r\n  File \"/Users/diansheng/Codebox/tryout_django/wagtail_demo_env/lib/python2.7/site-packages/wagtail/wagtailcore/rich_text.py\", line 11, in <module>\r\n    from wagtail.wagtailcore.whitelist import Whitelister\r\n  File \"/Users/diansheng/Codebox/tryout_django/wagtail_demo_env/lib/python2.7/site-packages/wagtail/wagtailcore/whitelist.py\", line 9, in <module>\r\n    from bs4 import BeautifulSoup, Comment, NavigableString, Tag\r\n  File \"/Users/diansheng/Codebox/tryout_django/wagtail_demo_env/lib/python2.7/site-packages/bs4/__init__.py\", line 30, in <module>\r\n    from .builder import builder_registry, ParserRejectedMarkup\r\n  File \"/Users/diansheng/Codebox/tryout_django/wagtail_demo_env/lib/python2.7/site-packages/bs4/builder/__init__.py\", line 314, in <module>\r\n    from . import _html5lib\r\n  File \"/Users/diansheng/Codebox/tryout_django/wagtail_demo_env/lib/python2.7/site-packages/bs4/builder/_html5lib.py\", line 70, in <module>\r\n    class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder):\r\nAttributeError: 'module' object has no attribute '_base'\r\n```"}}
{"actor":{"display_login":"diansheng"}}