Error when updating assets in LMS

123 views
Skip to first unread message

chemseddine zaafrane

unread,
May 16, 2017, 9:34:18 PM5/16/17
to General Open edX discussion
I'm having a problem running LMS, I'm having this error 
Captured Task Output:
---------------------

---> pavelib.assets.compile_sass
Traceback (most recent call last):
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/paver/tasks.py", line 196, in _run_task
    return do_task()
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/paver/tasks.py", line 193, in do_task
    return func(**kw)
  File "/edx/app/edxapp/edx-platform/pavelib/assets.py", line 499, in compile_sass
    timing_info=timing_info
  File "/edx/app/edxapp/edx-platform/pavelib/assets.py", line 583, in _compile_sass
    output_style=output_style,
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/sass.py", line 644, in compile
    raise CompileError(v)
CompileError: Error: Undefined variable: "$verdana".
        on line 314 of lms/static/sass/partials/base/_variables.scss
>> $sans-serif: 'Open Sans', $verdana, sans-serif !default;
   --------------------------^




Captured Task Output:
---------------------

---> pavelib.servers.devstack
---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_node_prereqs
---> pavelib.prereqs.install_python_prereqs
---> pavelib.prereqs.uninstall_python_packages
python manage.py cms --settings=devstack reindex_course --setup
---> pavelib.assets.update_assets
python manage.py lms --settings=devstack preprocess_assets lms/static/sass/*.scss lms/static/themed_sass
xmodule_assets common/static/xmodule
mkdir_p path('common/static/common/js/vendor')
/bin/cp -rf node_modules/jquery/dist/jquery.js common/static/common/js/vendor
/bin/cp -rf node_modules/jquery-migrate/dist/jquery-migrate.js common/static/common/js/vendor
/bin/cp -rf node_modules/jquery.scrollto/jquery.scrollTo.js common/static/common/js/vendor
/bin/cp -rf node_modules/underscore/underscore.js common/static/common/js/vendor
/bin/cp -rf node_modules/underscore.string/dist/underscore.string.js common/static/common/js/vendor
/bin/cp -rf node_modules/picturefill/dist/picturefill.js common/static/common/js/vendor
/bin/cp -rf node_modules/backbone/backbone.js common/static/common/js/vendor
/bin/cp -rf node_modules/edx-ui-toolkit/node_modules/backbone.paginator/lib/backbone.paginator.js common/static/common/js/vendor
---> 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"`
python manage.py lms --settings=devstack compile_sass lms 

Build failed running pavelib.servers.devstack: Subprocess return code: 1


 I tried to update the assests by running 
paver update_assets lms --settings=devstack
but i got this error 
Build failed running pavelib.assets.update_assets: Subprocess return code: 1


 

Claudio

unread,
May 17, 2017, 5:35:18 AM5/17/17
to General Open edX discussion
Hello chemseddine zaafrane,

The error is:

CompileError: Error: Undefined variable: "$verdana".
        on line 314 of lms/static/sass/partials/base/_variables.scss
>> $sans-serif: 'Open Sans', $verdana, sans-serif !default;

Verify the variables.scss file on line 314.


Regards,
Cláudio

chemseddine zaafrane

unread,
May 17, 2017, 6:25:03 AM5/17/17
to edx-...@googlegroups.com

I already checked and i didn't know what to do exactly

--
You received this message because you are subscribed to a topic in the Google Groups "General Open edX discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/ad865913-300b-4f7c-8a08-43c290276861%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages