How did you create the diff?

What's in the .rej file that it's telling you about?

-David


On Fri, Oct 12, 2012 at 5:05 AM, bincy <bincy_k_phi...@yahoo.co.in> wrote:

> Hi All,
>
> Please help me to resolve this issue.This is really blocking me.
> I am facing some issue in viewing DIFF in review board .When I press the
> view diff button,I am getting the error.I tried to unsinstall & install
> django-storages but it didn't help
> Also settings->File Storage settings page is giving the error
> Something broke! (Error 500)
>
> It appears something broke when you tried to go to here. This is either a
> bug in Review Board or a server configuration error. Please report this to
> your administrator.
>
> Regards
> Bincy
>
>
> The patch to 'bin/listtags' didn't apply cleanly. The temporary files have
> been left in '/tmp/reviewboard.JP5kwN' for debugging purposes. `patch`
> returned: patching file /tmp/reviewboard.JP5kwN/tmp7b8GsK Hunk #1 FAILED at
> 10. 1 out of 1 hunk FAILED -- saving rejects to file
> /tmp/reviewboard.JP5kwN/tmp7b8GsK-new.rej
>
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.11-py2.6.egg/reviewboard/diffviewer/views.py",
>  line 152, in view_diff
>     populate_diff_chunks(temp_files, highlighting)
>   File 
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.11-py2.6.egg/reviewboard/diffviewer/diffutils.py",
>  line 1131, in populate_diff_chunks
>     large_data=True)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.22-py2.6.egg/djblets/util/misc.py",
>  line 156, in cache_memoize
>     data = lookup_callable()
>   File 
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.11-py2.6.egg/reviewboard/diffviewer/diffutils.py",
>  line 1130, in <lambda>
>     enable_syntax_highlighting)),
>   File 
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.11-py2.6.egg/reviewboard/diffviewer/diffutils.py",
>  line 558, in get_chunks
>     new = get_patched_file(old, filediff)
>   File 
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.11-py2.6.egg/reviewboard/diffviewer/diffutils.py",
>  line 377, in get_patched_file
>     return patch(filediff.diff, buffer, filediff.dest_file)
>   File 
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.11-py2.6.egg/reviewboard/diffviewer/diffutils.py",
>  line 246, in patch
>     (filename, tempdir, patch_output))
> Exception: The patch to 'bin/listtags' didn't apply cleanly. The temporary 
> files have been left in '/tmp/reviewboard.JP5kwN' for debugging purposes.
> `patch` returned: patching file /tmp/reviewboard.JP5kwN/tmp7b8GsK
> Hunk #1 FAILED at 10.
> 1 out of 1 hunk FAILED -- saving rejects to file 
> /tmp/reviewboard.JP5kwN/tmp7b8GsK-new.rej
>
> I am getting the server  log like this
>
> 03:46:35 ERROR
>
> Exception thrown for user test at http://10.163.6.3/admin/settings/storage/
>
> Could not load amazon's S3 bindings.
> See http://developer.amazonwebservices.com/connect/entry.jspa?externalID=134
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.3.3-py2.6.egg/django/core/handlers/base.py",
>  line 111, in get_response
>     response = callback(request, *callback_args, **callback_kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.3.3-py2.6.egg/django/contrib/admin/views/decorators.py",
>  line 19, in _checklogin
>     return view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.11-py2.6.egg/reviewboard/admin/views.py",
>  line 59, in site_settings
>     'root_path': settings.SITE_ROOT + "admin/db/"
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.3.3-py2.6.egg/django/contrib/admin/views/decorators.py",
>  line 19, in _checklogin
>     return view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.22-py2.6.egg/djblets/siteconfig/views.py",
>  line 50, in site_settings
>     form = form_class(siteconfig)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.22-py2.6.egg/djblets/siteconfig/forms.py",
>  line 41, in __init__
>     self.load()
>   File 
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.11-py2.6.egg/reviewboard/admin/forms.py",
>  line 631, in load
>     can_use_amazon_s3, reason = get_can_use_amazon_s3()
>   File 
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.11-py2.6.egg/reviewboard/admin/checks.py",
>  line 244, in get_can_use_amazon_s3
>     from storages.backends.s3 import S3Storage
>   File 
> "/usr/local/lib/python2.6/dist-packages/django_storages-1.1.5-py2.6.egg/storages/backends/s3.py",
>  line 18, in <module>
>     raise ImproperlyConfigured("Could not load amazon's S3 bindings.\nSee "
> ImproperlyConfigured: Could not load amazon's S3 bindings.
> See http://developer.amazonwebservices.com/connect/entry.jspa?externalID=134
>
>  03:46:35R ERROR
>
> Internal Server Error: /admin/settings/storage/
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.3.3-py2.6.egg/django/core/handlers/base.py",
>  line 111, in get_response
>     response = callback(request, *callback_args, **callback_kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.3.3-py2.6.egg/django/contrib/admin/views/decorators.py",
>  line 19, in _checklogin
>     return view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.11-py2.6.egg/reviewboard/admin/views.py",
>  line 59, in site_settings
>     'root_path': settings.SITE_ROOT + "admin/db/"
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.3.3-py2.6.egg/django/contrib/admin/views/decorators.py",
>  line 19, in _checklogin
>     return view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.22-py2.6.egg/djblets/siteconfig/views.py",
>  line 50, in site_settings
>     form = form_class(siteconfig)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.22-py2.6.egg/djblets/siteconfig/forms.py",
>  line 41, in __init__
>     self.load()
>   File 
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.11-py2.6.egg/reviewboard/admin/forms.py",
>  line 631, in load
>     can_use_amazon_s3, reason = get_can_use_amazon_s3()
>   File 
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.11-py2.6.egg/reviewboard/admin/checks.py",
>  line 244, in get_can_use_amazon_s3
>     from storages.backends.s3 import S3Storage
>   File 
> "/usr/local/lib/python2.6/dist-packages/django_storages-1.1.5-py2.6.egg/storages/backends/s3.py",
>  line 18, in <module>
>     raise ImproperlyConfigured("Could not load amazon's S3 bindings.\nSee "
> ImproperlyConfigured: Could not load amazon's S3 bindings.
> See http://developer.amazonwebservices.com/connect/entry.jspa?externalID=134
>
>  --
> 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

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