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

Error running django compress #256

Open
kesara opened this issue Dec 23, 2022 · 1 comment
Open

Error running django compress #256

kesara opened this issue Dec 23, 2022 · 1 comment
Labels
investigate Further investigation is required

Comments

@kesara
Copy link
Member

kesara commented Dec 23, 2022

On staging envrioment, I get the following error when I run ./manage.py compress:

./manage.py compress
Compressing... Traceback (most recent call last):
  File "/app/./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 413, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 354, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 398, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python3.10/site-packages/compressor/management/commands/compress.py", line 296, in handle
    self.handle_inner(**options)
  File "/usr/local/lib/python3.10/site-packages/compressor/management/commands/compress.py", line 319, in handle_inner
    offline_manifest, block_count, results = self.compress(engine, extensions, verbosity, follow_links, log)
  File "/usr/local/lib/python3.10/site-packages/compressor/management/commands/compress.py", line 229, in compress
    raise OfflineGenerationError(
compressor.exceptions.OfflineGenerationError: No 'compress' template tags found in templates.Try running compress command with --follow-links and/or--extension=EXTENSIONS
@kesara kesara added the investigate Further investigation is required label Dec 23, 2022
@mgax
Copy link
Contributor

mgax commented Apr 2, 2024

django-compressor was removed in #350 so I'm guessing this issue is no longer relevant.

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

No branches or pull requests

2 participants