Error while upgrading!

root@xxx:/mnt/usb/backup#* rb-site upgrade /var/www/rb/*
Traceback (most recent call last):
  File "/usr/bin/rb-site", line 8, in <module>
    load_entry_point('ReviewBoard==1.7.10', 'console_scripts', 'rb-site')()
  File 
"/usr/lib/python2.5/site-packages/ReviewBoard-1.7.10-py2.5.egg/reviewboard/cmdline/rbsite.py",
 
line 1937, in main
    command.run()
  File 
"/usr/lib/python2.5/site-packages/ReviewBoard-1.7.10-py2.5.egg/reviewboard/cmdline/rbsite.py",
 
line 1762, in run
    static_media_upgrade_needed = site.get_static_media_upgrade_needed()
  File 
"/usr/lib/python2.5/site-packages/ReviewBoard-1.7.10-py2.5.egg/reviewboard/cmdline/rbsite.py",
 
line 383, in get_static_media_upgrade_needed
    siteconfig = SiteConfiguration.objects.get_current()
  File 
"/usr/lib/python2.5/site-packages/Djblets-0.7.15-py2.5.egg/djblets/siteconfig/managers.py",
 
line 47, in get_current
    site = Site.objects.get_current()
  File 
"/usr/lib/python2.5/site-packages/Django-1.4.5-py2.5.egg/django/contrib/sites/models.py",
 
line 25, in get_current
    current_site = self.get(pk=sid)
  File 
"/usr/lib/python2.5/site-packages/Django-1.4.5-py2.5.egg/django/db/models/manager.py",
 
line 131, in get
    return self.get_query_set().get(*args, **kwargs)
  File 
"/usr/lib/python2.5/site-packages/Django-1.4.5-py2.5.egg/django/db/models/query.py",
 
line 358, in get
    clone = self.filter(*args, **kwargs)
  File 
"/usr/lib/python2.5/site-packages/Django-1.4.5-py2.5.egg/django/db/models/query.py",
 
line 624, in filter
    return self._filter_or_exclude(False, *args, **kwargs)
  File 
"/usr/lib/python2.5/site-packages/Django-1.4.5-py2.5.egg/django/db/models/query.py",
 
line 642, in _filter_or_exclude
    clone.query.add_q(Q(*args, **kwargs))
  File 
"/usr/lib/python2.5/site-packages/Django-1.4.5-py2.5.egg/django/db/models/sql/query.py",
 
line 1250, in add_q
    can_reuse=used_aliases, force_having=force_having)
  File 
"/usr/lib/python2.5/site-packages/Django-1.4.5-py2.5.egg/django/db/models/sql/query.py",
 
line 1122, in add_filter
    process_extras=process_extras)
  File 
"/usr/lib/python2.5/site-packages/Django-1.4.5-py2.5.egg/django/db/models/sql/query.py",
 
line 1304, in setup_joins
    field, model, direct, m2m = opts.get_field_by_name(name)
  File 
"/usr/lib/python2.5/site-packages/Django-1.4.5-py2.5.egg/django/db/models/options.py",
 
line 311, in get_field_by_name
    cache = self.init_name_map()
  File 
"/usr/lib/python2.5/site-packages/Django-1.4.5-py2.5.egg/django/db/models/options.py",
 
line 341, in init_name_map
    for f, model in self.get_all_related_m2m_objects_with_model():
  File 
"/usr/lib/python2.5/site-packages/Django-1.4.5-py2.5.egg/django/db/models/options.py",
 
line 429, in get_all_related_m2m_objects_with_model
    cache = self._fill_related_many_to_many_cache()
  File 
"/usr/lib/python2.5/site-packages/Django-1.4.5-py2.5.egg/django/db/models/options.py",
 
line 443, in _fill_related_many_to_many_cache
    for klass in get_models(only_installed=False):
  File 
"/usr/lib/python2.5/site-packages/Django-1.4.5-py2.5.egg/django/db/models/loading.py",
 
line 181, in get_models
    self._populate()
  File 
"/usr/lib/python2.5/site-packages/Django-1.4.5-py2.5.egg/django/db/models/loading.py",
 
line 64, in _populate
    self.load_app(app_name, True)
  File 
"/usr/lib/python2.5/site-packages/Django-1.4.5-py2.5.egg/django/db/models/loading.py",
 
line 88, in load_app
    models = import_module('.models', app_name)
  File 
"/usr/lib/python2.5/site-packages/Django-1.4.5-py2.5.egg/django/utils/importlib.py",
 
line 35, in import_module
    __import__(name)
  File 
"/usr/lib/python2.5/site-packages/ReviewBoard-1.7.10-py2.5.egg/reviewboard/accounts/models.py",
 
line 9, in <module>
    from reviewboard.reviews.models import Group, ReviewRequest
  File 
"/usr/lib/python2.5/site-packages/ReviewBoard-1.7.10-py2.5.egg/reviewboard/reviews/models.py",
 
line 19, in <module>
    from reviewboard.attachments.models import FileAttachment
  File 
"/usr/lib/python2.5/site-packages/ReviewBoard-1.7.10-py2.5.egg/reviewboard/attachments/models.py",
 
line 10, in <module>
    class FileAttachment(models.Model):
  File 
"/usr/lib/python2.5/site-packages/ReviewBoard-1.7.10-py2.5.egg/reviewboard/attachments/models.py",
 
line 41, in FileAttachment
    @thumbnail.setter
AttributeError: 'property' object has no attribute 'setter'


On Saturday, June 22, 2013 11:51:45 PM UTC-4, Christian Hammond wrote:
>
> Hi everyone,
>
> We have two new releases out tonight. Both are important security updates 
> for a vulnerability that was reported to us that affects primarily 
> public-facing sites.
>
> 1.7.10 contains some additional bug fixes and improvements.
>
> For more info, see 
> http://www.reviewboard.org/news/2013/06/22/review-board-1617-and-1710-released/
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com <javascript:>
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>  

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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/groups/opt_out.


Reply via email to