django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

377 views
Skip to first unread message

Flora T

unread,
Sep 22, 2021, 3:20:54 PM9/22/21
to oTree help & discussion
Hi,

I found a sample app, which is available at otreehub and works fine there. I pasted it into my project and add an app at settings.py but it is not running and has the error:

django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

What can I do for this? Thanks!!

Chris @ oTree

unread,
Sep 22, 2021, 3:28:01 PM9/22/21
to oTree help & discussion
That error message mentions Django, so it indicates you are using oTree 3. Maybe the sample app you downloaded is for oTree 5 only (if it's using the no-self format; see here: https://www.otree.org/newformat.html).

Chris @ oTree

unread,
Sep 22, 2021, 3:30:20 PM9/22/21
to oTree help & discussion
Anyway if that is the case and if you want to upgrade to oTree 5, you can do that with "pip3 install -U otree". if you encounter any problems during the upgrade process, you can run "otree zip" and send me the .otreezip file, i can take a look.

Flora T

unread,
Sep 22, 2021, 3:34:14 PM9/22/21
to oTree help & discussion
Wow~Thanks Chris, I will definitely try this and let you know if there is any further issues!
Reply all
Reply to author
Forward
0 new messages