Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3836 by vlov...@gmail.com: Full index after upgrade to 2.0.15 fails with: django.core.exceptions.ImproperlyConfigured: App with label djblets is missing a models.py module
https://code.google.com/p/reviewboard/issues/detail?id=3836

*** READ THIS BEFORE POSTING!
***
*** You must complete this form in its entirety, or your bug report will be
*** rejected.
***
*** If you have a security issue to report, please send it confidentially
to
*** secur...@reviewboard.org. Posting security-related issues to this bug
*** tracker causes us to have to do an emergency release.
***
*** For customer support, please post to reviewbo...@googlegroups.com
***
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** This bug tracker is public. Please check that any logs or other
information
*** that you include has been stripped of confidential information.


What version are you running?
2.0.15

What's the URL of the page containing the problem?
N/A

What steps will reproduce the problem?
1. Upgrade to 2.0.15 from 2.0.12
2. Run sudo -u www-data rb-site upgrade /var/www/mysite
3. restart web server
4. restart memcached
5. sudo -u www-data rb-site manage /var/www/mysite/ index -- --full

What is the expected output? What do you see instead?
I expect it to complete without exception.  Instead:

Removing all documents from your index because you said so.
All documents removed.
Traceback (most recent call last):
  File "/usr/bin/rb-site", line 9, in <module>
    load_entry_point('ReviewBoard==2.0.15', 'console_scripts', 'rb-site')()
File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.15-py2.6.egg/reviewboard/cmdline/rbsite.py", line 1885, in main
    command.run()
File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.15-py2.6.egg/reviewboard/cmdline/rbsite.py", line 1814, in run
    site.run_manage_command(args[0], args[1:])
File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.15-py2.6.egg/reviewboard/cmdline/rbsite.py", line 662, in run_manage_command
    execute_from_command_line([__file__, cmd] + params)
File "/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
File "/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/core/management/base.py", line 242, in run_from_argv
    self.execute(*args, **options.__dict__)
File "/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/core/management/base.py", line 285, in execute
    output = self.handle(*args, **options)
File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.15-py2.6.egg/reviewboard/reviews/management/commands/index.py", line 19, in handle
    call_command('rebuild_index', interactive=False)
File "/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/core/management/__init__.py", line 159, in call_command
    return klass.execute(*args, **defaults)
File "/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/core/management/base.py", line 285, in execute
    output = self.handle(*args, **options)
File "/usr/lib/python2.6/site-packages/django_haystack-2.3.0-py2.6.egg/haystack/management/commands/rebuild_index.py", line 16, in handle
    call_command('update_index', **options)
File "/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/core/management/__init__.py", line 159, in call_command
    return klass.execute(*args, **defaults)
File "/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/core/management/base.py", line 285, in execute
    output = self.handle(*args, **options)
File "/usr/lib/python2.6/site-packages/django_haystack-2.3.0-py2.6.egg/haystack/management/commands/update_index.py", line 182, in handle
    items = load_apps()
File "/usr/lib/python2.6/site-packages/django_haystack-2.3.0-py2.6.egg/haystack/utils/app_loading.py", line 51, in load_apps
    loaded_app = get_app(app_label)
File "/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/db/models/loading.py", line 186, in get_app raise ImproperlyConfigured("App with label %s is missing a models.py module." % app_label) django.core.exceptions.ImproperlyConfigured: App with label djblets is missing a models.py module.

What operating system are you using? What browser?
Oracle Linux Server release 6.4

Please provide any additional information below.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to