Dear Mr Christian Hammond,
- When i go to folder /tmp in RB server, there is a folder
*reviewboard.JZeo6R.
*But I can not enter this folder or cat or do anything else.
- I am afraid that may be i had a mistake when configured Repository for
Perforce. There is any special required for intergrate Perforce and
Reviewboard, isnt it?
This is the process when i configured Perforce integration with RB.
- Install P4PythonInstaller.
- Add Repository in RB Admin site which Repository address = P4
Server Address(P4 info).
- p4 counter reviewboard.url http://myreviewboard.example
- At client side, i installed Rbtool (I think this step is successful
because i can make a review request to RB Server).
Best Regards,
Nguyen Tuan Hoang
Vào 14:46:59 UTC+7 Thứ năm, ngày 26 tháng sáu năm 2014, Christian Hammond
đã viết:
>
> Can you look in the /tmp/ directory it shows and see what the diff looks
> like? It sounds like the patch isn’t valid.
>
> Christian
>
> --
> Christian Hammond - [email protected] <javascript:>
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
> On June 25, 2014 at 7:55:36 PM, hoàng tuấn ([email protected]
> <javascript:>) wrote:
>
> *Dear All,*
>
>
> *I installed Reviewboard (2.0.2) and Perforce on same machine (Ubuntu
> 12.04) and Rbt(0.6.1)*
> *When have a review request and i want to diff file and there is a error
> occurred.*
>
> Traceback (most recent call last): File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/diffviewer/views.py",
>
> line 236, in get renderer = self.create_renderer(context, *args, **kwargs)
> File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/reviews/views.py",
>
> line 1111, in create_renderer *args, **kwargs) File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/diffviewer/views.py",
>
> line 326, in create_renderer self.diff_file =
> self._get_requested_diff_file() File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/diffviewer/views.py",
>
> line 367, in _get_requested_diff_file request=self.request) File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/diffviewer/diffutils.py",
>
> line 373, in populate_diff_chunks chunks = generator.get_chunks() File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/diffviewer/chunk_generator.py",
>
> line 148, in get_chunks large_data=True) File
> "/usr/local/lib/python2.7/dist-packages/Djblets-0.8.5-py2.7.egg/djblets/cache/backend.py",
>
> line 109, in cache_memoize data = lookup_callable() File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/diffviewer/chunk_generator.py",
>
> line 147, in <lambda> lambda: list(self._get_chunks_
>
> uncached()),
> File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/diffviewer/chunk_generator.py",
> line 155, in _get_chunks_uncached
> new = get_patched_file(old, self.filediff, self.request)
> File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/diffviewer/diffutils.py",
> line 201, in get_patched_file
> return patch(diff, buffer, filediff.dest_file, request)
> File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/diffviewer/diffutils.py",
> line 139, in patch
> 'output': stderr,*Exception: The patch to '//depot/main/Guide for SW
> developer/Snippet.java' didn't apply cleanly. The temporary files have been
> left in '/tmp/reviewboard.JZeo6R' for debugging purposes.
> `patch` returned: patch: **** Only garbage was found in the patch input.*
>
>
>
> *I am a newbie with Reviewboard so i've just config as the document on
> reviewboard.org <http://reviewboard.org/>.*
>
>
> *Anyone help me please?*
>
>
>
> *Best Regards,*
>
> *Nguyen Tuan Hoang*
>
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.