osuosl / streamwebs

Streamwebs.org website
http://streamwebs.readthedocs.io/
4 stars 1 forks source link

Feat/gallery #638

Closed CarvellWakeman closed 6 years ago

CarvellWakeman commented 6 years ago

Testing this PR

brennand97 commented 6 years ago

I get this error when I run ./get_all.sh on a fresh docker instance. It is preventing me from testing it further.

Site Images pulled from drupal site.
Duplicates renamed, uid-to-school relations made.
Duplicates renamed, uid-to-school relations made.
Uid-to-school relations reset.
Relation between schools and data sheets established.
Riparian Aquatic Surveys loaded.
Photo Point Images loaded.
Site Images loaded.
Traceback (most recent call last):
  File "./get_gallery_images.py", line 10, in <module>
    from django.contrib.auth.models import User
  File "/usr/lib/python2.7/site-packages/django/contrib/auth/models.py", line 4, in <module>
    from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
  File "/usr/lib/python2.7/site-packages/django/contrib/auth/base_user.py", line 52, in <module>
    class AbstractBaseUser(models.Model):
  File "/usr/lib/python2.7/site-packages/django/contrib/auth/base_user.py", line 53, in AbstractBaseUser
    password = models.CharField(_('password'), max_length=128)
  File "/usr/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 1057, in __init__
    super(CharField, self).__init__(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 172, in __init__
    self.db_tablespace = db_tablespace or settings.DEFAULT_INDEX_TABLESPACE
  File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 56, in __getattr__
    self._setup(name)
  File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 39, in _setup
    % (desc, ENVIRONMENT_VARIABLE))
django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.