Skip to content

Instantly share code, notes, and snippets.

View ovnicraft's full-sized avatar
🎯
Focusing

Christian Salamea ovnicraft

🎯
Focusing
View GitHub Profile
2014-03-06 15:25:17,922 ERROR 5235 [root] exceptions.py:9 - Uncaught exception from <class 'django.core.handlers.wsgi.WSGIHandler'>
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/edx/app/edxapp/edx-platform/common/djangoapps/util/cache.py", line 51, in _decorated
response = view_func(request, *args, **kwargs)
File "/edx/app/edxapp/edx-platform/lms/djangoapps/courseware/views.py", line 574, in course_about
'is_course_full': is_course_full})
@ovnicraft
ovnicraft / gist:9413120
Created March 7, 2014 15:06
UnicodeError in title course
2014-03-07 09:59:22,497 ERROR 6845 [django.request] base.py:215 - Internal Server Error: /courses/UPEx/IPROG101/2014_T2/about
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/edx/app/edxapp/edx-platform/common/djangoapps/util/cache.py", line 51, in _decorated
response = view_func(request, *args, **kwargs)
File "/edx/app/edxapp/edx-platform/lms/djangoapps/courseware/views.py", line 574, in course_about
'is_course_full': is_course_full})
FEATURES['USE_MICROSITES'] = True
MICROSITE_ROOT_DIR = COMMON_ROOT / 'upex'
MICROSITE_CONFIGURATION = {
"upex": {
"domain_prefix": "iaen",
"university": "iaen",
"platform_name": "Universidad de Postgrados del Estado",
"logo_image_url": "upex/images/header-logo.png",
"email_from_address": "cristian.salamea@iaen.edu.ec",
@ovnicraft
ovnicraft / gist:9493558
Created March 11, 2014 19:45
Cambio de remotes de mi repo para git
$ git remote -v
origin https://github.com/iaen-edu/siac_py.git (fetch)
origin https://github.com/iaen-edu/siac_py.git (push)
#agregamos nuestro fork y renombro a origin mi fork
$ git remote add mi_fork https://github.com/ovnicraft/siac_py.git
$ git remote rename origin iaen
$ git remote mi_fork origin
sass --style compressed --cache-location /tmp/sass-cache --load-path ./common/static/sass --update -E utf-8 */static
error cms/static/sass/style-app.scss (Line 42: File to import not found or unreadable: views/syllabus.
Load paths:
/edx/app/edxapp/edx-platform
/edx/app/edxapp/edx-platform/common/static/sass
/edx/app/edxapp/edx-platform/cms/static
/edx/app/edxapp/edx-platform/common/static
/edx/app/edxapp/edx-platform/lms/static)
overwrite lms/static/sass/application-extend1.css
overwrite lms/static/sass/application-extend2.css
@ovnicraft
ovnicraft / gist:9631848
Created March 18, 2014 23:13
Error al abrir un curso.
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/course.py", line 126, in course_handler
return course_index(request, package_id, branch, version_guid, block)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view
TASK: [edxapp | gather static assets with rake] ******************************
failed: [localhost] => (item=lms) => {"changed": true, "cmd": "SERVICE_VARIANT=lms rake lms:gather_assets:aws ", "delta": "0:00:41.175182", "end": "2014-03-20 21:58:27.073486", "item": "lms", "rc": 1, "start": "2014-03-20 21:57:45.898304"}
stderr: mkdir -p /edx/app/edxapp/edx-platform/.ws_migrations_complete
./manage.py lms --settings aws preprocess_assets --traceback
xmodule_assets common/static/xmodule
2014-03-20 16:57:47,248 INFO 18912 [dd.dogapi] dog_stats_api.py:66 - Initializing dog api to use statsd: localhost, 8125
node_modules/.bin/coffee --compile `find /edx/app/edxapp/themes/stanford lms/ cms/ common/ -type f -name *.coffee`
sass --style compressed --cache-location /tmp/sass-cache --load-path ./common/static/sass /edx/app/edxapp/themes/stanford/static/sass --update -E utf-8 */static /edx/app/edxapp/themes/stanford/static/sass
./manage.py lms --settings aws collectstatic --traceback --noinput > /dev/null
2014-03-20 16
edxapp@dev-upex-staging:/edx/app/edxapp/edx-platform$ rake lms:gather_assets:aws
/edx/app/edxapp/edx-platform/rakefile:24: warning: already initialized constant SERVICE_VARIANT
./manage.py lms --settings aws preprocess_assets --traceback
xmodule_assets common/static/xmodule
2014-03-20 17:19:51,723 INFO 19543 [dd.dogapi] dog_stats_api.py:66 - Initializing dog api to use statsd: localhost, 8125
node_modules/.bin/coffee --compile `find /edx/app/edxapp/themes/stanford lms/ cms/ common/ -type f -name *.coffee`
sass --style compressed --cache-location /tmp/sass-cache --load-path ./common/static/sass /edx/app/edxapp/themes/stanford/static/sass --update -E utf-8 */static /edx/app/edxapp/themes/stanford/static/sass
overwrite lms/static/sass/application-extend1.css
overwrite lms/static/sass/application-extend2.css
overwrite lms/static/sass/application.css
edxapp_use_custom_theme: true
edxapp_theme_name: 'stanford'
edxapp_theme_source_repo: 'git://github.com/iaen-edu/upex-theme.git'
edxapp_theme_version: 'master
<ovnicraft> can you help me ?
<FelipeMontoya1> I´m looking at my code to see if I find the snippet
* singingwolfboy se ha marchado (Ping timeout: 240 seconds)
<ovnicraft> thank you
<ovnicraft> so i applied PR to change assets.rake
<ovnicraft> FYI
* natea (~natea@199-116-74-206.PUBLIC.monkeybrains.net) ha entrado en #edx-code
<FelipeMontoya1> at the _themename.scss file (or _stanford.scss) around the line 131 you should have something like $homepage-bg-image: '../themes/stanford/images/name.jpg';
<FelipeMontoya1> right?
<ovnicraft> ill cehck