I am getting an error while compiling the theme changes for Open Edx Koa, the command used for theme compilation is:paver update_assets lms --settings=production
further is used the command:
python manage.py lms --settings=production print_setting STATIC_ROOT
to find the actual cause of the error and I found this:
2022-03-16 08:55:33,777 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/newrelic/console.py:84: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
prototype = wrapper.__name__[3:] + ' ' + inspect.formatargspec(
2022-03-16 08:55:35,064 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/importlib/__init__.py:127: DeprecatedEdxPlatformImportWarning: Importing util instead of common.djangoapps.util is deprecated
return _bootstrap._gcd_import(name[level:], package, level)
2022-03-16 08:55:35,066 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/importlib/__init__.py:127: DeprecatedEdxPlatformImportWarning: Importing util.memcache instead of common.djangoapps.util.memcache is deprecated
return _bootstrap._gcd_import(name[level:], package, level)
2022-03-16 08:55:35,844 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/social_core/utils.py:56: DeprecatedEdxPlatformImportWarning: Importing third_party_auth instead of common.djangoapps.third_party_auth is deprecated
__import__(name)
2022-03-16 08:55:35,845 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/social_core/utils.py:56: DeprecatedEdxPlatformImportWarning: Importing third_party_auth.appleid instead of common.djangoapps.third_party_auth.appleid is deprecated
__import__(name)
2022-03-16 08:55:35,845 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/social_core/utils.py:56: DeprecatedEdxPlatformImportWarning: Importing third_party_auth.identityserver3 instead of common.djangoapps.third_party_auth.identityserver3 is deprecated
__import__(name)
2022-03-16 08:55:35,846 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/social_core/utils.py:56: DeprecatedEdxPlatformImportWarning: Importing third_party_auth.saml instead of common.djangoapps.third_party_auth.saml is deprecated
__import__(name)
2022-03-16 08:55:35,847 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/social_core/utils.py:56: DeprecatedEdxPlatformImportWarning: Importing third_party_auth.lti instead of common.djangoapps.third_party_auth.lti is deprecated
__import__(name)
2022-03-16 08:55:35,948 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/sorl/thumbnail/conf/__init__.py:16: RemovedInDjango30Warning: The DEFAULT_CONTENT_TYPE setting is deprecated.
setattr(self, attr, getattr(obj, attr))
2022-03-16 08:55:35,949 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/sorl/thumbnail/conf/__init__.py:16: RemovedInDjango31Warning: The FILE_CHARSET setting is deprecated. Starting with Django 3.1, all files read from disk must be UTF-8 encoded.
setattr(self, attr, getattr(obj, attr))
2022-03-16 08:55:36,031 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/enterprise/utils.py:63: DeprecatedEdxPlatformImportWarning: Importing student instead of common.djangoapps.student is deprecated
from student.api import (
2022-03-16 08:55:36,032 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/enterprise/utils.py:63: DeprecatedEdxPlatformImportWarning: Importing student.api instead of common.djangoapps.student.api is deprecated
from student.api import (
2022-03-16 08:55:36,033 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/enterprise/utils.py:74: DeprecatedEdxPlatformImportWarning: Importing third_party_auth.provider instead of common.djangoapps.third_party_auth.provider is deprecated
from third_party_auth.provider import Registry # pylint: disable=unused-import
2022-03-16 08:55:36,033 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/enterprise/utils.py:81: DeprecatedEdxPlatformImportWarning: Importing track instead of common.djangoapps.track is deprecated
from track import segment
2022-03-16 08:55:36,220 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/enterprise/admin/forms.py:35: DeprecatedEdxPlatformImportWarning: Importing third_party_auth.models instead of common.djangoapps.third_party_auth.models is deprecated
from third_party_auth.models import SAMLProviderConfig as saml_provider_configuration
2022-03-16 08:55:36,479 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/enterprise/signals.py:40: DeprecatedEdxPlatformImportWarning: Importing student.models instead of common.djangoapps.student.models is deprecated
from student.models import CourseEnrollment
2022-03-16 08:55:38,364 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/poll/poll.py:56: DeprecatedEdxPlatformImportWarning: Importing static_replace instead of common.djangoapps.static_replace is deprecated
from static_replace import replace_static_urls
2022-03-16 08:55:38,390 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pkg_resources/_vendor/packaging/specifiers.py:273: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
warnings.warn(
2022-03-16 08:55:38,450 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pkg_resources/_vendor/packaging/version.py:111: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
warnings.warn(
2022-03-16 08:55:38,478 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/staff_graded/staff_graded.py:27: DeprecatedEdxPlatformImportWarning: Importing course_modes instead of common.djangoapps.course_modes is deprecated
from course_modes.models import CourseMode
2022-03-16 08:55:38,479 WARNING 14637 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/staff_graded/staff_graded.py:27: DeprecatedEdxPlatformImportWarning: Importing course_modes.models instead of common.djangoapps.course_modes.models is deprecated
from course_modes.models import CourseMode
/edx/var/edxapp/staticfiles