Re: Error when diff files on ReviewBoard site
Dear Mr David, I get this log when i click at *ViewDiff* or *click at the file* on *ReviewRequest* I sent to you all i got. ===*Review Request* https://lh4.googleusercontent.com/-tdnYHF7hsHY/U89aaHzso-I/AC0/lw9bYueKplU/s1600/1.PNG https://lh4.googleusercontent.com/-18eOTGuXgJ8/U89afS3T37I/AC8/ncjIHYTcVXc/s1600/2.PNG ==*Checking in /tmp* = https://lh5.googleusercontent.com/-4DDbrqK3d0o/U89akHOVSUI/ADE/QxrO4ALGWFY/s1600/3.PNG https://lh6.googleusercontent.com/-kLgNeLEyEug/U89azuNI4HI/ADM/S1VcOz-QFLE/s1600/4.PNG https://lh4.googleusercontent.com/-cqnElVbRsuY/U89a45npPDI/ADU/Q0K67W76Ebo/s1600/5.PNG *Config Repository* = https://lh6.googleusercontent.com/-pW90iAVQScc/U89a97vXYpI/ADc/2S5sy9HJ-AU/s1600/6.PNG If i miss anything, please let me know and i will send to you. Thank you for your support and your enthusiasm!!! 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Error when diff files on ReviewBoard site
Yes, this is my pleasure, but i am a newbie so can you guide me how to give you more log for this case -- 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Error when diff files on ReviewBoard site
Dear Mr David. This is more detail log in ReviewBoard. Traceback (most recent call last): File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/diffviewer/views.py, line 236, in get renderer = self.create_renderer(context, *args, **kwargs) File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/reviews/views.py, line 1088, in create_renderer *args, **kwargs) File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/diffviewer/views.py, line 328, in create_renderer self.diff_file = self._get_requested_diff_file() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/diffviewer/views.py, line 369, in _get_requested_diff_file request=self.request) File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/diffviewer/diffutils.py, line 373, in populate_diff_chunks chunks = generator.get_chunks() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/diffviewer/chunk_generator.py, line 153, in get_chunks large_data=True) File /usr/local/lib/python2.6/dist-packages/Djblets-0.8.6-py2.6.egg/djblets/cache/backend.py, line 109, in cache_memoize data = lookup_callable() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/diffviewer/chunk_generator.py, line 152, in lambda lambda: list(self._get_chunks_uncached()), File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/diffviewer/chunk_generator.py, line 160, in _get_chunks_uncached new = get_patched_file(old, self.filediff, self.request) File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/diffviewer/diffutils.py, line 201, in get_patched_file return patch(diff, buffer, filediff.dest_file, request) File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/diffviewer/diffutils.py, line 139, in patch 'output': stderr, Exception: The patch to '//depot/assignment/T2_A3.cpp' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.GOZVyC' for debugging purposes. `patch` returned: It's seem the folder in */tmp/reviewboard.GOZVyC* changing everytime i view diff even it's on same review request. BR! -- 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Error when diff files on ReviewBoard site
Dear Mr David, I am using Perforce and my patch's version is 2.6. I will show you more detail and the content of these file. At this time, i make a review request and diff file .cpp file. I added 1 line #include conio.h to diff. This is a error when i want to view diff. https://lh5.googleusercontent.com/-TmvoSVhToi8/U8jIeI5E4OI/AB4/VgfimdBS1NU/s1600/Capture.PNG After that i check in /tmp/reviewboard.QVafqB: https://lh6.googleusercontent.com/-Ww0obvLXkXs/U8jI5TqIB5I/ACA/2ZayuxnRqIQ/s1600/Capture.PNG https://lh6.googleusercontent.com/-qlPiiygHWbU/U8jJsx-6gyI/ACQ/oScQSdIuyEA/s1600/Capture.PNG --- And i checked another files. But only tmp1_IEjZ-new.rej has contents https://lh3.googleusercontent.com/-7Dg9_ROICpo/U8jLSvwI9zI/ACk/9GQLaYh2TFM/s1600/Capture.PNG Best Regards, Nguyen Tuan Hoang Vào 10:54:43 UTC+7 Thứ sáu, ngày 18 tháng bảy năm 2014, David Trowbridge đã viết: A couple questions: - Can you check the contents of the new 2.txt.diff file and see if it's what you expect? - Can you check the contents of the tmpeeeSkZ file and see if it's what you expect? - What revision control system? - What version of GNU patch? -David On Thu, Jun 26, 2014 at 2:56 AM, hoàng tuấn hoangn...@gmail.com javascript: wrote: After reinstall, I make a new request i face the same problem *Exception: The patch to '//depot/P4Test/new 2.txt' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.GPEAUp' for debugging purposes. `patch` returned: patch: Only garbage was found in the patch input.* https://lh4.googleusercontent.com/-z8Pdw27H_xU/U6vuG4PlmoI/ABo/orDlIsC4yRM/s1600/Capture.PNGAnd this is the result when i enter the /tmp.reviewboard.GPEAUp https://lh4.googleusercontent.com/-z8Pdw27H_xU/U6vuG4PlmoI/ABo/orDlIsC4yRM/s1600/Capture.PNG -- 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 reviewboard...@googlegroups.com 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Error when diff files on ReviewBoard site
Hi, Anyone can help me please? -- 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Error when diff files on ReviewBoard site
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 - chri...@beanbaginc.com 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 (hoangn...@gmail.com 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 , 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 reviewboard...@googlegroups.com 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Error when diff files on ReviewBoard site
Dear Mr Christian, Actually when i used root, i still can not go into it. I think i do something wrong so i am re-installing RB rightnow. Anyway, nice to hear about .reviewboardrc. May you say more detail about this. Because as i know, this file can be generate after using rbt setup-repo. But when i typed this command and after input the variable for ReviewBoard Server. *There was a error: The current directory does not contain a checkout from a supported source code repository.* Where is the folder where i should stand at when setup-repo? Can i make this file manually? Thank you so much for you support 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Error when diff files on ReviewBoard site
Dear Mr Christian, Actually when i used root, i still can not go into it. I think i do something wrong so i am re-installing RB rightnow. Anyway, nice to hear about .reviewboardrc. May you say more detail about this. Because as i know, this file can be generate after using rbt setup-repo. But when i typed this command and after input the variable for ReviewBoard Server. *There was a error: The current directory does not contain a checkout from a supported source code repository.* Where is the folder i should stand at when setup-repo? Can i make this file manually? Thank you so much for you support 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Error when diff files on ReviewBoard site
After reinstall, I make a new request i face the same problem *Exception: The patch to '//depot/P4Test/new 2.txt' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.GPEAUp' for debugging purposes. `patch` returned: patch: Only garbage was found in the patch input.* https://lh4.googleusercontent.com/-z8Pdw27H_xU/U6vuG4PlmoI/ABo/orDlIsC4yRM/s1600/Capture.PNGAnd this is the result when i enter the /tmp.reviewboard.GPEAUp https://lh4.googleusercontent.com/-z8Pdw27H_xU/U6vuG4PlmoI/ABo/orDlIsC4yRM/s1600/Capture.PNG -- 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Does reviewboard support file types pdf and ppt files?
Hi All, I am a newbie with Reviewboard. And i have a question, i hope you guys can help me to find out. i am wondering that does Reviewboard support to view .PPT and .PDF file? Because i need to make a Reviewboard site for my team to upload and view also source code and some office files. If reviewboard does not support, can i upload a file and my team can download these files from RB page? 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Error when diff files on ReviewBoard site
*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 , 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Error when view diff at Review Request
Dear Mr Christian Hammond, 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. (u'Value to convert is unexpected type %s', type 'NoneType') 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 , 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 154, in _get_chunks_uncached old = get_original_file(self.filediff, self.request, encoding_list) File /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/diffviewer/diffutils.py, line 172, in get_original_file encoding, data = convert_to_unicode(data, encoding_list) File /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/diffviewer/diffutils.py, line 65, in convert_to_unicode raise TypeError('Value to convert is unexpected type %s', type(s)) TypeError: (u'Value to convert is unexpected type %s', type 'NoneType') Please kindly help me to identify this problem. 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Error when view diff at Review Request
*Dear Mr Christian Hammond,* *Actually at this time, i let it be default. I am wondering that reviewboard support UTF8 right?* *If not, may i must add UTF-8 at advance setting.* *Now i'm facing a new error:* 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 , 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.* *Thank you so much for your support and enthusiasm.* *Best Regards,* *Nguyen Tuan Hoang* Vào 18:32:01 UTC+7 Thứ ba, ngày 24 tháng sáu năm 2014, hoàng tuấn đã viết: Dear Mr Christian Hammond, 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. (u'Value to convert is unexpected type %s', type 'NoneType') 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 , 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 154, in _get_chunks_uncached old = get_original_file(self.filediff, self.request, encoding_list) File /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/diffviewer/diffutils.py, line 172, in get_original_file encoding, data = convert_to_unicode(data, encoding_list) File /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.2-py2.7.egg