We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Using Django 1.9.4 on Python 3.4.3 there is an error when trying to use this app.
Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x7f3975404b70> Traceback (most recent call last): File "/.../VirtualEnv/lib/python3.4/site-packages/django/utils/autoreload.py", line 226, in wrapper fn(*args, **kwargs) File "/.../VirtualEnv/lib/python3.4/site-packages/django/core/management/commands/runserver.py", line 109, in inner_run autoreload.raise_last_exception() File "/.../VirtualEnv/lib/python3.4/site-packages/django/utils/autoreload.py", line 249, in raise_last_exception six.reraise(*_exception) File "/.../VirtualEnv/lib/python3.4/site-packages/django/utils/six.py", line 685, in reraise raise value.with_traceback(tb) File "/.../VirtualEnv/lib/python3.4/site-packages/django/utils/autoreload.py", line 226, in wrapper fn(*args, **kwargs) File "/.../VirtualEnv/lib/python3.4/site-packages/django/__init__.py", line 18, in setup apps.populate(settings.INSTALLED_APPS) File "/.../VirtualEnv/lib/python3.4/site-packages/django/apps/registry.py", line 85, in populate app_config = AppConfig.create(entry) File "/.../VirtualEnv/lib/python3.4/site-packages/django/apps/config.py", line 90, in create module = import_module(entry) File "/.../VirtualEnv/lib/python3.4/importlib/__init__.py", line 109, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 2254, in _gcd_import File "<frozen importlib._bootstrap>", line 2237, in _find_and_load File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked File "<frozen importlib._bootstrap>", line 1129, in _exec File "<frozen importlib._bootstrap>", line 1471, in exec_module File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed File "/.../VirtualEnv/lib/python3.4/site-packages/requirejs/__init__.py", line 1, in <module> from .filter import RequireJSCompiler File "/.../VirtualEnv/lib/python3.4/site-packages/requirejs/filter.py", line 19, in <module> from .js import JsCompressor File "/.../VirtualEnv/lib/python3.4/site-packages/requirejs/js.py", line 5, in <module> from compressor.js import JsCompressor as CompressorJsCompressor File "/.../VirtualEnv/lib/python3.4/site-packages/compressor/js.py", line 2, in <module> from compressor.base import Compressor, SOURCE_HUNK, SOURCE_FILE File "/.../VirtualEnv/lib/python3.4/site-packages/compressor/base.py", line 19, in <module> from compressor.utils import get_class, get_mod_func, staticfiles File "/.../VirtualEnv/lib/python3.4/site-packages/compressor/utils/staticfiles.py", line 9, in <module> if apps.is_installed("django.contrib.staticfiles"): File "/.../VirtualEnv/lib/python3.4/site-packages/django/apps/registry.py", line 227, in is_installed self.check_apps_ready() File "/.../VirtualEnv/lib/python3.4/site-packages/django/apps/registry.py", line 124, in check_apps_ready raise AppRegistryNotReady("Apps aren't loaded yet.") django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
A simple workaround for this is to move the import from .js import JsCompressor into the function write_output.
from .js import JsCompressor
write_output
The text was updated successfully, but these errors were encountered:
Fixed an import error
c899fda
See bpeschier#9
No branches or pull requests
Hi,
Using Django 1.9.4 on Python 3.4.3 there is an error when trying to use this app.
A simple workaround for this is to move the import
from .js import JsCompressor
into the function
write_output
.The text was updated successfully, but these errors were encountered: