Issue 2191 for this one.

On Thu, Jul 21, 2011 at 12:39 PM, Leonel Togniolli <tognio...@gmail.com> wrote:
> Hi,
>
> When trying to access a diff of an existing review request, while the
> SVN server is for some reason unavailable (and the diff is not
> cached), I get the error below. It seems to me there's a bug in the
> error handling. 1.6.1 RC1
>
> global name 'ClientError' is not defined
>
> Traceback (most recent call last):
>  File 
> "c:\python25\lib\site-packages\ReviewBoard-1.6rc1-py2.5.egg\reviewboard\diffviewer\views.py",
> line 151, in view_diff
>    interdiffset, highlighting, True)
>  File 
> "c:\python25\lib\site-packages\ReviewBoard-1.6rc1-py2.5.egg\reviewboard\diffviewer\diffutils.py",
> line 1071, in get_diff_files
>    large_data=True)
>  File 
> "c:\python25\lib\site-packages\Djblets-0.6.8-py2.5.egg\djblets\util\misc.py",
> line 166, in cache_memoize
>    data = lookup_callable()
>  File 
> "c:\python25\lib\site-packages\ReviewBoard-1.6rc1-py2.5.egg\reviewboard\diffviewer\diffutils.py",
> line 1070, in <lambda>
>    enable_syntax_highlighting)),
>  File 
> "c:\python25\lib\site-packages\ReviewBoard-1.6rc1-py2.5.egg\reviewboard\diffviewer\diffutils.py",
> line 551, in get_chunks
>    old = get_original_file(filediff)
>  File 
> "c:\python25\lib\site-packages\ReviewBoard-1.6rc1-py2.5.egg\reviewboard\diffviewer\diffutils.py",
> line 364, in get_original_file
>    large_data=True)[0]
>  File 
> "c:\python25\lib\site-packages\Djblets-0.6.8-py2.5.egg\djblets\util\misc.py",
> line 166, in cache_memoize
>    data = lookup_callable()
>  File 
> "c:\python25\lib\site-packages\ReviewBoard-1.6rc1-py2.5.egg\reviewboard\diffviewer\diffutils.py",
> line 363, in <lambda>
>    data = cache_memoize(key, lambda: [fetch_file(file, revision)],
>  File 
> "c:\python25\lib\site-packages\ReviewBoard-1.6rc1-py2.5.egg\reviewboard\diffviewer\diffutils.py",
> line 342, in fetch_file
>    data = tool.get_file(file, revision)
>  File 
> "c:\python25\lib\site-packages\ReviewBoard-1.6rc1-py2.5.egg\reviewboard\scmtools\svn.py",
> line 135, in get_file
>    except ClientError, e:
> NameError: global name 'ClientError' is not defined
>

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