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

Installing releases/1.0 adds unknown package html_email INSTALLED_APPS #17

Open
moellering opened this issue Oct 22, 2019 · 1 comment

Comments

@moellering
Copy link

moellering commented Oct 22, 2019

What happened?

After Installation (no stripe, no paypal, no sendcloud - all other settings like default) of the head of releases/1.0 (at d05d4be ) initialize_shop_demo crashed with the error

Traceback (most recent call last):
  File "/home/kevin/tmp/test_cookiecutter_djangoshop/my-shop/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/kevin/.virtualenvs/cookiecutter-django-shop/lib/python3.7/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
    utility.execute()
  File "/home/kevin/.virtualenvs/cookiecutter-django-shop/lib/python3.7/site-packages/django/core/management/__init__.py", line 338, in execute
    django.setup()
  File "/home/kevin/.virtualenvs/cookiecutter-django-shop/lib/python3.7/site-packages/django/__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/kevin/.virtualenvs/cookiecutter-django-shop/lib/python3.7/site-packages/django/apps/registry.py", line 85, in populate
    app_config = AppConfig.create(entry)
  File "/home/kevin/.virtualenvs/cookiecutter-django-shop/lib/python3.7/site-packages/django/apps/config.py", line 94, in create
    module = import_module(entry)
  File "/home/kevin/.virtualenvs/cookiecutter-django-shop/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'html_email'

What should've happened instead?

pipenv run ./manage.py initialize_shop_demo should run migrations and install fixtures.

Steps to reproduce

cookiecutter https://github.com/awesto/cookiecutter-django-shop --checkout releases/1.0 # paypal, stripe and sendcloud -> no; other settings default
cd my-shop
# replace select2 line in Pipfile (see #16 )
pipenv install --sequential
pipenv run ./manage.py initialize_shop_demo
@jrief
Copy link
Member

jrief commented Apr 11, 2020

does this still occur?

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

2 participants