Home I am trying to run my program on Otree, but i have this error, how can i fix it?
Reply: 0

I am trying to run my program on Otree, but i have this error, how can i fix it?

Sebastián Ramírez
1#
Sebastián Ramírez Published in 2018-02-13 19:45:18Z

Traceback (most recent call last):

File "C:/Users/diese/oTree/normscooperation/normscooperation/models.py", line 1, in import otree.api

File "C:\Users\diese\PycharmProjects\untitled\venv\lib\site-packages\otree\api.py", line 3, in from otree.models import BaseSubsession, BaseGroup, BasePlayer # noqa

File "C:\Users\diese\PycharmProjects\untitled\venv\lib\site-packages\otree\models__init__.py", line 8, in from otree.db.models import * # noqa

File "C:\Users\diese\PycharmProjects\untitled\venv\lib\site-packages\otree\db\models.py", line 12, in from idmap.models import IdMapModelBase

File "C:\Users\diese\PycharmProjects\untitled\venv\lib\site-packages\idmap\models.py", line 61, in class IdMapModel(six.with_metaclass(IdMapModelBase, models.Model)):

File "C:\Users\diese\PycharmProjects\untitled\venv\lib\site-packages\django\utils\six.py", line 808, in __new_return meta(name, bases, d)

File "C:\Users\diese\PycharmProjects\untitled\venv\lib\site-packages\idmap\models.py", line 41, in new cls = super(IdMapModelBase, mcs).new(mcs, name, bases, attrs)

File "C:\Users\diese\PycharmProjects\untitled\venv\lib\site-packages\django\db\models\base.py", line 110, in __new__app_config = apps.get_containing_app_config(module)

File "C:\Users\diese\PycharmProjects\untitled\venv\lib\site-packages\django\apps\registry.py", line 247, in get_containing_app_config self.check_apps_ready()

File "C:\Users\diese\PycharmProjects\untitled\venv\lib\site-packages\django\apps\registry.py", line 125, in check_apps_ready raise

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

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.313434 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO