Giter Site home page Giter Site logo

Comments (7)

jarv avatar jarv commented on June 2, 2024

I was unable to reproduce this myself by installing on a precise server from scratch. I think it's a race condition where rabbitmq is not coming up all the way so I added a wait task edx@aa6445c

Can you pull master, re-test and let me know if that fixes it?

from configuration.

asia653 avatar asia653 commented on June 2, 2024

Different error message. Perhaps need more specific instructions. Do you guys update/upgrade before starting the script instructions?

TASK: [gather lms static assets with rake] ************************************
failed: [localhost] => {"changed": true, "cmd": " SERVICE_VARIANT=lms rake lms:gather_assets:aws ", "delta": "0:00:08.602144", "end": "2013-09-13 17:10:18.428600", "item": "", "rc": 1, "start": "2013-09-13 17:10:09.826456"}
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

PLAY RECAP ********************************************************************
to retry, use: --limit @/root/edx_sandbox.retry

from configuration.

feanil avatar feanil commented on June 2, 2024

This error is actually due to a bug that was fixed in master today. Can you please try again and build from master instead of release(which is currently the default).

from configuration.

asia653 avatar asia653 commented on June 2, 2024

Hey feanil,

I used:
sudo ansible all -c local -i "localhost," --limit "localhost:127.0.0.1"
-m git -a "repo=https://github.com/edx/configuration dest=/var/tmp/configuration"

Which pulls from master(correct me if I'm wrong).

git status -> On branch master

from configuration.

jbau avatar jbau commented on June 2, 2024

I think the fix is in edx-platform/master (provides better defaults for VERIFY_STUDENT)

On Sep 13, 2013, at 10:24 AM, Edwardzyc [email protected] wrote:

Hey feanil,

I used:
sudo ansible all -c local -i "localhost," --limit "localhost:127.0.0.1"
-m git -a "repo=https://github.com/edx/configuration dest=/var/tmp/configuration"

Which pulls from master(correct me if I'm wrong).

git status -> On branch master


Reply to this email directly or view it on GitHub.

from configuration.

feanil avatar feanil commented on June 2, 2024

Yes, sorry for the confusion, as Jason said. The fix is in the master of the edx-platfrom not in master of the configuration repo.

from configuration.

asia653 avatar asia653 commented on June 2, 2024

i have no clue how to do that. But I guess the issue can be closed if it is fixed! thanks guys

from configuration.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.