What version are you running?
1.0 Final
What's the URL of the page containing the problem?
http://10.0.0.9/r/2/diff/#index_header
What steps will reproduce the problem?
1. Set up a Bazaar branch as the repository.
2. Create a diff using the windows command console, something to the
effect of "bzr diff > foo.diff".
3. Create a review request in Review Board, uploading the diff file,
and using "/" as the base path (the diff was the same directory as the
branch/repo).
What is the expected output? What do you see instead?
I expect to see a diff. Instead I see a traceback.
What operating system are you using? What browser?
Windows XP 32bit SP2. Mozilla Firefox 3.0.11
Please provide any additional information below.
This is the actual output of the traceback:
Traceback (most recent call last):
File
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-py2.6.egg/reviewboard/diffviewer/views.py",
line 152, in view_diff
interdiffset, highlighting, True)
File
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-py2.6.egg/reviewboard/diffviewer/diffutils.py",
line 623, in get_diff_files
large_data=True)
File
"/usr/local/lib/python2.6/dist-packages/Djblets-0.5-py2.6.egg/djblets/util/misc.py",
line 143, in cache_memoize
data = lookup_callable()
File
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-py2.6.egg/reviewboard/diffviewer/diffutils.py",
line 622, in <lambda>
enable_syntax_highlighting),
File
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-py2.6.egg/reviewboard/diffviewer/diffutils.py",
line 344, in get_chunks
old = get_original_file(filediff)
File
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-py2.6.egg/reviewboard/diffviewer/diffutils.py",
line 251, in get_original_file
large_data=True)[0]
File
"/usr/local/lib/python2.6/dist-packages/Djblets-0.5-py2.6.egg/djblets/util/misc.py",
line 134, in cache_memoize
if not force_overwrite and cache.has_key(key):
File
"/usr/local/lib/python2.6/dist-packages/Django-1.0.2_final-py2.6.egg/django/core/cache/backends/base.py",
line 66, in has_key
return self.get(key) is not None
File
"/usr/local/lib/python2.6/dist-packages/Django-1.0.2_final-py2.6.egg/django/core/cache/backends/memcached.py",
line 25, in get
val = self._cache.get(smart_str(key))
File "/var/lib/python-support/python2.6/memcache.py", line 619, in get
check_key(key)
File "/var/lib/python-support/python2.6/memcache.py", line 888, in check_key
raise Client.MemcachedKeyCharacterError, "Control characters not allowed"
MemcachedKeyCharacterError: Control characters not allowed