Hmm, that is strange... By the time we load extensions, all of the apps (oauth included) should be loaded and initialized, but this is indicating it's not.
I noticed that the version is 3.0.15.1.dev0. Are there any changes at all to the source of Review Board there? Any customization of the app list either there or in your settings_local.py? Christian On Thu, Jan 23, 2020 at 2:01 PM Koushik Roy <[email protected]> wrote: > > 1. Upgraded from RB 3.0.6 to 3.0.15 > 2. Everything went fine except - > > rb-site manage /var/www/reviewboard rebuild_index (or update_index) > gives error: > > ERROR:djblets.extensions.manager:Error loading extension rbmotd: > APPLICATION_MODEL refers to model oauth.Application that has not been > installed > Traceback (most recent call last): > File > "/usr/local/lib/python2.7/dist-packages/Djblets-1.0.12-py2.7.egg/djblets/extensions/manager.py", > line 704, in _load_extensions > ext_class = entrypoint.load() > File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", > line 2443, in load > return self.resolve() > File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", > line 2449, in resolve > module = __import__(self.module_name, fromlist=['__name__'], level=0) > File > "/usr/local/lib/python2.7/dist-packages/rbmotd-1.0-py2.7.egg/rbmotd/extension.py", > line 2, in <module> > from reviewboard.extensions.hooks import TemplateHook > File > "/usr/local/lib/python2.7/dist-packages/ReviewBoard-3.0.15.1.dev0-py2.7.egg/reviewboard/extensions/hooks.py", > line 48, in <module> > from reviewboard.urls import (diffviewer_url_names, > File > "/usr/local/lib/python2.7/dist-packages/ReviewBoard-3.0.15.1.dev0-py2.7.egg/reviewboard/urls.py", > line 49, in <module> > admin.autodiscover() > File > "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/admin/__init__.py", > line 29, in autodiscover > import_module('%s.admin' % app) > File > "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/utils/importlib.py", > line 40, in import_module > __import__(name) > File > "/usr/local/lib/python2.7/dist-packages/django_oauth_toolkit-0.9.0-py2.7.egg/oauth2_provider/admin.py", > line 9, in <module> > Application = get_application_model() > File > "/usr/local/lib/python2.7/dist-packages/django_oauth_toolkit-0.9.0-py2.7.egg/oauth2_provider/models.py", > line 267, in get_application_model > raise ImproperlyConfigured(e.format(oauth2_settings.APPLICATION_MODEL)) > ImproperlyConfigured: APPLICATION_MODEL refers to model oauth.Application > that has not been installed > > > Note: I have added an explicit dependency on requests-oauthlib>=0.8,<=1.0 > and on django-braces==1.13 as required in RB 3.0.16 > > What could I be missing? > Appreciate any help. > Thanks > > Koushik Roy > > -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://www.reviewboard.org/users/ > --- > You received this message because you are subscribed to the Google Groups > "Review Board Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/reviewboard/35dcf8f0-5f8c-4fb2-97f6-b261fab6cc7c%40googlegroups.com > <https://groups.google.com/d/msgid/reviewboard/35dcf8f0-5f8c-4fb2-97f6-b261fab6cc7c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Christian Hammond President/CEO of Beanbag <https://www.beanbaginc.com/> Makers of Review Board <https://www.reviewboard.org/> -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "Review Board Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/CAE7VndmTQLwt8WkP6czzBafvuJeC1uZ_Ggjc6R7KUXXSTJu5Dw%40mail.gmail.com.
