597: Exception no attribute logging.warning

nithi******@gmai***** (Google Code) (Is this you? Claim this profile.)
Aug. 19, 2008
What's the URL of the page containing the problem?
The view diff link

What steps will reproduce the problem?
1. Create a review with several large files
2. View diff


What is the expected output? What do you see instead?

Expect to see diff page.

Traceback (most recent call last):
  File "C:\xampp\htdocs\reviewboard\diffviewer\views.py", line 125, in
view_diff
    context))
  File "C:\xampp\htdocs\reviewboard\diffviewer\views.py", line 71, in
build_diff_fragment
    lambda: render_to_string(template_name,
  File "C:\xampp\htdocs\reviewboard\djblets\util\misc.py", line 56, in
cache_memoize
    logging.warning("Cache data for key %s (length %s) may be too big "
AttributeError: 'module' object has no attribute 'warning'

What operating system are you using? What browser?

Win Xp, Ffox 3

Please provide any additional information below.
 
This again seems to a conflict with the name logging between python and djblets
chipx86
#1 chipx86
This should be fixed now in djblets r11835. I've renamed djblets.logging to
djblets.log. You may have to remove the stale *.pyc and logging directory in your
installation.
  • +Djblets
chipx86
#2 chipx86
  • +Fixed