Skip to content
New issue

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

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

Already on GitHub? # to your account

Heroku Build Fails #15

Open
jaivikram opened this issue Dec 17, 2016 · 0 comments
Open

Heroku Build Fails #15

jaivikram opened this issue Dec 17, 2016 · 0 comments

Comments

@jaivikram
Copy link

jaivikram commented Dec 17, 2016

Heroku Build Fails with the following error

     $ python manage.py collectstatic --noinput
       Traceback (most recent call last):
         File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 222, in run_from_argv
           self.execute(*args, **options.__dict__)
         File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 255, in execute
           output = self.handle(*args, **options)
         File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 385, in handle
           return self.handle_noargs(**options)
         File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 164, in handle_noargs
           collected = self.collect()
         File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 104, in collect
           for finder in finders.get_finders():
         File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/staticfiles/finders.py", line 253, in get_finders
           yield get_finder(finder_path)
         File "/app/.heroku/python/lib/python2.7/site-packages/django/utils/functional.py", line 31, in wrapper
           result = func(*args)
         File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/staticfiles/finders.py", line 266, in _get_finder
           (module, e))
       ImproperlyConfigured: Error importing module compressor.finders: "No module named apps"
 !     Error while running '$ python manage.py collectstatic --noinput'.
       See traceback above for details.
       You may need to update application code to resolve this error.
       Or, you can disable collectstatic for this application:
          $ heroku config:set DISABLE_COLLECTSTATIC=1
       https://devcenter.heroku.com/articles/django-assets
 !     Push rejected, failed to compile Multipack app.
 !     Push failed

Any hints will be much appreciated. Thanks

Note: latest django_compressor version 2.1 is getting installed from requirements

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

No branches or pull requests

1 participant