Just upgraded to latest nightly via
easy_install -U 
http://downloads.reviewboard.org/nightlies/ReviewBoard-1.5beta3.dev-20100705.tar.gz

After upgrading site and restarting apache2/memcached I got the error
500 with the following in the log:

2010-07-05 09:36:06,175 - INFO - Log file for Review Board v1.5 beta 3
(dev) (PID 10350)
2010-07-05 09:36:06,319 - ERROR - Exception thrown for user jzv at
http://172.25.33.45/dashboard/

cannot import name get_http_requested_mimetype
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/handlers/base.py", line 92, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python2.6/dist-packages/
Djblets-0.6.3alpha0.dev_20100602-py2.6.egg/djblets/auth/util.py", line
46, in _checklogin
    return view_func(request, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/
ReviewBoard-1.5beta3.dev_20100705-py2.6.egg/reviewboard/accounts/
decorators.py", line 43, in _check_valid_prefs
    return view_func(request, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/
ReviewBoard-1.5beta3.dev_20100705-py2.6.egg/reviewboard/reviews/
views.py", line 309, in dashboard
    return grid.render_to_response(template_name)
  File "/usr/local/lib/python2.6/dist-packages/
Djblets-0.6.3alpha0.dev_20100602-py2.6.egg/djblets/datagrid/grids.py",
line 700, in render_to_response
    self.load_state()
  File "/usr/local/lib/python2.6/dist-packages/
Djblets-0.6.3alpha0.dev_20100602-py2.6.egg/djblets/datagrid/grids.py",
line 535, in load_state
    self.precompute_objects()
  File "/usr/local/lib/python2.6/dist-packages/
Djblets-0.6.3alpha0.dev_20100602-py2.6.egg/djblets/datagrid/grids.py",
line 637, in precompute_objects
    for obj in object_list
  File "/usr/local/lib/python2.6/dist-packages/
Djblets-0.6.3alpha0.dev_20100602-py2.6.egg/djblets/datagrid/grids.py",
line 216, in render_cell
    url = self.link_func(obj, rendered_data)
  File "/usr/local/lib/python2.6/dist-packages/
ReviewBoard-1.5beta3.dev_20100705-py2.6.egg/reviewboard/reviews/
datagrids.py", line 347, in link_to_object
    return "%s#last-review" % review_request.get_absolute_url()
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/utils/functional.py", line 55, in _curried
    return _curried_func(*(args+moreargs), **dict(kwargs,
**morekwargs))
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/db/models/base.py", line 639, in get_absolute_url
    return settings.ABSOLUTE_URL_OVERRIDES.get('%s.%s' %
(opts.app_label, opts.module_name), func)(self, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/db/models/__init__.py", line 32, in inner
    return reverse(bits[0], None, *bits[1:3])
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/urlresolvers.py", line 350, in reverse
    *args, **kwargs)))
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/urlresolvers.py", line 275, in reverse
    possibilities = self.reverse_dict.getlist(lookup_view)
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/urlresolvers.py", line 195, in _get_reverse_dict
    self._populate()
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/urlresolvers.py", line 175, in _populate
    for name in pattern.reverse_dict:
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/urlresolvers.py", line 195, in _get_reverse_dict
    self._populate()
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/urlresolvers.py", line 175, in _populate
    for name in pattern.reverse_dict:
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/urlresolvers.py", line 195, in _get_reverse_dict
    self._populate()
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/urlresolvers.py", line 164, in _populate
    for pattern in reversed(self.url_patterns):
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/urlresolvers.py", line 245, in _get_url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns",
self.urlconf_module)
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/urlresolvers.py", line 240, in _get_urlconf_module
    self._urlconf_module = import_module(self.urlconf_name)
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/usr/local/lib/python2.6/dist-packages/
ReviewBoard-1.5beta3.dev_20100705-py2.6.egg/reviewboard/webapi/
urls.py", line 5, in <module>
    from reviewboard.webapi.resources import root_resource
  File "/usr/local/lib/python2.6/dist-packages/
ReviewBoard-1.5beta3.dev_20100705-py2.6.egg/reviewboard/webapi/
resources.py", line 16, in <module>
    from djblets.util.http import get_http_requested_mimetype, \
ImportError: cannot import name get_http_requested_mimetype


This looks like something introduced in the last commit,
http://github.com/reviewboard/reviewboard/commit/745af878159e27c45251ef872399c28c11dca4d5.
Manually upgrading to latest djblets fixes the problem
easy_install -U 
http://downloads.reviewboard.org/nightlies/Djblets-0.6.3.dev-20100705.tar.gz

 - Jeppe

-- 
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

Reply via email to