Error while installing formhub -- validation error

13 views
Skip to first unread message

joby mathai

unread,
Dec 30, 2017, 4:16:31 AM12/30/17
to Formhub Developers
Hi,

   Somebody please help to fix this error..

I followed the following link for installation. 



============ Error Message ================

root@ubu16:/home/fhuser/formhub# python manage.py validate
Your environment is:"formhub.preset.default_settings"
Traceback (most recent call last):
  File "manage.py", line 16, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 453, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 263, in fetch_command
    app_name = get_commands()[subcommand]
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 109, in get_commands
    apps = settings.INSTALLED_APPS
  File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 53, in __getattr__
    self._setup(name)
  File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 48, in _setup
    self._wrapped = Settings(settings_module)
  File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 134, in __init__
    raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e))
ImportError: Could not import settings 'formhub.preset.default_settings' (Is it on sys.path?): cannot import name _uuid_generate_random
root@ubu16:/home/fhuser/formhub# 

Regards,
Joby

Reply all
Reply to author
Forward
0 new messages