You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have SWIFT_AUTO_BASE_URL=False and SWIFT_BASE_URL in my config, yet it looks like publicURL is retrieved from keystone.
The first traceback is not complete, any idea why?
Is the last traceback an actual error or just a consequence of the first one?
Traceback (most recent call last):
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/keystoneclient/service_catalog.py", line 266, in url_for
return urls[0]
TypeError: 'NoneType' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/swiftclient/client.py", line 692, in get_auth_keystone
endpoint = _ksclient.service_catalog.url_for(
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/keystoneclient/service_catalog.py", line 294, in url_for
raise exceptions.EndpointNotFound(msg)
keystoneauth1.exceptions.catalog.EndpointNotFound: publicURL endpoint for object-store service not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/swift/storage.py", line 200, in _check_container
self.swift_conn.head_container(self.container_name)
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/swiftclient/client.py", line 1865, in head_container
return self._retry(None, head_container, container, headers=headers)
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/swiftclient/client.py", line 1785, in _retry
self.url, self.token = self.get_auth()
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/swiftclient/client.py", line 1729, in get_auth
self.url, self.token = get_auth(self.authurl, self.user, self.key,
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/swiftclient/client.py", line 770, in get_auth
storage_url, token = get_auth_keystone(auth_url, user,
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/swiftclient/client.py", line 697, in get_auth_keystone
raise ClientException('Endpoint for %s not found - '
swiftclient.exceptions.ClientException: Endpoint for object-store not found - have you specified a region?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/wagtail/admin/urls/__init__.py", line 108, in wrapper
return view_func(request, *args, **kwargs)
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/wagtail/admin/auth.py", line 168, in decorated_view
return view_func(request, *args, **kwargs)
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/wagtail/admin/auth.py", line 59, in wrapped_view_func
return view_func(request, *args, **kwargs)
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/views/decorators/vary.py", line 20, in inner_func
response = func(*args, **kwargs)
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/wagtail/images/views/multiple.py", line 74, in add
image.save()
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/db/models/base.py", line 745, in save
self.save_base(using=using, force_insert=force_insert,
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/db/models/base.py", line 782, in save_base
updated = self._save_table(
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/db/models/base.py", line 887, in _save_table
results = self._do_insert(cls._base_manager, using, fields, returning_fields, raw)
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/db/models/base.py", line 924, in _do_insert
return manager._insert(
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/db/models/manager.py", line 82, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/db/models/query.py", line 1204, in _insert
return query.get_compiler(using=using).execute_sql(returning_fields)
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1391, in execute_sql
for sql, params in self.as_sql():
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1334, in as_sql
value_rows = [
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1335, in <listcomp>
[self.prepare_value(field, self.pre_save_val(field, obj)) for field in fields]
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1335, in <listcomp>
[self.prepare_value(field, self.pre_save_val(field, obj)) for field in fields]
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1286, in pre_save_val
return field.pre_save(obj, add=True)
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/db/models/fields/files.py", line 288, in pre_save
file.save(file.name, file.file, save=False)
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/db/models/fields/files.py", line 86, in save
name = self.field.generate_filename(self.instance, name)
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/db/models/fields/files.py", line 303, in generate_filename
filename = self.upload_to(instance, filename)
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/wagtail/images/models.py", line 48, in get_upload_to
return instance.get_upload_to(filename)
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/wagtail/images/models.py", line 129, in get_upload_to
filename = self.file.field.storage.get_valid_name(filename)
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/utils/functional.py", line 224, in inner
self._setup()
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/django/core/files/storage.py", line 364, in _setup
self._wrapped = get_storage_class()()
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/swift/storage.py", line 178, in __init__
self.swift_conn
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/swift/storage.py", line 192, in swift_conn
self._check_container()
File "/home/f.ludwig/.local/share/virtualenvs/backend-wagtail-YmeRscem/lib/python3.8/site-packages/swift/storage.py", line 212, in _check_container
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: Container media does not exist.
The text was updated successfully, but these errors were encountered:
I have
SWIFT_AUTO_BASE_URL=False
andSWIFT_BASE_URL
in my config, yet it looks like publicURL is retrieved from keystone.The first traceback is not complete, any idea why?
Is the last traceback an actual error or just a consequence of the first one?
The text was updated successfully, but these errors were encountered: