Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ubuntu@academy01:/edx/app/edxapp/edx-platform/themes/hastexo$ /edx/bin/edxapp-update-assets-lms && sudo /edx/bin/supervisorctl restart edxap
p_worker:
mkdir_p path('/edx/app/edxapp/edx-platform/themes/hastexo/lms/static/css')
---> pavelib.assets.update_assets
---> pavelib.prereqs.install_ruby_prereqs
NO_PREREQ_INSTALL is set, not installing prereqs
---> pavelib.prereqs.install_node_prereqs
NO_PREREQ_INSTALL is set, not installing prereqs
python manage.py lms --settings=aws preprocess_assets lms/static/sass/*.scss lms/static/themed_sass
2016-01-06 13:30:20,007 INFO 9003 [dd.dogapi] dog_stats_api.py:66 - Initializing dog api to use statsd: localhost, 8125
System check identified some issues:
WARNINGS:
?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You must put the values of the following settings into your default TEMPLATES dict: TEMPLATE_DIRS.
wiki.ArticleRevision.ip_address: (fields.W900) IPAddressField has been deprecated. Support for it (except in historical migrations) will be removed in Django 1.9.
HINT: Use GenericIPAddressField instead.
Finished preprocessing lms assets.
xmodule_assets common/static/xmodule
Finished processing xmodule assets.
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`
---> pavelib.assets.compile_sass
sass --update --cache-location /tmp/sass-cache --default-encoding utf-8 --style compressed --quiet --load-path . --load-path common/static --load-path common/static/sass --load-path lms/static/sass --load-path lms/static/themed_sass --load-path cms/static/sass --load-path common/static/sass --load-path lms/static/certificates/sass --load-path /edx/app/edxapp/edx-platform/themes/hastexo/lms/static/sass lms/static/sass:lms/static/css lms/static/themed_sass:lms/static/css cms/static/sass:cms/static/css common/static/sass:common/static/css lms/static/certificates/sass:lms/static/certificates/css /edx/app/edxapp/edx-platform/themes/hastexo/lms/static/sass:/edx/app/edxapp/edx-platform/themes/hastexo/lms/static/css
Captured Task Output:
---------------------
---> pavelib.assets.update_assets
---> pavelib.prereqs.install_ruby_prereqs
---> pavelib.prereqs.install_node_prereqs
python manage.py lms --settings=aws preprocess_assets lms/static/sass/*.scss lms/static/themed_sass
xmodule_assets common/static/xmodule
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`
---> pavelib.assets.compile_sass
sass --update --cache-location /tmp/sass-cache --default-encoding utf-8 --style compressed --quiet --load-path . --load-path common/static --load-path common/static/sass --load-path lms/static/sass --load-path lms/static/themed_sass --load-path cms/static/sass --load-path common/static/sass --load-path lms/static/certificates/sass --load-path /edx/app/edxapp/edx-platform/themes/hastexo/lms/static/sass lms/static/sass:lms/static/css lms/static/themed_sass:lms/static/css cms/static/sass:cms/static/css common/static/sass:common/static/css lms/static/certificates/sass:lms/static/certificates/css /edx/app/edxapp/edx-platform/themes/hastexo/lms/static/sass:/edx/app/edxapp/edx-platform/themes/hastexo/lms/static/css
Build failed running pavelib.assets.update_assets: Subprocess return code: 1
ubuntu@academy01:/edx/app/edxapp/edx-platform/themes/hastexo$ /edx/bin/edxapp-update-assets-lms && sudo /edx/bin/supervisorctl restart edxapp_worker:
mkdir_p path('/edx/app/edxapp/edx-platform/themes/hastexo/lms/static/css')
---> pavelib.assets.update_assets
---> pavelib.prereqs.install_ruby_prereqs
NO_PREREQ_INSTALL is set, not installing prereqs
---> pavelib.prereqs.install_node_prereqs
NO_PREREQ_INSTALL is set, not installing prereqs
python manage.py lms --settings=aws preprocess_assets lms/static/sass/*.scss lms/static/themed_sass
2016-01-06 13:30:44,998 INFO 9077 [dd.dogapi] dog_stats_api.py:66 - Initializing dog api to use statsd: localhost, 8125
System check identified some issues:
WARNINGS:
?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You must put the values of the following settings into your default TEMPLATES dict: TEMPLATE_DIRS.
wiki.ArticleRevision.ip_address: (fields.W900) IPAddressField has been deprecated. Support for it (except in historical migrations) will be removed in Django 1.9.
HINT: Use GenericIPAddressField instead.
Finished preprocessing lms assets.
xmodule_assets common/static/xmodule
Finished processing xmodule assets.
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`
---> pavelib.assets.compile_sass
sass --update --cache-location /tmp/sass-cache --default-encoding utf-8 --style compressed --quiet --load-path . --load-path common/static --load-path common/static/sass --load-path lms/static/sass --load-path lms/static/themed_sass --load-path cms/static/sass --load-path common/static/sass --load-path lms/static/certificates/sass --load-path /edx/app/edxapp/edx-platform/themes/hastexo/lms/static/sass lms/static/sass:lms/static/css lms/static/themed_sass:lms/static/css cms/static/sass:cms/static/css common/static/sass:common/static/css lms/static/certificates/sass:lms/static/certificates/css /edx/app/edxapp/edx-platform/themes/hastexo/lms/static/sass:/edx/app/edxapp/edx-platform/themes/hastexo/lms/static/css
Finished compiling sass.
python manage.py lms --settings=aws collectstatic --noinput > /dev/null
2016-01-06 13:30:59,143 INFO 9140 [dd.dogapi] dog_stats_api.py:66 - Initializing dog api to use statsd: localhost, 8125
2016-01-06 13:30:59,171 WARNING 9140 [py.warnings] importlib.py:9 - /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/require/helpers.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
from django.utils.importlib import import_module
Traceback (most recent call last):
File "manage.py", line 116, in <module>
execute_from_command_line([sys.argv[0]] + django_args)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
utility.execute()
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 346, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/base.py", line 394, in run_from_argv
self.execute(*args, **cmd_options)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/base.py", line 445, in execute
output = self.handle(*args, **options)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 168, in handle
collected = self.collect()
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
for original_path, processed_path, processed in processor:
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/require/storage.py", line 172, in post_process
for path in super_class.post_process(paths, dry_run, **options):
File "/edx/app/edxapp/venvs/edxapp/src/django-pipeline/pipeline/storage.py", line 39, in post_process
for name, hashed_name, processed in super_class.post_process(paths.copy(), dry_run, **options):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/staticfiles/storage.py", line 225, in post_process
with storage.open(path) as original_file:
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/files/storage.py", line 37, in open
return self._open(name, mode)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/files/storage.py", line 201, in _open
return File(open(self.path(name), mode))
IOError: [Errno 2] No such file or directory: u'/edx/app/edxapp/edx-platform/themes/hastexo/lms/static/css/lms-main-rtl.css'
Captured Task Output:
---------------------
---> pavelib.assets.update_assets
---> pavelib.prereqs.install_ruby_prereqs
---> pavelib.prereqs.install_node_prereqs
python manage.py lms --settings=aws preprocess_assets lms/static/sass/*.scss lms/static/themed_sass
xmodule_assets common/static/xmodule
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`
---> pavelib.assets.compile_sass
sass --update --cache-location /tmp/sass-cache --default-encoding utf-8 --style compressed --quiet --load-path . --load-path common/static --load-path common/static/sass --load-path lms/static/sass --load-path lms/static/themed_sass --load-path cms/static/sass --load-path common/static/sass --load-path lms/static/certificates/sass --load-path /edx/app/edxapp/edx-platform/themes/hastexo/lms/static/sass lms/static/sass:lms/static/css lms/static/themed_sass:lms/static/css cms/static/sass:cms/static/css common/static/sass:common/static/css lms/static/certificates/sass:lms/static/certificates/css /edx/app/edxapp/edx-platform/themes/hastexo/lms/static/sass:/edx/app/edxapp/edx-platform/themes/hastexo/lms/static/css
python manage.py lms --settings=aws collectstatic --noinput > /dev/null
Build failed running pavelib.assets.update_assets: Subprocess return code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.