Cannot install s3uploader_downloader xblock

following the instructions on the readme from
everything is fine until I run: python lms makemigrations s3uploader_downloader --settings=aws

Then I get this error

  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/apps/", line 85, in populate
    app_config = AppConfig.create(entry)
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/apps/", line 94, in create
    module = import_module(entry)
  File "/usr/lib/python2.7/importlib/", line 37, in import_module
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/s3uploader_downloader/", line 1, in <module>
    from .s3uploader_downloader import UploaderDownloaderXBlock
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/s3uploader_downloader/", line 18, in <module>
    from xmodule.modulestore.django import modulestore
  File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/", line 35, in <module>
    from xblock_django.user_service import DjangoXBlockUserService
  File "/edx/app/edxapp/edx-platform/common/djangoapps/xblock_django/", line 4, in <module>
    from django.contrib.auth.models import User
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/auth/", line 4, in <module>
    from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/auth/", line 52, in <module>
    class AbstractBaseUser(models.Model):
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/", line 110, in __new__
    app_config = apps.get_containing_app_config(module)
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/apps/", line 247, in get_containing_app_config
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/apps/", line 125, in check_apps_ready
    raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

Hey @joshoftenly, I noticed that the conversation about the issue that you reported above continues on GitHub. Has the fix that the author of the XBlock mentioned in here resolved your issue, or are you still facing any blockers installing the s3-uploader-downloader XBlock?

1 Like

I left the issue open due to the fact that my server was down due to this (the installer installed packages that were outdated or wrong version, thusly I learned how pip manages versions and had to fix all that before even attempting the try it again. Now that that is out of the way it should be good to go, but I haven’t run that yet. When I have I will update this and write a summary of the fix.

1 Like