Hello Everyone, 

I am running with dogwood.3 installation of Open edX platform on ubuntu 
14.04 machine. I am able to apply Stanford theme using the methods given in 
various documentations. 

If you visit https://github.com/edx/edx-platform/tree/master/themes, you 
get themes provided by edx platform.
Looks like *edx.org and red-theme* are provided as individual themes. 

I would like to use *edx.org or red-theme* to theme my edx instance. I am 
using the following steps -
1. mkdir /edx/app/edxapp/themes/default
2. Copy the contents of edx.org into /edx/app/edxapp/themes/default
3. Run compilation commands given - 
https://github.com/edx/configuration/wiki/edX-Managing-the-Full-Stack#compile-assets-manually


When I run command *paver update_assets lms --settings=lms* , I get the 
following error 


> Captured Task Output:
> ---------------------
> ---> pavelib.assets.update_assets
> ---> 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
> 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 
> /edx/app/edxapp/themes/default -type f -name "*.coffee"`
> ---> 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 "pavelib/assets.py", line 456, in update_assets
>     call_task('pavelib.assets.compile_sass', options={'system': 
> args.system, 'debug': args.debug})
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/paver/easy.py",
>  
> line 51, in __call__
>     return self.__get_object()(*args, **kw)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/paver/tasks.py",
>  
> line 155, in call_task
>     task()
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/paver/tasks.py",
>  
> line 321, in __call__
>     retval = environment._run_task(self.name, self.needs, self.func)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/paver/tasks.py",
>  
> line 214, 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 "pavelib/assets.py", line 311, 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: File to import not found or unreadable: default
>        Parent style sheet: 
> /edx/app/edxapp/edx-platform/lms/static/themed_sass/lms-main-v1.scss
>         on line 55 of lms/static/themed_sass/lms-main-v1.scss
> >> *@import 'default';*



Please help me with your suggestions to fix this error.

Thanks,
Ashay

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/e8bc8d95-ccc2-4fa6-a908-b27cf590d55d%40googlegroups.com.

Reply via email to