Hmm, looks like Review Board has generated a key for the cache that's larger
than what memcached allows. I don't believe we've seen this before, but
perhaps it's somehow specific to ClearCase's requirements.

The key is built by building a string containing the repository path yo have
configured, the filename in the diff, and the revision. If you can give me
an obfuscated (though same length) version of each of these so I can take a
look to better understand this, it would help to determine if there's any
hope of a workaround in the current version.


Christian Hammond -
Review Board -
VMware, Inc. -

On Thu, Aug 6, 2009 at 12:07 AM, jianquan <> wrote:

> hi All
> I can post the review diff with ClearCase and review board now. but
> When i click the View Diff on request page, it display the following
> errors. I have install GNU patch.exe and copy it to c:\Apache2.2.
> I also set the path as C:\Perl\site\bin;C:\Perl\bin;C:\Oracle
> \ora92\bin;c:\jdk1.6\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot
> %\System32\Wbem;C:\Program Files\Windows Imaging\;C:\Python25;C:
> \Python25\Scripts;C:\Program Files\Rational\common;C:\Program Files
> \Rational\ClearCase\bin;C:\Program Files\TortoiseSVN\bin;C:\cygwin
> \bin;C:\Program Files\GnuWin32\bin to make sure the patch in system
> path.
> I have installed the "memcached" as
> Why i meet such issue? Does anyone know how to solve the issue?
> Traceback (most recent call last):
>  File "c:\python25\lib\site-packages\ReviewBoard-1.0.1-py2.5.egg
> \reviewboard\diffviewer\", line 152, in view_diff
>    interdiffset, highlighting, True)
>  File "C:\Python25\lib\site-packages\reviewboard-1.0.1-py2.5.egg
> \reviewboard\diffviewer\", line 623, in get_diff_files
>    large_data=True)
>  File "c:\python25\lib\site-packages\Djblets-0.5.1-py2.5.egg\djblets
> \util\", line 144, in cache_memoize
>    data = lookup_callable()
>  File "C:\Python25\lib\site-packages\reviewboard-1.0.1-py2.5.egg
> \reviewboard\diffviewer\", line 622, in <lambda>
>    enable_syntax_highlighting),
>  File "C:\Python25\lib\site-packages\reviewboard-1.0.1-py2.5.egg
> \reviewboard\diffviewer\", line 344, in get_chunks
>    old = get_original_file(filediff)
>  File "C:\Python25\lib\site-packages\reviewboard-1.0.1-py2.5.egg
> \reviewboard\diffviewer\", line 251, in get_original_file
>    large_data=True)[0]
>  File "c:\python25\lib\site-packages\Djblets-0.5.1-py2.5.egg\djblets
> \util\", line 135, in cache_memoize
>    if not force_overwrite and cache.has_key(key):
>  File "c:\python25\lib\site-packages\django-1.0.2_final-py2.5.egg
> \django\core\cache\backends\", line 66, in has_key
>    return self.get(key) is not None
>  File "c:\python25\lib\site-packages\django-1.0.2_final-py2.5.egg
> \django\core\cache\backends\", line 25, in get
>    val = self._cache.get(smart_str(key))
>  File "build\bdist.win32\egg\", line 698, in get
>    check_key(key)
>  File "build\bdist.win32\egg\", line 994, in check_key
> MemcachedKeyLengthError: Key length is > 250
> >

You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to