Appreciate if anyone can help:

What version are you running?
2.0.11
What's the URL of the page containing the problem?
http://be01:8800/r/
What steps will reproduce the problem?
1. Integrate ReviewBoard with ClearCase
2. Run rbt post --debug
3. Go to GUI, click on the review request, choose "upload file" or "upload
diff"
What is the expected output? What do you see instead?
Expect to see the file or diff is uploaded successfully.
I see:
2015-04-01 13:47:04,905 - DEBUG -  - Cache miss for key
jsi18n-djangojs-reviewboard_djblets-en-1423215710.
2015-04-01 13:47:07,335 - ERROR -  - Unable to load Mimetype Handler for :
global name 'default_storage' is not defined
Traceback (most recent call last):
  File
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/attachments/mimetypes.py",
line 157, in for_type
    try:
  File
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/attachments/mimetypes.py",
line 118, in __init__
    self.mimetype = mimetype
NameError: global name 'default_storage' is not defined
2015-04-01 13:47:07,338 - ERROR -  - Exception thrown for user ljie at
http://be01:8800/r/2/
global name 'default_storage' is not defined
Traceback (most recent call last):
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/handlers/base.py",
line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/accounts/decorators.py",
line 21, in _check
    return login_required(view_func)(*args, **kwargs)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/contrib/auth/decorators.py",
line 22, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/site/decorators.py",
line 35, in _check
    return view_func(request, local_site=local_site, *args, **kwargs)
  File
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/reviews/views.py",
line 716, in review_detail
    RequestContext(request, context_data))
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/shortcuts/__init__.py",
line 29, in render_to_response
    return HttpResponse(loader.render_to_string(*args, **kwargs),
**httpresponse_kwargs)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/loader.py",
line 164, in render_to_string
    return t.render(Context(dictionary))
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 140, in render
    return self._render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 134, in _render
    return self.nodelist.render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 840, in render
    bit = self.render_node(node, context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 854, in render_node
    return node.render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/loader_tags.py",
line 123, in render
    return compiled_parent._render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 134, in _render
    return self.nodelist.render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 840, in render
    bit = self.render_node(node, context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 854, in render_node
    return node.render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/loader_tags.py",
line 123, in render
    return compiled_parent._render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 134, in _render
    return self.nodelist.render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 840, in render
    bit = self.render_node(node, context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 854, in render_node
    return node.render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/loader_tags.py",
line 62, in render
    result = block.nodelist.render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 840, in render
    bit = self.render_node(node, context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 854, in render_node
    return node.render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/loader_tags.py",
line 62, in render
    result = block.nodelist.render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 840, in render
    bit = self.render_node(node, context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 854, in render_node
    return node.render(context)
  File
"/usr/lib/python2.6/site-packages/Djblets-0.8.14-py2.6.egg/djblets/util/decorators.py",
line 200, in render
    return self.tag_func(context, self.nodelist, *args)
  File
"/usr/lib/python2.6/site-packages/Djblets-0.8.14-py2.6.egg/djblets/util/templatetags/djblets_deco.py",
line 45, in box
    'content': nodelist.render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 840, in render
    bit = self.render_node(node, context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 854, in render_node
    return node.render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/loader_tags.py",
line 155, in render
    return self.render_template(self.template, context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/loader_tags.py",
line 137, in render_template
    output = template.render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 140, in render
    return self._render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 134, in _render
    return self.nodelist.render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 840, in render
    bit = self.render_node(node, context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 854, in render_node
    return node.render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/defaulttags.py",
line 203, in render
    nodelist.append(node.render(context))
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/loader_tags.py",
line 155, in render
    return self.render_template(self.template, context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/loader_tags.py",
line 137, in render_template
    output = template.render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 140, in render
    return self._render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 134, in _render
    return self.nodelist.render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 840, in render
    bit = self.render_node(node, context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 854, in render_node
    return node.render(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 891, in render
    output = self.filter_expression.resolve(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 585, in resolve
    obj = self.var.resolve(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 735, in resolve
    value = self._resolve_lookup(context)
  File
"/usr/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/template/base.py",
line 771, in _resolve_lookup
    current = getattr(current, bit)
  File
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/attachments/models.py",
line 104, in icon_url
    return self.mimetype_handler.get_icon_url()
  File
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/attachments/models.py",
line 63, in mimetype_handler
    self._thumbnail = MimetypeHandler.for_type(self)
  File
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/attachments/mimetypes.py",
line 162, in for_type
  File
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/attachments/mimetypes.py",
line 118, in __init__
    self.mimetype = mimetype
NameError: global name 'default_storage' is not defined

What operating system are you using? What browser?
RHEL6
IE9

Please provide any additional information below.
See above.

Best Regards,
Li

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