Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'falco_ui.favicons' #2

Open
Mte90 opened this issue Oct 25, 2024 · 3 comments
Open

ModuleNotFoundError: No module named 'falco_ui.favicons' #2

Mte90 opened this issue Oct 25, 2024 · 3 comments

Comments

@Mte90
Copy link

Mte90 commented Oct 25, 2024

I was following the guide on https://falco.oluwatobi.dev/the_cli/usage.html and I get this error:

Environment `default` already exists
Environment `dev` already exists
Environment `docs` already exists
Python 3.12.7
pre-commit installed at .git/hooks/pre-commit
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/www/indovina/manage.py", line 23, in <module>
    main()
  File "/home/www/indovina/manage.py", line 19, in main
    execute_from_command_line(sys.argv)
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/core/management/__init__.py", line 416, in execute
    django.setup()
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/apps/registry.py", line 91, in populate
    app_config = AppConfig.create(entry)
                 ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/apps/config.py", line 193, in create
    import_module(entry)
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'falco_ui.favicons'
error: Recipe `run` failed on line 48 with exit code 1
error: Recipe `dj` failed on line 89 with exit code 1
error: Recipe `migrate` failed on line 111 with exit code 1
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/www/indovina/manage.py", line 23, in <module>
    main()
  File "/home/www/indovina/manage.py", line 19, in main
    execute_from_command_line(sys.argv)
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/core/management/__init__.py", line 416, in execute
    django.setup()
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/apps/registry.py", line 91, in populate
    app_config = AppConfig.create(entry)
                 ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/apps/config.py", line 193, in create
    import_module(entry)
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'falco_ui.favicons'
error: Recipe `run` failed on line 48 with exit code 1
error: Recipe `dj` failed on line 89 with exit code 1
error: Recipe `createsuperuser` failed with exit code 1

Looking in this repository the favicons stuff is missing

@Mte90
Copy link
Author

Mte90 commented Oct 25, 2024

It was enough to remove on settings.py and urls.py the mention

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant