Traceback (most recent call last):


 "manage.py", line 10, in <module>

execute_from_command_line(sys.argv)


 "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line

utility.execute()


 "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 356, in execute

self.fetch_command(subcommand).run_from_argv(self.argv)


 "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/base.py", line 283, in run_from_argv

self.execute(*args, **cmd_options)


 "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/base.py", line 330, in execute

output = self.handle(*args, **options)


 "/app/saleor/core/management/commands/populatedb.py", line 58, in handle

stdout=self.stdout)


 "/app/saleor/core/utils/random_data.py", line 245, in create_products_by_schema

how_many=how_many, create_images=create_images, stdout=stdout)


 "/app/saleor/core/utils/random_data.py", line 209, in create_products_by_class

product = create_product(product_class=product_class)


 "/app/saleor/core/utils/random_data.py", line 287, in create_product

return Product.objects.create(**defaults)


 "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/manager.py", line 85, in manager_method

return getattr(self.get_queryset(), name)(*args, **kwargs)


 "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/query.py", line 394, in create

obj.save(force_insert=True, using=self.db)


 "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/base.py", line 807, in save

force_update=force_update, update_fields=update_fields)


 "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/base.py", line 847, in save_base

update_fields=update_fields, raw=raw, using=using,


 "/app/.heroku/python/lib/python3.6/site-packages/django/dispatch/dispatcher.py", line 193, in send

for receiver in self._live_receivers(sender)


 "/app/.heroku/python/lib/python3.6/site-packages/django/dispatch/dispatcher.py", line 193, in <listcomp>

for receiver in self._live_receivers(sender)


 "/app/.heroku/python/lib/python3.6/site-packages/django_elasticsearch_dsl/signals.py", line 51, in handle_save

registry.update(instance)


 "/app/.heroku/python/lib/python3.6/site-packages/django_elasticsearch_dsl/registries.py", line 40, in update

doc().update(instance, **kwargs)


 "/app/.heroku/python/lib/python3.6/site-packages/django_elasticsearch_dsl/documents.py", line 216, in update

self._get_actions(object_list, action), **kwargs


 "/app/.heroku/python/lib/python3.6/site-packages/django_elasticsearch_dsl/documents.py", line 176, in bulk

return bulk(client=self.connection, actions=actions, **kwargs)


 "/app/.heroku/python/lib/python3.6/site-packages/elasticsearch/helpers/__init__.py", line 257, in bulk

for ok, item in streaming_bulk(client, actions, **kwargs):


 "/app/.heroku/python/lib/python3.6/site-packages/elasticsearch/helpers/__init__.py", line 192, in streaming_bulk

raise_on_error, **kwargs)


 "/app/.heroku/python/lib/python3.6/site-packages/elasticsearch/helpers/__init__.py", line 137, in _process_bulk_chunk

raise BulkIndexError('%i document(s) failed to index.' % len(errors), errors)
elasticsearch.helpers.BulkIndexError: ('1 document(s) failed to index.', [{'index': {'_index': 'storefront', '_type': 'product_document', '_id': '1', 'status': 404, 'error': {'type': 'index_not_found_exception', 'reason': "no such index and [action.auto_create_index] ([*logstash*,*requests*,*events*,*.kibana*,*kibana-int*,*filebeat*]) doesn't match", 'index_uuid': '_na_', 'index': 'storefront'}, 'data': {'title': 'Day-Santana', 'name': 'Day-Santana', 'description': 'Harum et aliquam quo nemo aliquam voluptates magni. Incidunt eligendi adipisci temporibus magni adipisci. Consequuntur laudantium ut numquam soluta nisi possimus aut. Consectetur veniam ab est culpa unde amet.\n\nPossimus voluptatem necessitatibus magnam voluptatem provident laudantium dolore perferendis. Aliquid nostrum cupiditate earum cupiditate qui. Quas dolorum tempore magni recusandae ducimus.\n\nQuod fuga occaecati earum hic architecto rerum. Quae magnam repellendus placeat alias dicta vero. Repudiandae sed sequi velit voluptatum repudiandae itaque reiciendis.\n\nSimilique modi pariatur perspiciatis molestiae corrupti quod. Deleniti enim autem suscipit tempore. Qui pariatur repudiandae culpa maiores quisquam.\n\nProvident sint consectetur doloribus sint. Voluptas nemo enim suscipit consequuntur quo quaerat eligendi. Ipsa amet aliquid quaerat officia eligendi maxime.', 'is_published': True}}}])

Traceback (most recent call last):


 "C:\Users\dummy\tracker.py", line 7, in <module>

db = TinyDB('leave_db.json')


 "C:\Program 
s (x86)\Python36-32\lib\site-packages\tinydb\database.py", line 142, in __init__

self._storage = storage(*args, **kwargs)


 "C:\Program 
s (x86)\Python36-32\lib\site-packages\tinydb\storages.py", line 89, in __init__

touch(path, create_dirs=create_dirs)
# Create file if not exists


 "C:\Program 
s (x86)\Python36-32\lib\site-packages\tinydb\storages.py", line 24, in touch

with open(fname, 'a'):
PermissionError: [Errno 13] Permission denied: 'leave_db.json'
