Skip to content

Instantly share code, notes, and snippets.

@natea
Created November 6, 2014 22:41
Show Gist options
  • Save natea/624754fe9bdf91accc2f to your computer and use it in GitHub Desktop.
Save natea/624754fe9bdf91accc2f to your computer and use it in GitHub Desktop.
TASK: [edxapp | gather static assets with paver] *****************************
failed: [localhost] => (item=lms) => {"changed": true, "cmd": "SERVICE_VARIANT=lms paver update_assets lms --settings=aws ", "delta": "0:02:16.397247", "end": "2014-11-04 01:49:29.749790", "item": "lms", "rc": 1, "start": "2014-11-04 01:47:13.352543"}
stderr: 2014-11-03 20:47:18,390 INFO 19410 [dd.dogapi] dog_stats_api.py:66 - Initializing dog api to use statsd: localhost, 8125
2014-11-03 20:47:21,187 INFO 19410 [lms.startup] startup.py:122 - Loading microsite /edx/app/edxapp/edx-microsite/default
2014-11-03 20:49:05,054 INFO 19880 [dd.dogapi] dog_stats_api.py:66 - Initializing dog api to use statsd: localhost, 8125
2014-11-03 20:49:06,053 INFO 19880 [lms.startup] startup.py:122 - Loading microsite /edx/app/edxapp/edx-microsite/default
Traceback (most recent call last):
File "manage.py", line 95, 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 443, 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 382, 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 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
output = self.handle(*args, **options)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/base.py", line 371, in handle
return self.handle_noargs(**options)
File "/edx/app/edxapp/venvs/edxapp/src/django-staticfiles/staticfiles/management/commands/collectstatic.py", line 169, in handle_noargs
collected = self.collect()
File "/edx/app/edxapp/venvs/edxapp/src/django-staticfiles/staticfiles/management/commands/collectstatic.py", line 126, in collect
for original_path, processed_path, processed in processor:
File "/edx/app/edxapp/venvs/edxapp/src/django-staticfiles/staticfiles/storage.py", line 279, in post_process
content = pattern.sub(converter, content)
File "/edx/app/edxapp/venvs/edxapp/src/django-staticfiles/staticfiles/storage.py", line 218, in converter
hashed_url = self.url(unquote(joined_result), force=True)
File "/edx/app/edxapp/venvs/edxapp/src/django-staticfiles/staticfiles/storage.py", line 164, in url
hashed_name = self.hashed_name(clean_name).replace('\\', '/')
File "/edx/app/edxapp/venvs/edxapp/src/django-staticfiles/staticfiles/storage.py", line 127, in hashed_name
(clean_name, self))
ValueError: The file 'gloshospitals/images/panel-rapid-development.jpg' could not be found with <pipeline.storage.PipelineCachedStorage object at 0x4f3db90>.
stdout: ---> pavelib.assets.update_assets
---> pavelib.prereqs.install_ruby_prereqs
---> pavelib.prereqs.install_node_prereqs
python manage.py lms --settings=aws preprocess_assets
xmodule_assets common/static/xmodule
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/themes/isc /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`
sass --style compressed --sourcemap --cache-location /tmp/sass-cache --load-path ./common/static/sass /edx/app/edxapp/themes/isc/static/sass --update -E utf-8 */static /edx/app/edxapp/themes/isc/static/sass
write cms/static/sass/style-app-extend1.css
write cms/static/sass/style-app-extend1.css.map
write cms/static/sass/style-app.css
write cms/static/sass/style-app.css.map
write cms/static/sass/style-xmodule.css
write cms/static/sass/style-xmodule.css.map
write lms/static/sass/application-extend1.css
write lms/static/sass/application-extend1.css.map
write lms/static/sass/application-extend2.css
write lms/static/sass/application-extend2.css.map
write lms/static/sass/application.css
write lms/static/sass/application.css.map
write lms/static/sass/course.css
write lms/static/sass/course.css.map
write lms/static/sass/ie.css
write lms/static/sass/ie.css.map
python manage.py lms --settings=aws collectstatic --noinput > /dev/null
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
xmodule_assets common/static/xmodule
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/themes/isc /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`
sass --style compressed --sourcemap --cache-location /tmp/sass-cache --load-path ./common/static/sass /edx/app/edxapp/themes/isc/static/sass --update -E utf-8 */static /edx/app/edxapp/themes/isc/static/sass
python manage.py lms --settings=aws collectstatic --noinput > /dev/null
Build failed running pavelib.assets.update_assets: Subprocess return code: 1
failed: [localhost] => (item=cms) => {"changed": true, "cmd": "SERVICE_VARIANT=cms paver update_assets cms --settings=aws ", "delta": "0:01:38.787828", "end": "2014-11-04 01:51:09.125157", "item": "cms", "rc": 1, "start": "2014-11-04 01:49:30.337329"}
stderr: 2014-11-03 20:49:32,797 INFO 19919 [dd.dogapi] dog_stats_api.py:66 - Initializing dog api to use statsd: localhost, 8125
2014-11-03 20:50:45,181 INFO 20180 [dd.dogapi] dog_stats_api.py:66 - Initializing dog api to use statsd: localhost, 8125
Traceback (most recent call last):
File "manage.py", line 95, 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 443, 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 382, 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 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
output = self.handle(*args, **options)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/base.py", line 371, in handle
return self.handle_noargs(**options)
File "/edx/app/edxapp/venvs/edxapp/src/django-staticfiles/staticfiles/management/commands/collectstatic.py", line 169, in handle_noargs
collected = self.collect()
File "/edx/app/edxapp/venvs/edxapp/src/django-staticfiles/staticfiles/management/commands/collectstatic.py", line 126, in collect
for original_path, processed_path, processed in processor:
File "/edx/app/edxapp/venvs/edxapp/src/django-staticfiles/staticfiles/storage.py", line 279, in post_process
content = pattern.sub(converter, content)
File "/edx/app/edxapp/venvs/edxapp/src/django-staticfiles/staticfiles/storage.py", line 218, in converter
hashed_url = self.url(unquote(joined_result), force=True)
File "/edx/app/edxapp/venvs/edxapp/src/django-staticfiles/staticfiles/storage.py", line 164, in url
hashed_name = self.hashed_name(clean_name).replace('\\', '/')
File "/edx/app/edxapp/venvs/edxapp/src/django-staticfiles/staticfiles/storage.py", line 127, in hashed_name
(clean_name, self))
ValueError: The file 'themes/isc/images/panel-healthcare.jpg' could not be found with <pipeline.storage.PipelineCachedStorage object at 0x6298450>.
stdout: ---> pavelib.assets.update_assets
---> pavelib.prereqs.install_ruby_prereqs
---> pavelib.prereqs.install_node_prereqs
python manage.py cms --settings=aws preprocess_assets
xmodule_assets common/static/xmodule
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/themes/isc /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`
sass --style compressed --sourcemap --cache-location /tmp/sass-cache --load-path ./common/static/sass /edx/app/edxapp/themes/isc/static/sass --update -E utf-8 */static /edx/app/edxapp/themes/isc/static/sass
write lms/static/sass/application-extend1.css
write lms/static/sass/application-extend1.css.map
write lms/static/sass/application-extend2.css
write lms/static/sass/application-extend2.css.map
write lms/static/sass/application.css
write lms/static/sass/application.css.map
write lms/static/sass/course.css
write lms/static/sass/course.css.map
python manage.py cms --settings=aws collectstatic --noinput > /dev/null
Captured Task Output:
---------------------
---> pavelib.assets.update_assets
---> pavelib.prereqs.install_ruby_prereqs
---> pavelib.prereqs.install_node_prereqs
python manage.py cms --settings=aws preprocess_assets
xmodule_assets common/static/xmodule
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/themes/isc /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`
sass --style compressed --sourcemap --cache-location /tmp/sass-cache --load-path ./common/static/sass /edx/app/edxapp/themes/isc/static/sass --update -E utf-8 */static /edx/app/edxapp/themes/isc/static/sass
python manage.py cms --settings=aws collectstatic --noinput > /dev/null
Build failed running pavelib.assets.update_assets: Subprocess return code: 1
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/ubuntu/edxapp.retry
localhost : ok=45 changed=16 unreachable=0 failed=1
ubuntu@ip-172-31-17-166:~$ Write failed: Broken pipe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment