Traceback (most recent call last):


 "/home/kosc/.local/lib64/python3.5/site-packages/django/core/handlers/exception.py", line 42, in inner

response = get_response(request)


 "/home/kosc/.local/lib64/python3.5/site-packages/django/core/handlers/base.py", line 187, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/home/kosc/.local/lib64/python3.5/site-packages/django/core/handlers/base.py", line 185, in _get_response

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


 "/home/kosc/.local/lib64/python3.5/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view

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


 "/home/kosc/.local/lib64/python3.5/site-packages/django/views/generic/base.py", line 68, in view

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


 "/home/kosc/.local/lib64/python3.5/site-packages/oscar/apps/dashboard/catalogue/views.py", line 206, in dispatch

request, *args, **kwargs)


 "/home/kosc/.local/lib64/python3.5/site-packages/django/views/generic/base.py", line 88, in dispatch

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


 "/home/kosc/.local/lib64/python3.5/site-packages/django/views/generic/edit.py", line 236, in get

return super(BaseUpdateView, self).get(request, *args, **kwargs)


 "/home/kosc/.local/lib64/python3.5/site-packages/django/views/generic/edit.py", line 174, in get

return self.render_to_response(self.get_context_data())


 "/home/kosc/.local/lib64/python3.5/site-packages/oscar/apps/dashboard/catalogue/views.py", line 261, in get_context_data

ctx = super(ProductCreateUpdateView, self).get_context_data(**kwargs)


 "/home/kosc/.local/lib64/python3.5/site-packages/django/views/generic/edit.py", line 93, in get_context_data

kwargs['form'] = self.get_form()


 "/home/kosc/.local/lib64/python3.5/site-packages/django/views/generic/edit.py", line 45, in get_form

return form_class(**self.get_form_kwargs())


 "/home/kosc/.local/lib64/python3.5/site-packages/oscar/apps/dashboard/catalogue/forms.py", line 264, in __init__

self.add_attribute_fields(product_class, self.instance.is_parent)


 "/home/kosc/.local/lib64/python3.5/site-packages/oscar/apps/dashboard/catalogue/forms.py", line 305, in add_attribute_fields

field = self.get_attribute_field(attribute)


 "/home/kosc/.local/lib64/python3.5/site-packages/oscar/apps/dashboard/catalogue/forms.py", line 316, in get_attribute_field

return self.FIELD_FACTORIES[attribute.type](attribute)


 "/home/kosc/.local/lib64/python3.5/site-packages/oscar/apps/dashboard/catalogue/forms.py", line 192, in _attr_option_field

queryset=attribute.option_group.options.all())
AttributeError: 'NoneType' object has no attribute 'options'

Traceback (most recent call last):


 "/usr/local/bin/khal", line 11, in <module>

sys.exit(main_khal())


 "/usr/lib/python3/dist-packages/click/core.py", line 716, in __call__

return self.main(*args, **kwargs)


 "/usr/lib/python3/dist-packages/click/core.py", line 696, in main

rv = self.invoke(ctx)


 "/usr/lib/python3/dist-packages/click/core.py", line 1060, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/usr/lib/python3/dist-packages/click/core.py", line 889, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/usr/lib/python3/dist-packages/click/core.py", line 534, in invoke

return callback(*args, **kwargs)


 "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in new_func

return f(get_current_context(), *args, **kwargs)


 "/usr/local/lib/python3.5/dist-packages/khal/cli.py", line 625, in configure

configwizard.configwizard()


 "/usr/local/lib/python3.5/dist-packages/khal/configwizard.py", line 206, in configwizard

vdirs = get_vdirs_from_vdirsyncer_config()


 "/usr/local/lib/python3.5/dist-packages/khal/configwizard.py", line 119, in get_vdirs_from_vdirsyncer_config

from vdirsyncer.cli import config


 "/usr/lib/python3/dist-packages/vdirsyncer/cli/__init__.py", line 41, in <module>

@click_log.init('vdirsyncer')
AttributeError: module 'click_log' has no attribute 'init'
