Environment:
Request Method: GET
Request URL: http://localhost:8000/moderation/tagparty/
Django Version: 1.4.1
Python Version: 2.7.3
Installed Applications:
('about',
'accounts',
'annotations',
'blogs',
'btb',
'comments',
'correspondence',
'moderation',
'profiles',
'subscriptions',
'scanning',
'campaigns',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.humanize',
'django.contrib.admin',
'django.contrib.flatpages',
'django.contrib.messages',
'django.contrib.staticfiles',
'registration',
'djcelery',
'django_bcrypt',
'lettuce.django',
'compressor',
'sorl.thumbnail',
'notification',
'pagination',
'urlcrypt',
'south',
'debug_toolbar')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'pagination.middleware.PaginationMiddleware',
'debug_toolbar.middleware.DebugToolbarMiddleware')
Template error:
In template /home/arthur/local/btb/scanblog/templates/moderation/tagparty.html, error at line 51
'js/moderation/tagparty.js' could not be found in the COMPRESS_ROOT '/home/arthur/local/btb/scanblog/site_static' or with staticfiles.
41 :
42 : <a href='#' class='tag<%= possible[i].chosen ? " chosen": "" %>'
43 : ><%= possible[i].name %>
44 :
45 : <% } %>
46 :
47 :
48 :
49 :
50 : </script>
51 : {% compress js %}
52 : <script type='text/javascript' src='{{STATIC_URL}}js/vendor/jquery-ui.min.js'></script>
53 : <script type='text/javascript' src='{{STATIC_URL}}js/vendor/jquery-tagit/js/tagit.js'></script>
54 : <script type='text/javascript' src='{{STATIC_URL}}js/vendor/underscore-min.js'></script>
55 : <script type='text/javascript' src='{{STATIC_URL}}js/vendor/backbone-min.js'></script>
56 :
57 : <script type='text/javascript' src='{{STATIC_URL}}js/moderation/tagparty.js'></script>
58 : <script type='text/javascript'>
59 : new btb.TagForm({
60 : tags: [
61 : {% for tag in tags %}
Traceback:
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
-
response = callback(request, _callback_args, *_callback_kwargs)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
-
return view_func(request, _args, *_kwargs)
File "/home/arthur/local/btb/scanblog/moderation/views.py" in tagparty
-
'tags': Tag.objects.all().order_by('name'),
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/django/shortcuts/init.py" in render
-
return HttpResponse(loader.render_to_string(_args, *_kwargs),
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/django/template/loader.py" in render_to_string
-
return t.render(context_instance)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/django/template/base.py" in render
-
return self._render(context)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/django/test/utils.py" in instrumented_test_render
-
return self.nodelist.render(context)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/django/template/base.py" in render
-
bit = self.render_node(node, context)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/django/template/debug.py" in render_node
-
return node.render(context)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/django/template/loader_tags.py" in render
-
return compiled_parent._render(context)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/django/test/utils.py" in instrumented_test_render
-
return self.nodelist.render(context)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/django/template/base.py" in render
-
bit = self.render_node(node, context)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/django/template/debug.py" in render_node
-
return node.render(context)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/django/template/loader_tags.py" in render
-
return compiled_parent._render(context)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/django/test/utils.py" in instrumented_test_render
-
return self.nodelist.render(context)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/django/template/base.py" in render
-
bit = self.render_node(node, context)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/django/template/debug.py" in render_node
-
return node.render(context)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/django/template/loader_tags.py" in render
-
result = block.nodelist.render(context)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/django/template/base.py" in render
-
bit = self.render_node(node, context)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/django/template/debug.py" in render_node
-
return node.render(context)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/compressor/templatetags/compress.py" in render
-
return self.render_compressed(context, self.kind, self.mode, forced=forced)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/compressor/templatetags/compress.py" in render_compressed
-
rendered_output = self.render_output(compressor, mode, forced=forced)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/compressor/templatetags/compress.py" in render_output
-
return compressor.output(mode, forced=forced)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/compressor/base.py" in output
-
content = self.filter_input(forced)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/compressor/base.py" in filter_input
-
for hunk in self.hunks(forced):
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/compressor/base.py" in hunks
-
for kind, value, basename, elem in self.split_contents():
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/compressor/js.py" in split_contents
-
filename = self.get_filename(basename)
File "/home/arthur/local/virtualenvs/btb/local/lib/python2.7/site-packages/compressor/base.py" in get_filename
-
self.finders and " or with staticfiles." or "."))
Exception Type: UncompressableFileError at /moderation/tagparty/
Exception Value: 'js/moderation/tagparty.js' could not be found in the COMPRESS_ROOT '/home/arthur/local/btb/scanblog/site_static' or with staticfiles.