Traceback (most recent call last):


 "generate.py", line 42, in <module>

main()


 "generate.py", line 38, in main

f.write(composer.to_dockerfile())


 "/home/deepo/deepo/generator/core/composer.py", line 59, in to_dockerfile

]) for m in self.instances


 "/home/deepo/deepo/generator/modules/python.py", line 17, in build

if self.composer.ubuntu_ver.startswith("18."):
AttributeError: 'NoneType' object has no attribute 'startswith'

Traceback (most recent call last):


 "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.4/site-packages/django/core/handlers/exception.py", line 35, in inner

response = get_response(request)


 "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.4/site-packages/django/core/handlers/base.py", line 128, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.4/site-packages/django/core/handlers/base.py", line 126, in _get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)


 "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.4/site-packages/django/views/decorators/cache.py", line 31, in _cache_controlled

response = viewfunc(request, *args, **kw)


 "/vagrant/wagtail/wagtail/admin/urls/__init__.py", line 102, in wrapper

return view_func(request, *args, **kwargs)


 "/vagrant/wagtail/wagtail/admin/decorators.py", line 34, in decorated_view

return view_func(request, *args, **kwargs)


 "/vagrant/wagtail/wagtail/api/v2/router.py", line 63, in wrapped

return func(request, *args, **kwargs)


 "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.4/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view

return view_func(*args, **kwargs)


 "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.4/site-packages/rest_framework/viewsets.py", line 95, in view

return self.dispatch(request, *args, **kwargs)


 "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.4/site-packages/rest_framework/views.py", line 494, in dispatch

response = self.handle_exception(exc)


 "/vagrant/wagtail/wagtail/api/v2/endpoints.py", line 116, in handle_exception

return super().handle_exception(exc)


 "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.4/site-packages/rest_framework/views.py", line 454, in handle_exception

self.raise_uncaught_exception(exc)


 "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.4/site-packages/rest_framework/views.py", line 491, in dispatch

response = handler(request, *args, **kwargs)


 "/vagrant/wagtail/wagtail/admin/api/endpoints.py", line 94, in listing_view

response = super().listing_view(request)


 "/vagrant/wagtail/wagtail/api/v2/endpoints.py", line 74, in listing_view

return self.get_paginated_response(serializer.data)


 "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.4/site-packages/rest_framework/serializers.py", line 742, in data

ret = super(ListSerializer, self).data


 "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.4/site-packages/rest_framework/serializers.py", line 262, in data

self._data = self.to_representation(self.instance)


 "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.4/site-packages/rest_framework/serializers.py", line 660, in to_representation

self.child.to_representation(item) for item in iterable


 "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.4/site-packages/rest_framework/serializers.py", line 660, in <listcomp>

self.child.to_representation(item) for item in iterable


 "/vagrant/wagtail/wagtail/api/v2/serializers.py", line 275, in to_representation

meta[field.field_name] = field.to_representation(attribute)


 "/vagrant/wagtail/wagtail/api/v2/serializers.py", line 82, in to_representation

name = page.specific_class._meta.app_label + '.' + page.specific_class.__name__

AttributeError: 'NoneType' object has no attribute '_meta'
