Hi there,

I just updated the review board from V2.5.2 to 2.5.4. easy_install ran 
through fine, but rb-site upgrade throws the following error:


Traceback (most recent call last):
  File "/usr/local/bin/rb-site", line 9, in <module>
    load_entry_point('ReviewBoard==2.5.4', 'console_scripts', 'rb-site')()
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.4-py2.7.egg/reviewboard/cmdline/rbsite.py"
, line 1922, in main
    command.run()
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.4-py2.7.egg/reviewboard/cmdline/rbsite.py"
, line 1705, in run
    static_media_upgrade_needed = site.get_static_media_upgrade_needed()
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.4-py2.7.egg/reviewboard/cmdline/rbsite.py"
, line 467, in get_static_media_upgrade_needed
    siteconfig = SiteConfiguration.objects.get_current()
  File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.9.3-py2.7.egg/djblets/siteconfig/managers.py"
, line 50, in get_current
    site = Site.objects.get_current()
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11.2-py2.7.egg/django/contrib/sites/models.py"
, line 47, in get_current
    current_site = self.get(pk=sid)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11.2-py2.7.egg/django/db/models/manager.py"
, line 151, in get
    return self.get_queryset().get(*args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11.2-py2.7.egg/django/db/models/query.py"
, line 301, in get
    clone = self.filter(*args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11.2-py2.7.egg/django/db/models/query.py"
, line 593, in filter
    return self._filter_or_exclude(False, *args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11.2-py2.7.egg/django/db/models/query.py"
, line 611, in _filter_or_exclude
    clone.query.add_q(Q(*args, **kwargs))
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11.2-py2.7.egg/django/db/models/sql/query.py"
, line 1204, in add_q
    clause = self._add_q(where_part, used_aliases)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11.2-py2.7.egg/django/db/models/sql/query.py"
, line 1240, in _add_q
    current_negated=current_negated)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11.2-py2.7.egg/django/db/models/sql/query.py"
, line 1103, in build_filter
    allow_explicit_fk=True)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11.2-py2.7.egg/django/db/models/sql/query.py"
, line 1363, in setup_joins
    names, opts, allow_many, allow_explicit_fk)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11.2-py2.7.egg/django/db/models/sql/query.py"
, line 1271, in names_to_path
    field, model, direct, m2m = opts.get_field_by_name(name)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11.2-py2.7.egg/django/db/models/options.py"
, line 373, in get_field_by_name
    cache = self.init_name_map()
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11.2-py2.7.egg/django/db/models/options.py"
, line 402, in init_name_map
    for f, model in self.get_all_related_m2m_objects_with_model():
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11.2-py2.7.egg/django/db/models/options.py"
, line 518, in get_all_related_m2m_objects_with_model
    cache = self._fill_related_many_to_many_cache()
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11.2-py2.7.egg/django/db/models/options.py"
, line 532, in _fill_related_many_to_many_cache
    for klass in get_models(only_installed=False):
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11.2-py2.7.egg/django/db/models/loading.py"
, line 232, in get_models
    self._populate()
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11.2-py2.7.egg/django/db/models/loading.py"
, line 78, in _populate
    self.load_app(app_name)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11.2-py2.7.egg/django/db/models/loading.py"
, line 99, in load_app
    models = import_module('%s.models' % app_name)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11.2-py2.7.egg/django/utils/importlib.py"
, line 40, in import_module
    __import__(name)
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.4-py2.7.egg/reviewboard/accounts/models.py"
, line 19, in <module>
    from reviewboard.reviews.models import Group, ReviewRequest
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.4-py2.7.egg/reviewboard/reviews/models/__init__.py"
, line 6, in <module>
    from reviewboard.reviews.models.file_attachment_comment import \
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.4-py2.7.egg/reviewboard/reviews/models/file_attachment_comment.py"
, line 9, in <module>
    from reviewboard.attachments.models import FileAttachment
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.4-py2.7.egg/reviewboard/attachments/models.py"
, line 15, in <module>
    from reviewboard.attachments.mimetypes import MimetypeHandler
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.4-py2.7.egg/reviewboard/attachments/mimetypes.py"
, line 11, in <module>
    from djblets.util.templatetags.djblets_images import thumbnail
  File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.9.3-py2.7.egg/djblets/util/templatetags/djblets_images.py"
, line 33, in <module>
    from PIL import Image
ImportError: No module named PIL


Now, the site shows only a message "Review Board is taking a nap".

Does anybody has an idea what's going on here and how I can fix this?

Best Regards,

Markus

-- 
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 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to