I have installed the eucalyptus 2 release of Open edX.  From this 
Confluence page 
<https://openedx.atlassian.net/wiki/display/OpenOPS/Managing+OpenEdX+Tips+and+Tricks>,
 
the command to create a new user is: sudo -u www-data 
/edx/bin/python.edxapp ./manage.py lms --settings aws create_user -e 
u...@example.com

Running this created a traceback:

root@ip-172-31-21-85:/edx/app/edxapp/edx-platform# sudo -u www-data 
/edx/bin/python.edxapp ./manage.py lms --settings aws create_user -e 
eriks...@gmail.com
2016-10-14 09:12:05,054 INFO 22863 [dd.dogapi] dog_stats_api.py:66 - 
Initializing dog api to use statsd: localhost, 8125
Traceback (most recent call last):
  File "./manage.py", line 116, in <module>
    execute_from_command_line([sys.argv[0]] + django_args)
  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/__init__.py",
 
line 354, in execute_from_command_line
    utility.execute()
  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/__init__.py",
 
line 346, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/base.py",
 
line 394, in run_from_argv
    self.execute(*args, **cmd_options)
  File 
"/edx/app/edxapp/edx-platform/common/djangoapps/track/management/tracked_command.py",
 
line 59, in execute
    super(TrackedCommand, self).execute(*args, **options)
  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/base.py",
 
line 445, in execute
    output = self.handle(*args, **options)
  File 
"/edx/app/edxapp/edx-platform/common/djangoapps/student/management/commands/create_user.py",
 
line 99, in handle
    user, _, reg = _do_create_account(form)
  File "/edx/app/edxapp/edx-platform/common/djangoapps/student/views.py", 
line 1484, in _do_create_account
    raise ValidationError(errors)
django.core.exceptions.ValidationError: {'password': [u'A valid password is 
required'], 'email': [u'It looks like eriks...@gmail.com belongs to an 
existing account. Try again with a different email address.']}


Any thoughts on solving this?

-- 
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/cf223cb3-2a74-4a2f-a5de-5ae9315f4ab5%40googlegroups.com.

Reply via email to