SHARE
TWEET

Untitled

a guest Sep 19th, 2018 6 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Environment:
  2.  
  3.  
  4. Request Method: GET
  5. Request URL: http://46.101.217.23:8000/en/
  6.  
  7. Django Version: 2.0.8
  8. Python Version: 3.6.6
  9. Installed Applications:
  10. ['storages',
  11.  'django.contrib.contenttypes',
  12.  'django.contrib.sessions',
  13.  'django.contrib.messages',
  14.  'django.contrib.sitemaps',
  15.  'django.contrib.sites',
  16.  'django.contrib.staticfiles',
  17.  'django.contrib.auth',
  18.  'django.contrib.postgres',
  19.  'django.forms',
  20.  'saleor.account',
  21.  'saleor.discount',
  22.  'saleor.product',
  23.  'saleor.checkout',
  24.  'saleor.core',
  25.  'saleor.graphql',
  26.  'saleor.menu',
  27.  'saleor.order.OrderAppConfig',
  28.  'saleor.dashboard',
  29.  'saleor.seo',
  30.  'saleor.shipping',
  31.  'saleor.search',
  32.  'saleor.site',
  33.  'saleor.data_feeds',
  34.  'saleor.page',
  35.  'versatileimagefield',
  36.  'django_babel',
  37.  'bootstrap4',
  38.  'django_measurement',
  39.  'django_prices',
  40.  'django_prices_openexchangerates',
  41.  'django_prices_vatlayer',
  42.  'graphene_django',
  43.  'mptt',
  44.  'payments',
  45.  'webpack_loader',
  46.  'social_django',
  47.  'django_countries',
  48.  'django_filters',
  49.  'django_celery_results',
  50.  'impersonate',
  51.  'phonenumber_field',
  52.  'captcha',
  53.  'debug_toolbar',
  54.  'django_elasticsearch_dsl']
  55. Installed Middleware:
  56. ['django.contrib.sessions.middleware.SessionMiddleware',
  57.  'django.middleware.security.SecurityMiddleware',
  58.  'django.middleware.common.CommonMiddleware',
  59.  'django.middleware.csrf.CsrfViewMiddleware',
  60.  'django.contrib.auth.middleware.AuthenticationMiddleware',
  61.  'django.contrib.messages.middleware.MessageMiddleware',
  62.  'django.middleware.locale.LocaleMiddleware',
  63.  'django_babel.middleware.LocaleMiddleware',
  64.  'saleor.core.middleware.discounts',
  65.  'saleor.core.middleware.google_analytics',
  66.  'saleor.core.middleware.country',
  67.  'saleor.core.middleware.currency',
  68.  'saleor.core.middleware.site',
  69.  'saleor.core.middleware.taxes',
  70.  'social_django.middleware.SocialAuthExceptionMiddleware',
  71.  'impersonate.middleware.ImpersonateMiddleware',
  72.  'saleor.graphql.middleware.jwt_middleware',
  73.  'debug_toolbar.middleware.DebugToolbarMiddleware']
  74.  
  75.  
  76. Template error:
  77. In template /app/templates/base.html, error at line 29
  78.    Error reading /app/webpack-bundle.json. Are you sure webpack has generated the file and the path is correct?
  79.    19 :     <meta name="apple-mobile-web-app-status-bar-style" content="black">
  80.    20 :     <meta name="apple-mobile-web-app-title" content="{{ site.name }}">
  81.    21 :     <meta name="og:type" content="website">
  82.    22 :     {% get_available_languages as LANGUAGES %}
  83.    23 :     {% for lang_code, language_name in LANGUAGES %}
  84.    24 :       <link rel="alternate" hreflang="{{ lang_code }}" href="{% translate_url url=request.path lang_code=lang_code %}" />
  85.    25 :     {% endfor %}
  86.    26 :   {% endblock meta %}
  87.    27 :
  88.    28 :   {% include 'favicon.html' %}
  89.    29 :    {% render_bundle 'storefront' 'css' attrs='async' %}
  90.    30 :
  91.    31 :   {% block stylesheet %}{% endblock stylesheet %}
  92.    32 :
  93.    33 :   {% block meta_tags %}
  94.    34 :     <meta property="og:title" content="{{ site.settings.translated.header_text }}">
  95.    35 :     <meta property="og:description" content="{{ site.settings.translated.description }}">
  96.    36 :     <meta name="description" content="{{ site.settings.translated.description }}">
  97.    37 :     <meta property="og:url" content="{{ request.build_absolute_uri }}">
  98.    38 :     <meta property="og:image" content="{% static "images/block1.png" %}">
  99.    39 :   {% endblock meta_tags %}
  100.  
  101.  
  102. Traceback:
  103.  
  104. File "/usr/local/lib/python3.6/site-packages/webpack_loader/loader.py" in _load_assets
  105.   26.             with open(self.config['STATS_FILE'], encoding="utf-8") as f:
  106.  
  107. During handling of the above exception ([Errno 2] No such file or directory: '/app/webpack-bundle.json'), another exception occurred:
  108.  
  109. File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
  110.   35.             response = get_response(request)
  111.  
  112. File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  113.   158.                 response = self.process_exception_by_middleware(e, request)
  114.  
  115. File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  116.   156.                 response = response.render()
  117.  
  118. File "/usr/local/lib/python3.6/site-packages/django/template/response.py" in render
  119.   106.             self.content = self.rendered_content
  120.  
  121. File "/usr/local/lib/python3.6/site-packages/django/template/response.py" in rendered_content
  122.   83.         content = template.render(context, self._request)
  123.  
  124. File "/usr/local/lib/python3.6/site-packages/django/template/backends/django.py" in render
  125.   61.             return self.template.render(context)
  126.  
  127. File "/usr/local/lib/python3.6/site-packages/django/template/base.py" in render
  128.   175.                     return self._render(context)
  129.  
  130. File "/usr/local/lib/python3.6/site-packages/django/test/utils.py" in instrumented_test_render
  131.   98.     return self.nodelist.render(context)
  132.  
  133. File "/usr/local/lib/python3.6/site-packages/django/template/base.py" in render
  134.   943.                 bit = node.render_annotated(context)
  135.  
  136. File "/usr/local/lib/python3.6/site-packages/django/template/base.py" in render_annotated
  137.   910.             return self.render(context)
  138.  
  139. File "/usr/local/lib/python3.6/site-packages/django/template/loader_tags.py" in render
  140.   155.             return compiled_parent._render(context)
  141.  
  142. File "/usr/local/lib/python3.6/site-packages/django/test/utils.py" in instrumented_test_render
  143.   98.     return self.nodelist.render(context)
  144.  
  145. File "/usr/local/lib/python3.6/site-packages/django/template/base.py" in render
  146.   943.                 bit = node.render_annotated(context)
  147.  
  148. File "/usr/local/lib/python3.6/site-packages/django/template/base.py" in render_annotated
  149.   910.             return self.render(context)
  150.  
  151. File "/usr/local/lib/python3.6/site-packages/django/template/library.py" in render
  152.   192.         output = self.func(*resolved_args, **resolved_kwargs)
  153.  
  154. File "/usr/local/lib/python3.6/site-packages/webpack_loader/templatetags/webpack_loader.py" in render_bundle
  155.   12.     tags = utils.get_as_tags(bundle_name, extension=extension, config=config, attrs=attrs)
  156.  
  157. File "/usr/local/lib/python3.6/site-packages/webpack_loader/utils.py" in get_as_tags
  158.   45.     bundle = _get_bundle(bundle_name, extension, config)
  159.  
  160. File "/usr/local/lib/python3.6/site-packages/webpack_loader/utils.py" in _get_bundle
  161.   23.     bundle = get_loader(config).get_bundle(bundle_name)
  162.  
  163. File "/usr/local/lib/python3.6/site-packages/webpack_loader/loader.py" in get_bundle
  164.   60.         assets = self.get_assets()
  165.  
  166. File "/usr/local/lib/python3.6/site-packages/webpack_loader/loader.py" in get_assets
  167.   39.         return self._load_assets()
  168.  
  169. File "/usr/local/lib/python3.6/site-packages/webpack_loader/loader.py" in _load_assets
  170.   32.                     self.config['STATS_FILE']))
  171.  
  172. Exception Type: OSError at /en/
  173. Exception Value: Error reading /app/webpack-bundle.json. Are you sure webpack has generated the file and the path is correct?
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top