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 was attempting to set up huxley in a local testing environment when I came across an error, which I assume is regarding the logging system. I followed every step in the initial setup documentation but very well may have missed something. Would appreciate any help as I'm trying to get huxley set up for my local HS MUN conference. Thanks!
Watching for file changes with StatReloader
Exception in thread django-main-thread:
Traceback (most recent call last):
File "/usr/lib/python3.10/logging/config.py", line 390, in resolve
found = getattr(found, frag)
AttributeError: partially initialized module 'huxley' has no attribute 'logging' (most likely due to a circular import)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.10/logging/config.py", line 565, in configure
handler = self.configure_handler(handlers[name])
File "/usr/lib/python3.10/logging/config.py", line 723, in configure_handler
klass = self.resolve(cname)
File "/usr/lib/python3.10/logging/config.py", line 393, in resolve
found = getattr(found, frag)
AttributeError: partially initialized module 'huxley' has no attribute 'logging' (most likely due to a circular import)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.10/logging/config.py", line 565, in configure
handler = self.configure_handler(handlers[name])
File "/usr/lib/python3.10/logging/config.py", line 723, in configure_handler
klass = self.resolve(cname)
File "/usr/lib/python3.10/logging/config.py", line 386, in resolve
found = self.importer(used)
File "/home/bardia/Projects/huxley/huxley/__init__.py", line 4, in <module>
from .celery import app as celery_app
File "/home/bardia/Projects/huxley/huxley/celery.py", line 9, in <module>
django.setup()
File "/home/bardia/.virtualenvs/huxley/lib/python3.10/site-packages/django/__init__.py", line 19, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/home/bardia/.virtualenvs/huxley/lib/python3.10/site-packages/django/utils/log.py", line 76, in configure_logging
logging_config_func(logging_settings)
File "/usr/lib/python3.10/logging/config.py", line 811, in dictConfig
dictConfigClass(config).configure()
File "/usr/lib/python3.10/logging/config.py", line 572, in configure
raise ValueError('Unable to configure handler '
ValueError: Unable to configure handler 'database'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/home/bardia/.virtualenvs/huxley/lib/python3.10/site-packages/django/utils/autoreload.py", line 54, in wrapper
fn(*args, **kwargs)
File "/home/bardia/.virtualenvs/huxley/lib/python3.10/site-packages/django/core/management/commands/runserver.py", line 109, in inner_run
autoreload.raise_last_exception()
File "/home/bardia/.virtualenvs/huxley/lib/python3.10/site-packages/django/utils/autoreload.py", line 77, in raise_last_exception
raise _exception[1]
File "/home/bardia/.virtualenvs/huxley/lib/python3.10/site-packages/django/core/management/__init__.py", line 337, in execute
autoreload.check_errors(django.setup)()
File "/home/bardia/.virtualenvs/huxley/lib/python3.10/site-packages/django/utils/autoreload.py", line 54, in wrapper
fn(*args, **kwargs)
File "/home/bardia/.virtualenvs/huxley/lib/python3.10/site-packages/django/__init__.py", line 19, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/home/bardia/.virtualenvs/huxley/lib/python3.10/site-packages/django/utils/log.py", line 76, in configure_logging
logging_config_func(logging_settings)
File "/usr/lib/python3.10/logging/config.py", line 811, in dictConfig
dictConfigClass(config).configure()
File "/usr/lib/python3.10/logging/config.py", line 572, in configure
raise ValueError('Unable to configure handler '
ValueError: Unable to configure handler 'database'
The text was updated successfully, but these errors were encountered:
I was attempting to set up huxley in a local testing environment when I came across an error, which I assume is regarding the logging system. I followed every step in the initial setup documentation but very well may have missed something. Would appreciate any help as I'm trying to get huxley set up for my local HS MUN conference. Thanks!
The text was updated successfully, but these errors were encountered: