Skip to content

Instantly share code, notes, and snippets.

@tofumatt
Created September 27, 2015 16:40
Show Gist options
  • Save tofumatt/cd501078efc76209bc81 to your computer and use it in GitHub Desktop.
Save tofumatt/cd501078efc76209bc81 to your computer and use it in GitHub Desktop.
Environment:
Request Method: GET
Request URL: http://192.168.99.101:8000/en-GB/firefox/
Django Version: 1.6.11
Python Version: 2.7.5
Installed Applications:
('olympia',
'amo',
'abuse',
'access',
'addons',
'api',
'applications',
'bandwagon',
'blocklist',
'browse',
'compat',
'cronjobs',
'csp',
'devhub',
'discovery',
'editors',
'files',
'jingo_minify',
'localizers',
'lib.es',
'moz_header',
'pages',
'perf',
'product_details',
'reviews',
'search',
'sharing',
'stats',
'tags',
'tower',
'translations',
'users',
'versions',
'zadmin',
'django_extensions',
'raven.contrib.django',
'piston',
'waffle',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.messages',
'django.contrib.sessions',
'django.contrib.staticfiles',
'django_statsd',
'django_extensions',
'landfill')
Installed Middleware:
('django_statsd.middleware.GraphiteRequestTimingMiddleware',
'django_statsd.middleware.GraphiteMiddleware',
'amo.middleware.LocaleAndAppURLMiddleware',
'mobility.middleware.DetectMobileMiddleware',
'mobility.middleware.XMobileMiddleware',
'amo.middleware.RemoveSlashMiddleware',
'commonware.middleware.SetRemoteAddrFromForwardedFor',
'commonware.middleware.FrameOptionsHeader',
'commonware.middleware.StrictTransportMiddleware',
'multidb.middleware.PinningRouterMiddleware',
'waffle.middleware.WaffleMiddleware',
'csp.middleware.CSPMiddleware',
'amo.middleware.CommonMiddleware',
'amo.middleware.NoVarySessionMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'commonware.log.ThreadRequestMiddleware',
'apps.search.middleware.ElasticsearchExceptionMiddleware',
'session_csrf.CsrfMiddleware',
'api.middleware.RestOAuthMiddleware',
'access.middleware.ACLMiddleware',
'commonware.middleware.ScrubRequestOnException')
Traceback:
File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
112. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/pip/src/django-mobility/mobility/decorators.py" in wrapper
49. return normal_fn(request, *args, **kw)
File "/code/apps/addons/views.py" in home
339. 'src': 'homepage', 'collections': collections})
File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/django/shortcuts/__init__.py" in render
53. return HttpResponse(loader.render_to_string(*args, **kwargs),
File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/django/template/loader.py" in render_to_string
169. return t.render(context_instance)
File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jingo/__init__.py" in render
195. return super(Template, self).render(context_dict)
File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jinja2/environment.py" in render
969. return self.environment.handle_exception(exc_info, True)
File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jinja2/environment.py" in handle_exception
742. reraise(exc_type, exc_value, tb)
File "/code/apps/addons/templates/addons/home.html" in top-level template code
8. {% set view_all = {
File "/code/templates/impala/base_shared.html" in top-level template code
1. {% extends 'impala/base.html' %}
File "/code/templates/impala/base.html" in top-level template code
24. {% block site_css %}
File "/code/templates/impala/base.html" in block "site_css"
25. {{ css('zamboni/impala') }}
File "/pip/src/jingo-minify/jingo_minify/helpers.py" in css
153. urls = get_css_urls(bundle, debug)
File "/pip/src/jingo-minify/jingo_minify/helpers.py" in get_css_urls
111. compile_css(item)
File "/pip/src/jingo-minify/jingo_minify/helpers.py" in compile_css
215. subprocess.Popen([settings.LESS_BIN, path_src], stdout=output)
File "/opt/rh/python27/root/usr/lib64/python2.7/subprocess.py" in __init__
711. errread, errwrite)
File "/opt/rh/python27/root/usr/lib64/python2.7/subprocess.py" in _execute_child
1308. raise child_exception
Exception Type: OSError at /
Exception Value: [Errno 2] No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment