Hi,
Im hoping to find an answer to this as well.
I have the similar error: python manage.py lms --settings=development print_settings STATIC_ROOT --format=value
here’s the logs:
no longer supported
edx.devstack.lms | warnings.warn(msg, DeprecationWarning)
edx.devstack.lms |
edx.devstack.lms | System check identified no issues (0 silenced).
edx.devstack.lms |
edx.devstack.lms | You have 253 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, announcements, assessment, auth, bulk_grades, certificates, commerce, completion, consent, content_libraries, content_type_gating, cornerstone, course_duration_limits, course_modes, course_overviews, courseware, credentials, credit, dark_lang, degreed, discounts, django_comment_common, edx_proctoring, edx_when, edx_zoom, edxval, email_marketing, enterprise, entitlements, external_user_ids, grades, instructor_task, integrated_channel, lx_pathway_plugin, oauth2_provider, oauth_dispatch, organizations, problem_builder, program_enrollments, programs, sap_success_factors, schedules, shoppingcart, sites, social_django, status, student, super_csv, system_wide_roles, teams, third_party_auth, thumbnail, track, user_api, user_authn, verify_student, video_config, waffle, wiki, xapi.
edx.devstack.lms | Run ‘python manage.py migrate’ to apply them.
edx.devstack.lms |
edx.devstack.lms | February 13, 2020 - 07:19:47
edx.devstack.lms | Django version 1.11.28, using settings ‘lms.envs.devstack_docker’
edx.devstack.lms | Starting development server at http://0.0.0.0:18000/
edx.devstack.lms | Quit the server with CONTROL-C.
edx.devstack.lms | Traceback (most recent call last):
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/manage.py”, line 120, in
edx.devstack.lms | startup.run()
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/lms/startup.py”, line 20, in run
edx.devstack.lms | django.setup()
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/init.py”, line 27, in setup
edx.devstack.lms | apps.populate(settings.INSTALLED_APPS)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/apps/registry.py”, line 85, in populate
edx.devstack.lms | app_config = AppConfig.create(entry)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/apps/config.py”, line 94, in create
edx.devstack.lms | module = import_module(entry)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/importlib/init.py”, line 126, in import_module
edx.devstack.lms | return _bootstrap._gcd_import(name[level:], package, level)
edx.devstack.lms | File “”, line 986, in _gcd_import
edx.devstack.lms | File “”, line 969, in _find_and_load
edx.devstack.lms | File “”, line 958, in _find_and_load_unlocked
edx.devstack.lms | File “”, line 673, in _load_unlocked
edx.devstack.lms | File “”, line 665, in exec_module
edx.devstack.lms | File “”, line 222, in _call_with_frames_removed
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/src/edx-jsme/edx_jsme/init.py”, line 7, in
edx.devstack.lms | from capa import inputtypes, responsetypes
edx.devstack.lms | ImportError: No module named ‘capa’
edx.devstack.lms | 2020-02-13 07:20:50,719 WARNING 272 [py.warnings] [user None] _make.py:750 - /edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/edx_ace/message.py:152: DeprecationWarning: The usage of cmp
is deprecated and will be removed on or after 2021-06-01. Please use eq
and order
instead.
edx.devstack.lms | @attr.s(cmp=False)
edx.devstack.lms |
edx.devstack.lms | 2020-02-13 07:21:04,501 WARNING 421 [py.warnings] [user None] _make.py:750 - /edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/edx_ace/message.py:152: DeprecationWarning: The usage of cmp
is deprecated and will be removed on or after 2021-06-01. Please use eq
and order
instead.
edx.devstack.lms | @attr.s(cmp=False)
edx.devstack.lms |
edx.devstack.lms | Performing system checks…
edx.devstack.lms |
edx.devstack.lms | 2020-02-13 07:21:12,055 WARNING 421 [py.warnings] [user None] init.py:10 - /edx/app/edxapp/edx-platform/lms/djangoapps/courseware/init.py:10: DeprecationWarning: Importing ‘lms.djangoapps.courseware’ as ‘courseware’ is no longer supported
edx.devstack.lms | warnings.warn(msg, DeprecationWarning)
edx.devstack.lms |
edx.devstack.lms | System check identified no issues (0 silenced).
edx.devstack.lms |
edx.devstack.lms | You have 253 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, announcements, assessment, auth, bulk_grades, certificates, commerce, completion, consent, content_libraries, content_type_gating, cornerstone, course_duration_limits, course_modes, course_overviews, courseware, credentials, credit, dark_lang, degreed, discounts, django_comment_common, edx_proctoring, edx_when, edx_zoom, edxval, email_marketing, enterprise, entitlements, external_user_ids, grades, instructor_task, integrated_channel, lx_pathway_plugin, oauth2_provider, oauth_dispatch, organizations, problem_builder, program_enrollments, programs, sap_success_factors, schedules, shoppingcart, sites, social_django, status, student, super_csv, system_wide_roles, teams, third_party_auth, thumbnail, track, user_api, user_authn, verify_student, video_config, waffle, wiki, xapi.
edx.devstack.lms | Run ‘python manage.py migrate’ to apply them.
edx.devstack.lms |
edx.devstack.lms | February 13, 2020 - 07:21:17
edx.devstack.lms | Django version 1.11.28, using settings ‘lms.envs.devstack_docker’
edx.devstack.lms | Starting development server at http://0.0.0.0:18000/
edx.devstack.lms | Quit the server with CONTROL-C.
edx.devstack.lms | 2020-02-13 07:24:57,745 INFO 421 [tracking] [user None] logger.py:49 - {“event_source”: “server”, “event_type”: “/”, “context”: {“path”: “/”, “user_id”: null, “course_id”: “”, “org_id”: “”}, “username”: “”, “time”: “2020-02-13T07:24:57.745815+00:00”, “host”: “localhost:18000”, “event”: “{“GET”: {}, “POST”: {}}”, “ip”: “172.19.0.1”, “page”: null, “referer”: “”, “accept_language”: “en-US”, “agent”: “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) DockerDesktop/2.2.0 Chrome/78.0.3904.94 Electron/7.1.0 Safari/537.36”}
edx.devstack.lms | 2020-02-13 07:25:07,596 ERROR 421 [root] [user None] signals.py:23 - Uncaught exception from None
edx.devstack.lms | Traceback (most recent call last):
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/loader.py”, line 26, in _load_assets
edx.devstack.lms | with open(self.config[‘STATS_FILE’], encoding=“utf-8”) as f:
edx.devstack.lms | FileNotFoundError: [Errno 2] No such file or directory: Path(’/edx/var/edxapp/staticfiles/webpack-stats.json’)
edx.devstack.lms |
edx.devstack.lms | During handling of the above exception, another exception occurred:
edx.devstack.lms |
edx.devstack.lms | Traceback (most recent call last):
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/core/handlers/exception.py”, line 41, in inner
edx.devstack.lms | response = get_response(request)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/core/handlers/base.py”, line 187, in _get_response
edx.devstack.lms | response = self.process_exception_by_middleware(e, request)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/core/handlers/base.py”, line 185, in _get_response
edx.devstack.lms | response = wrapped_callback(request, *callback_args, **callback_kwargs)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/utils/decorators.py”, line 149, in _wrapped_view
edx.devstack.lms | response = view_func(request, *args, **kwargs)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/util/cache.py”, line 87, in wrapper
edx.devstack.lms | response = view_func(request, *args, **kwargs)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/lms/djangoapps/branding/views.py”, line 69, in index
edx.devstack.lms | return student.views.index(request, user=request.user)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/student/views/management.py”, line 163, in index
edx.devstack.lms | return render_to_response(‘index.html’, context)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py”, line 171, in render_to_response
edx.devstack.lms | return HttpResponse(render_to_string(template_name, dictionary, namespace, request), **kwargs)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py”, line 161, in render_to_string
edx.devstack.lms | return template.render(dictionary, request)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/template.py”, line 60, in render
edx.devstack.lms | return self.mako_template.render_unicode(**context_dictionary)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/mako/template.py”, line 454, in render_unicode
edx.devstack.lms | as_unicode=True)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/mako/runtime.py”, line 829, in _render
edx.devstack.lms | **kwargs_for_callable(callable, data))
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/mako/runtime.py”, line 864, in _render_context
edx.devstack.lms | _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/mako/runtime.py”, line 890, in exec_template
edx.devstack.lms | callable(context, *args, **kwargs)
edx.devstack.lms | File “/tmp/mako_lms/7fa50c86c772c2affd8b5a04d05a85da/main.html.py”, line 223, in render_body
edx.devstack.lms | __M_writer(filters.html_escape(filters.decode.utf8(static.webpack(entry=‘commons’))))
edx.devstack.lms | File “/tmp/mako_lms/7fa50c86c772c2affd8b5a04d05a85da/static_content.html.py”, line 137, in render_webpack
edx.devstack.lms | __M_writer(filters.html_escape(filters.decode.utf8(HTML(render_bundle(entry, extension=None, config=‘DEFAULT’, attrs=attrs)))))
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/templatetags/webpack_loader.py”, line 12, in render_bundle
edx.devstack.lms | tags = utils.get_as_tags(bundle_name, extension=extension, config=config, attrs=attrs)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/utils.py”, line 45, in get_as_tags
edx.devstack.lms | bundle = _get_bundle(bundle_name, extension, config)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/utils.py”, line 23, in _get_bundle
edx.devstack.lms | bundle = get_loader(config).get_bundle(bundle_name)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/loader.py”, line 60, in get_bundle
edx.devstack.lms | assets = self.get_assets()
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/loader.py”, line 39, in get_assets
edx.devstack.lms | return self._load_assets()
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/loader.py”, line 32, in _load_assets
edx.devstack.lms | self.config[‘STATS_FILE’]))
edx.devstack.lms | OSError: Error reading /edx/var/edxapp/staticfiles/webpack-stats.json. Are you sure webpack has generated the file and the path is correct?
edx.devstack.lms | Internal Server Error: /
edx.devstack.lms | Traceback (most recent call last):
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/loader.py”, line 26, in _load_assets
edx.devstack.lms | with open(self.config[‘STATS_FILE’], encoding=“utf-8”) as f:
edx.devstack.lms | FileNotFoundError: [Errno 2] No such file or directory: Path(’/edx/var/edxapp/staticfiles/webpack-stats.json’)
edx.devstack.lms |
edx.devstack.lms | During handling of the above exception, another exception occurred:
edx.devstack.lms |
edx.devstack.lms | Traceback (most recent call last):
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/core/handlers/exception.py”, line 41, in inner
edx.devstack.lms | response = get_response(request)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/core/handlers/base.py”, line 187, in _get_response
edx.devstack.lms | response = self.process_exception_by_middleware(e, request)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/core/handlers/base.py”, line 185, in _get_response
edx.devstack.lms | response = wrapped_callback(request, *callback_args, **callback_kwargs)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/utils/decorators.py”, line 149, in _wrapped_view
edx.devstack.lms | response = view_func(request, *args, **kwargs)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/util/cache.py”, line 87, in wrapper
edx.devstack.lms | response = view_func(request, *args, **kwargs)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/lms/djangoapps/branding/views.py”, line 69, in index
edx.devstack.lms | return student.views.index(request, user=request.user)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/student/views/management.py”, line 163, in index
edx.devstack.lms | return render_to_response(‘index.html’, context)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py”, line 171, in render_to_response
edx.devstack.lms | return HttpResponse(render_to_string(template_name, dictionary, namespace, request), **kwargs)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py”, line 161, in render_to_string
edx.devstack.lms | return template.render(dictionary, request)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/template.py”, line 60, in render
edx.devstack.lms | return self.mako_template.render_unicode(**context_dictionary)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/mako/template.py”, line 454, in render_unicode
edx.devstack.lms | as_unicode=True)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/mako/runtime.py”, line 829, in _render
edx.devstack.lms | **kwargs_for_callable(callable, data))
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/mako/runtime.py”, line 864, in _render_context
edx.devstack.lms | _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/mako/runtime.py”, line 890, in exec_template
edx.devstack.lms | callable(context, *args, **kwargs)
edx.devstack.lms | File “/tmp/mako_lms/7fa50c86c772c2affd8b5a04d05a85da/main.html.py”, line 223, in render_body
edx.devstack.lms | __M_writer(filters.html_escape(filters.decode.utf8(static.webpack(entry=‘commons’))))
edx.devstack.lms | File “/tmp/mako_lms/7fa50c86c772c2affd8b5a04d05a85da/static_content.html.py”, line 137, in render_webpack
edx.devstack.lms | __M_writer(filters.html_escape(filters.decode.utf8(HTML(render_bundle(entry, extension=None, config=‘DEFAULT’, attrs=attrs)))))
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/templatetags/webpack_loader.py”, line 12, in render_bundle
edx.devstack.lms | tags = utils.get_as_tags(bundle_name, extension=extension, config=config, attrs=attrs)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/utils.py”, line 45, in get_as_tags
edx.devstack.lms | bundle = _get_bundle(bundle_name, extension, config)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/utils.py”, line 23, in _get_bundle
edx.devstack.lms | bundle = get_loader(config).get_bundle(bundle_name)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/loader.py”, line 60, in get_bundle
edx.devstack.lms | assets = self.get_assets()
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/loader.py”, line 39, in get_assets
edx.devstack.lms | return self._load_assets()
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/loader.py”, line 32, in _load_assets
edx.devstack.lms | self.config[‘STATS_FILE’]))
edx.devstack.lms | OSError: Error reading /edx/var/edxapp/staticfiles/webpack-stats.json. Are you sure webpack has generated the file and the path is correct?
edx.devstack.lms | 2020-02-13 07:25:07,621 ERROR 421 [django.request] [user None] exception.py:135 - Internal Server Error: /
edx.devstack.lms | Traceback (most recent call last):
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/loader.py”, line 26, in _load_assets
edx.devstack.lms | with open(self.config[‘STATS_FILE’], encoding=“utf-8”) as f:
edx.devstack.lms | FileNotFoundError: [Errno 2] No such file or directory: Path(’/edx/var/edxapp/staticfiles/webpack-stats.json’)
edx.devstack.lms |
edx.devstack.lms | During handling of the above exception, another exception occurred:
edx.devstack.lms |
edx.devstack.lms | Traceback (most recent call last):
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/core/handlers/exception.py”, line 41, in inner
edx.devstack.lms | response = get_response(request)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/core/handlers/base.py”, line 187, in _get_response
edx.devstack.lms | response = self.process_exception_by_middleware(e, request)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/core/handlers/base.py”, line 185, in _get_response
edx.devstack.lms | response = wrapped_callback(request, *callback_args, **callback_kwargs)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/utils/decorators.py”, line 149, in _wrapped_view
edx.devstack.lms | response = view_func(request, *args, **kwargs)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/util/cache.py”, line 87, in wrapper
edx.devstack.lms | response = view_func(request, *args, **kwargs)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/lms/djangoapps/branding/views.py”, line 69, in index
edx.devstack.lms | return student.views.index(request, user=request.user)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/student/views/management.py”, line 163, in index
edx.devstack.lms | return render_to_response(‘index.html’, context)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py”, line 171, in render_to_response
edx.devstack.lms | return HttpResponse(render_to_string(template_name, dictionary, namespace, request), **kwargs)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py”, line 161, in render_to_string
edx.devstack.lms | return template.render(dictionary, request)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/template.py”, line 60, in render
edx.devstack.lms | return self.mako_template.render_unicode(**context_dictionary)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/mako/template.py”, line 454, in render_unicode
edx.devstack.lms | as_unicode=True)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/mako/runtime.py”, line 829, in _render
edx.devstack.lms | **kwargs_for_callable(callable, data))
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/mako/runtime.py”, line 864, in _render_context
edx.devstack.lms | _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/mako/runtime.py”, line 890, in exec_template
edx.devstack.lms | callable(context, *args, **kwargs)
edx.devstack.lms | File “/tmp/mako_lms/7fa50c86c772c2affd8b5a04d05a85da/main.html.py”, line 223, in render_body
edx.devstack.lms | __M_writer(filters.html_escape(filters.decode.utf8(static.webpack(entry=‘commons’))))
edx.devstack.lms | File “/tmp/mako_lms/7fa50c86c772c2affd8b5a04d05a85da/static_content.html.py”, line 137, in render_webpack
edx.devstack.lms | __M_writer(filters.html_escape(filters.decode.utf8(HTML(render_bundle(entry, extension=None, config=‘DEFAULT’, attrs=attrs)))))
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/templatetags/webpack_loader.py”, line 12, in render_bundle
edx.devstack.lms | tags = utils.get_as_tags(bundle_name, extension=extension, config=config, attrs=attrs)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/utils.py”, line 45, in get_as_tags
edx.devstack.lms | bundle = _get_bundle(bundle_name, extension, config)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/utils.py”, line 23, in _get_bundle
edx.devstack.lms | bundle = get_loader(config).get_bundle(bundle_name)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/loader.py”, line 60, in get_bundle
edx.devstack.lms | assets = self.get_assets()
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/loader.py”, line 39, in get_assets
edx.devstack.lms | return self._load_assets()
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/loader.py”, line 32, in _load_assets
edx.devstack.lms | self.config[‘STATS_FILE’]))
edx.devstack.lms | OSError: Error reading /edx/var/edxapp/staticfiles/webpack-stats.json. Are you sure webpack has generated the file and the path is correct?
edx.devstack.lms | 2020-02-13 07:25:08,043 WARNING 421 [py.warnings] [user None] handlers.py:458 - /usr/lib/python3.5/wsgiref/handlers.py:458: DeprecationWarning: SimpleHandler.stdout.write() should not do partial writes
edx.devstack.lms | DeprecationWarning)
edx.devstack.lms |
edx.devstack.lms | [13/Feb/2020 07:25:08] “HEAD / HTTP/1.1” 500 428111
edx.devstack.lms | 2020-02-13 07:33:46,061 INFO 421 [tracking] [user None] logger.py:49 - {“event_source”: “server”, “event_type”: “/”, “context”: {“path”: “/”, “user_id”: null, “course_id”: “”, “org_id”: “”}, “username”: “”, “time”: “2020-02-13T07:33:46.061144+00:00”, “host”: “localhost:18000”, “event”: “{“GET”: {}, “POST”: {}}”, “ip”: “172.19.0.1”, “page”: null, “referer”: “”, “accept_language”: “en-US,en;q=0.9”, “agent”: “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36”}
edx.devstack.lms | 2020-02-13 07:33:46,283 ERROR 421 [root] [user None] signals.py:23 - Uncaught exception from None
edx.devstack.lms | Traceback (most recent call last):
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/loader.py”, line 26, in _load_assets
edx.devstack.lms | with open(self.config[‘STATS_FILE’], encoding=“utf-8”) as f:
edx.devstack.lms | FileNotFoundError: [Errno 2] No such file or directory: Path(’/edx/var/edxapp/staticfiles/webpack-stats.json’)
edx.devstack.lms |
edx.devstack.lms | During handling of the above exception, another exception occurred:
edx.devstack.lms |
edx.devstack.lms | Traceback (most recent call last):
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/core/handlers/exception.py”, line 41, in inner
edx.devstack.lms | response = get_response(request)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/core/handlers/base.py”, line 187, in _get_response
edx.devstack.lms | response = self.process_exception_by_middleware(e, request)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/core/handlers/base.py”, line 185, in _get_response
edx.devstack.lms | response = wrapped_callback(request, *callback_args, **callback_kwargs)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/utils/decorators.py”, line 149, in _wrapped_view
edx.devstack.lms | response = view_func(request, *args, **kwargs)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/util/cache.py”, line 87, in wrapper
edx.devstack.lms | response = view_func(request, *args, **kwargs)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/lms/djangoapps/branding/views.py”, line 69, in index
edx.devstack.lms | return student.views.index(request, user=request.user)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/student/views/management.py”, line 163, in index
edx.devstack.lms | return render_to_response(‘index.html’, context)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py”, line 171, in render_to_response
edx.devstack.lms | return HttpResponse(render_to_string(template_name, dictionary, namespace, request), **kwargs)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py”, line 161, in render_to_string
edx.devstack.lms | return template.render(dictionary, request)
edx.devstack.lms | File “/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/template.py”, line 60, in render
edx.devstack.lms | return self.mako_template.render_unicode(**context_dictionary)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/mako/template.py”, line 454, in render_unicode
edx.devstack.lms | as_unicode=True)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/mako/runtime.py”, line 829, in _render
edx.devstack.lms | **kwargs_for_callable(callable, data))
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/mako/runtime.py”, line 864, in _render_context
edx.devstack.lms | _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/mako/runtime.py”, line 890, in exec_template
edx.devstack.lms | callable(context, *args, **kwargs)
edx.devstack.lms | File “/tmp/mako_lms/7fa50c86c772c2affd8b5a04d05a85da/main.html.py”, line 223, in render_body
edx.devstack.lms | __M_writer(filters.html_escape(filters.decode.utf8(static.webpack(entry=‘commons’))))
edx.devstack.lms | File “/tmp/mako_lms/7fa50c86c772c2affd8b5a04d05a85da/static_content.html.py”, line 137, in render_webpack
edx.devstack.lms | __M_writer(filters.html_escape(filters.decode.utf8(HTML(render_bundle(entry, extension=None, config=‘DEFAULT’, attrs=attrs)))))
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/templatetags/webpack_loader.py”, line 12, in render_bundle
edx.devstack.lms | tags = utils.get_as_tags(bundle_name, extension=extension, config=config, attrs=attrs)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/utils.py”, line 45, in get_as_tags
edx.devstack.lms | bundle = _get_bundle(bundle_name, extension, config)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/utils.py”, line 23, in _get_bundle
edx.devstack.lms | bundle = get_loader(config).get_bundle(bundle_name)
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/loader.py”, line 60, in get_bundle
edx.devstack.lms | assets = self.get_assets()
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/loader.py”, line 39, in get_assets
edx.devstack.lms | return self._load_assets()
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/loader.py”, line 32, in _load_assets
edx.devstack.lms | self.config[‘STATS_FILE’]))
edx.devstack.lms | OSError: Error reading /edx/var/edxapp/staticfiles/webpack-stats.json. Are you sure webpack has generated the file and the path is correct?
edx.devstack.lms | Internal Server Error: /
edx.devstack.lms | Traceback (most recent call last):
edx.devstack.lms | File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/webpack_loader/loader.py”, line 26, in _load_assets
edx.devstack.lms | with open(self.config[‘STATS_FILE’], encoding=“utf-8”) as f:
edx.devstack.lms | FileNotFoundError: [Errno 2] No such file or directory: Path(’/edx/var/edxapp/staticfiles/webpack-stats.json’)
edx.devstack.lms |
edx.devstack.lms | During handling of the above exception, another exception occurred:
edx.devstack.lms |
edx.devstack.lms | Traceback (most recent call last):
edx.devstack.lms | File "/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-