Is this a Perforce repository?

I'd need to see the actual source code and reject files to know more (which
I'm sure can't be made public), but any number of things could have caused
that. If this is a Perforce repository, you might have hit an issue with a
conflict involving a Unicode BOM marker in the file. Perforce went through
a series of regressions at one point involving these markers, and depending
on the versions of p4d and p4python and the metadata state of the file, you
could hit this scenario. We'd done work in more recent versions in the
3.0.x releases to try to work around this better.

Christian

On Mon, Jul 30, 2018 at 8:43 AM Michał Pieniak <[email protected]>
wrote:

> Hello,
>
> I have a problem with my RB diff.
>
> The patch to
> '//tech/dev-cs-full-body-ik/cs/source/code/game/Cornerstone/Game/Player/PlayerDI.cpp'
> didn't apply cleanly. The temporary files have been left in
> '/tmp/reviewboard.4L2LuH' for debugging purposes.
> `patch` returned:
>
>
>
>      This may be a bug in the software, a temporary outage, or an issue
>      with the format of your diff.
>
>
>
>
>
>      Please try again, and if you still have trouble
>
>
> Traceback (most recent call last):
>   File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.7-py2.7.egg/reviewboard/diffviewer/views.py",
> line 299, in get
>     response = renderer.render_to_response(request)
>   File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.7-py2.7.egg/reviewboard/diffviewer/renderers.py",
> line 56, in render_to_response
>     return HttpResponse(self.render_to_string(request))
>   File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.7-py2.7.egg/reviewboard/diffviewer/renderers.py",
> line 74, in render_to_string
>     large_data=True)
>   File "/usr/local/lib/python2.7/dist-packages/djblets/cache/backend.py",
> line 295, in cache_memoize
>     compress_large_data))
>   File "/usr/local/lib/python2.7/dist-packages/djblets/cache/backend.py",
> line 249, in cache_memoize_iter
>     items = items_or_callable()
>   File "/usr/local/lib/python2.7/dist-packages/djblets/cache/backend.py",
> line 292, in <lambda>
>     lambda: [lookup_callable()],
>   File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.7-py2.7.egg/reviewboard/diffviewer/renderers.py",
> line 73, in <lambda>
>     lambda: self.render_to_string_uncached(request),
>   File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.7-py2.7.egg/reviewboard/diffviewer/renderers.py",
> line 87, in render_to_string_uncached
>     request=request)
>   File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.7-py2.7.egg/reviewboard/diffviewer/diffutils.py",
> line 667, in populate_diff_chunks
>     chunks = list(generator.get_chunks())
>   File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.7-py2.7.egg/reviewboard/diffviewer/chunk_generator.py",
> line 756, in get_chunks
>     for chunk in super(DiffChunkGenerator, self).get_chunks(cache_key):
>   File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.7-py2.7.egg/reviewboard/diffviewer/chunk_generator.py",
> line 107, in get_chunks
>     large_data=True)
>   File "/usr/local/lib/python2.7/dist-packages/djblets/cache/backend.py",
> line 295, in cache_memoize
>     compress_large_data))
>   File "/usr/local/lib/python2.7/dist-packages/djblets/cache/backend.py",
> line 249, in cache_memoize_iter
>     items = items_or_callable()
>   File "/usr/local/lib/python2.7/dist-packages/djblets/cache/backend.py",
> line 292, in <lambda>
>     lambda: [lookup_callable()],
>   File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.7-py2.7.egg/reviewboard/diffviewer/chunk_generator.py",
> line 106, in <lambda>
>     lambda: list(self.get_chunks_uncached()),
>   File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.7-py2.7.egg/reviewboard/diffviewer/chunk_generator.py",
> line 763, in get_chunks_uncached
>     new = get_patched_file(old, self.filediff, self.request)
>   File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.7-py2.7.egg/reviewboard/diffviewer/diffutils.py",
> line 233, in get_patched_file
>     return patch(diff, buffer, filediff.dest_file, request)
>   File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.7-py2.7.egg/reviewboard/diffviewer/diffutils.py",
> line 169, in patch
>     'output': stderr,
> Exception: The patch to
> '//tech/dev-cs-full-body-ik/cs/source/code/game/Cornerstone/Game/Player/PlayerDI.cpp'
> didn't apply cleanly. The temporary files have been left in
> '/tmp/reviewboard.4L2LuH' for debugging purposes.
> `patch` returned:
>
> Its happen only for 1 revision. When i move to revision number of 2
> problem does not exist.
>
>
> <https://lh3.googleusercontent.com/-FdSiPiSKLHE/W18cSuKdF7I/AAAAAAAABDY/fM7TBdbroigp6DUipLAm-VAqj2srE7MgQCLcBGAs/s1600/RBsupport.png>
>
>
>
> What is that mean?
>
> Thanks
> Michał
>
> ------------------------------
>
> ------------------------------------------------------------
> ------------------
> The contents of this e-mail and any attachments hereto are intended solely
> for the person or entity to which they are addressed to and contain the
> sender's confidential information, and/or legally privileged information.
> Any disclosure, dissemination, copying, printing and forwarding to
> unauthorized persons or other misuse of this e-mail which is not compliant
> with its purpose is prohibited and may be against the law. If you have
> received this e-mail by accident, please immediately contact the sender and
> delete the message in its entirety.
> ------------------------------------------------------------
> ------------------
> Treść tej wiadomości wraz z załącznikami jest przeznaczona wyłącznie dla
> jej adresata i zawiera poufne informacje nadawcy i/lub informacje prawnie
> chronione. Udostępnianie, rozpowszechnianie, kopiowanie i przekazywanie
> osobom nieupoważnionym, a także wykorzystanie tej wiadomości niezgodnie z
> jej przeznaczeniem jest zabronione i może być niezgodne z prawem. W
> przypadku otrzymania tej wiadomości przez pomyłkę, prosimy o niezwłoczne
> poinformowanie o tym nadawcy oraz o usunięcie wiadomości w całości.
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "Review Board Community" 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.
>


-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" 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.

Reply via email to