Error running manage.py #1461
Unanswered
smhavens
asked this question in
Help and support
Replies: 2 comments 5 replies
-
|
What steps did you run before the command https://github.com/CiviWiki/OpenCiviWiki/blob/develop/CONTRIBUTING.md#development |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
On what branch are you running the commands? E.g., |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am new to helping with GitHub projects and am trying to set up the environment but am encountering errors when trying to run:
python manage.py migrate
I am in the virtual environment and have been following contributing.md so far.
The error I'm getting is:
Traceback (most recent call last):
File "/usr/lib/python3.7/logging/config.py", line 384, in resolve
found = self.importer(used)
ModuleNotFoundError: No module named 'rich'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.7/logging/config.py", line 563, in configure
handler = self.configure_handler(handlers[name])
File "/usr/lib/python3.7/logging/config.py", line 713, in configure_handler
klass = self.resolve(cname)
File "/usr/lib/python3.7/logging/config.py", line 397, in resolve
raise v
File "/usr/lib/python3.7/logging/config.py", line 384, in resolve
found = self.importer(used)
ValueError: Cannot resolve 'rich.logging.RichHandler': No module named 'rich'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/home/smhavens/.cache/pypoetry/virtualenvs/openciviwiki-j-m8AIYH-py3.9/lib/python3.7/site-packages/django/core/management/init.py", line 419, in execute_from_command_line
utility.execute()
File "/home/smhavens/.cache/pypoetry/virtualenvs/openciviwiki-j-m8AIYH-py3.9/lib/python3.7/site-packages/django/core/management/init.py", line 395, in execute
django.setup()
File "/home/smhavens/.cache/pypoetry/virtualenvs/openciviwiki-j-m8AIYH-py3.9/lib/python3.7/site-packages/django/init.py", line 19, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/home/smhavens/.cache/pypoetry/virtualenvs/openciviwiki-j-m8AIYH-py3.9/lib/python3.7/site-packages/django/utils/log.py", line 75, in configure_logging
logging_config_func(logging_settings)
File "/usr/lib/python3.7/logging/config.py", line 800, in dictConfig
dictConfigClass(config).configure()
File "/usr/lib/python3.7/logging/config.py", line 571, in configure
'%r' % name) from e
ValueError: Unable to configure handler 'console'
And all future steps running manage.py get the exact same error output, all with "ValueError: Unable to configure handler 'console'".
Any help would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions