Comments (8)
I think your edx-platform wasn't late enough. That error is fixed by this commit:
edx/edx-platform@2f23083
On Sep 15, 2013, at 9:50 AM, plejik [email protected] wrote:
I download latest version of edx code and install on clean install Ubuntu 12.04
failed: [localhost] => {"changed": true, "cmd": " SERVICE_VARIANT=lms rake lms:gather_assets:aws ", "delta": "0:00:06.656451", "end": "2013-09-15 16:42:19.488543", "item": "", "rc": 1, "start": "2013-09-15 16:42:12.832092"}
stderr: mkdir -p /opt/wwc/edx-platform/.ws_migrations_complete
./manage.py lms --settings aws preprocess_assets --traceback
xmodule_assets common/static/xmodule
Traceback (most recent call last):
File "./manage.py", line 95, in
execute_from_command_line([sys.argv[0]] + django_args)
File "/opt/edx/local/lib/python2.7/site-packages/django/core/management/init.py", line 443, in execute_from_command_line
utility.execute()
File "/opt/edx/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 "/opt/edx/local/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
self.execute(_args, *_options.dict)
File "/opt/edx/local/lib/python2.7/site-packages/django/core/management/base.py", line 231, in execute
self.validate()
File "/opt/edx/local/lib/python2.7/site-packages/django/core/management/base.py", line 266, in validate
num_errors = get_validation_errors(s, app)
File "/opt/edx/local/lib/python2.7/site-packages/django/core/management/validation.py", line 30, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/opt/edx/local/lib/python2.7/site-packages/django/db/models/loading.py", line 158, in get_app_errors
self._populate()
File "/opt/edx/local/lib/python2.7/site-packages/django/db/models/loading.py", line 64, in populate
self.load_app(app_name, True)
File "/opt/edx/local/lib/python2.7/site-packages/django/db/models/loading.py", line 88, in load_app
models = import_module('.models', app_name)
File "/opt/edx/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
_import(name)
File "/opt/wwc/edx-platform/lms/djangoapps/shoppingcart/models.py", line 22, in
from verify_student.models import SoftwareSecurePhotoVerification
File "/opt/wwc/edx-platform/lms/djangoapps/verify_student/models.py", line 75, in
class PhotoVerification(StatusModel):
File "/opt/wwc/edx-platform/lms/djangoapps/verify_student/models.py", line 116, in PhotoVerification
DAYS_GOOD_FOR = settings.VERIFY_STUDENT["DAYS_GOOD_FOR"]
TypeError: string indices must be integers, not str
asset preprocessing failed!node_modules/.bin/coffee --compile find . -name *.coffee
FATAL: all hosts have already failed -- aborting
Can someone help with that problem.
I can only found that its, maybe, droped on rake lms.envs.aws config loading.
Thanks—
Reply to this email directly or view it on GitHub.
from configuration.
Strange i do it one day ago and yeap, i look at lms/envs/aws.py and there was old code, now i delete all witch connected to edx and try again. Write when try it again
from configuration.
I have some problem
First delete all in /var/tmp/configuration /opt/wwc/edx-platform /opt/edx
then do like here: https://github.com/edx/configuration/wiki#installing-edx-on-a-single-ubuntu-1204-precise-server
BUT i have this error and still old code in less /opt/wwc/edx-platform/lms/envs/aws.py(i delete it before)
VERIFY_STUDENT = AUTH_TOKENS.get("VERIFY_STUDENT", "")
Maybe can someone help with update through asimble
from configuration.
I have one more epic episode
Can me someone explain
first
rm -rf /opt/wwc/edx-platform/
then
git clone https://github.com/edx/edx-platform /opt/wwc/edx-platform
give right for www-data (like it be before )
than
less /opt/wwc/edx-platform/lms/envs/aws.py
....
VERIFY_STUDENT = AUTH_TOKENS.get("VERIFY_STUDENT", VERIFY_STUDENT)
Ok then
ansible-playbook -c local --limit "localhost:127.0.0.1" ./edx_sandbox.yml -i "localhost,"
I give me my error which i have (look post early) and
less /opt/wwc/edx-platform/lms/envs/aws.py
VERIFY_STUDENT = AUTH_TOKENS.get("VERIFY_STUDENT", "")
What the hell is going on?
from configuration.
Using master branch of your edx-platform repo will fix this problem. #250
from configuration.
Okay, will now try it
from configuration.
So i try
ansible all -c local -i "localhost," --limit "localhost:127.0.0.1" -m git -a "repo=https://github.com/edx/edx-platform dest=/opt/wwc/edx-platform"
I run in edx-platform
rake lms:envs:aws
Yes its change aws.py and run, but why i cant start it from master/configure(if i understand right - release) and start it like in manual and use it for create some courses for real task, not only for playing with it?
And, if you do not mind, where i can see some info about release or something like that because i see comment like
and build from master instead of release(which is currently the default).
or the way to use master.
Than i can use it and during the using in real project i ll trying find bugs and error if its necessary
from configuration.
I believe these issues should be resolved in the latest release, please retry and let us know if you have any problems. Docs for installing the new devstack here - https://github.com/edx/configuration/wiki/edX-Developer-Stack
from configuration.
Related Issues (20)
- Broken link to sqoop
- Native Open edX Ubuntu 16.04 64 bit Installation---behind a proxy:-----TASK [forum : initialize elasticsearch] fatal: HOT 2
- An error occurred while I was executing the sandbox.sh file.
- An error occurred while I was executing the TASK [edxapp : code sandbox | Install base sandbox requirements and create sandbox virtualenv]
- Fixes a bug that occurs in the installation of Analytics Single
- Fail on Insights when install Analytics_Single
- Error install bower dependencies Task insights - Native Open edX Ubuntu 16.04 64 bit Installation HOT 3
- Missing Variables for Journals causing errors during installation HOT 5
- Ansible task that install bower dependencies failing due to bower repository at . http://bower.herokuapp.com/ HOT 5
- conflicting requirements in requirements.txt
- TASK [edxapp : install node dependencies] fails when launched from native.sh
- ImportError: No module named settings.local HOT 1
- Install failing on GCP HOT 4
- nginx config prevents loading of xml files in xblock
- Installation failed due to LibSass warning HOT 9
- stuck on TASK [edxapp : checkout edx-platform repo into /edx/app/edxapp/edx-platform] HOT 3
- Unavailable (access denied) all vagrant boxes from http://files.edx.org/
- 'dict object' has no attribute 'iteritems' and rbenv error on fresh install attempt HOT 2
- TASK [oraclejdk : Download Oracle Java] FAILED! HOT 1
- apt packages installation might need to be reviewed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from configuration.