Hi Doug,

Can you redirect the svn diff to a file, zip it, and attach the output
(this will help prevent any mail server from messing with the contents)?

Christian

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

On Mon, Nov 28, 2016 at 10:33 AM, Douglas Blondin <[email protected]> wrote:

> Hi Christian --
>
> OK, I've upgraded to 0.7.7 version and still getting the same error.
>
> Doug
>
>
> On Tuesday, November 22, 2016 at 4:46:48 PM UTC-7, Christian Hammond wrote:
>>
>> Hi Doug,
>>
>> We have no control over the releases of the distro-provided packages. If
>> you uninstall that and install our using pip (`pip install RBTools`), then
>> you'll have the latest-and-greatest.
>>
>> Christian
>>
>> --
>> Christian Hammond
>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>> Makers of Review Board <https://www.reviewboard.org/>
>>
>> On Tue, Nov 22, 2016 at 1:53 PM, Douglas Blondin <[email protected]>
>> wrote:
>>
>>> Hi Christian --
>>>
>>> I just installed python-rbtools on my box and it says version 0.7.5.  So
>>> that appears to be the latest version available for Linux (since you're
>>> working on 0.7.7 I might have thought 0.7.6 was out there)
>>>
>>> Appreciate any help.  Let me know what further information you need.
>>>
>>> Thanks,
>>> Doug
>>>
>>>
>>> On Monday, November 21, 2016 at 5:26:10 PM UTC-7, Christian Hammond
>>> wrote:
>>>>
>>>> Hi Doug,
>>>>
>>>> I'd start out by upgrading RBTools and see if that fixes it. We're
>>>> working right now on getting a new RBTools 0.7.7 release out, so you could
>>>> also hold off for that. If that doesn't fix it, we'll need to get some more
>>>> info from you.
>>>>
>>>> Christian
>>>>
>>>> On Mon, Nov 21, 2016 at 15:49 Douglas Blondin <[email protected]> wrote:
>>>>
>>>>> Try to do a "rbt post".  Get the above error when I'm providing a diff
>>>>> from "svn diff".  Similar error (different character string) if let rbt
>>>>> post generate the diff.
>>>>>
>>>>> I'm running RBTools 0.7.5 with python 2.7.11+
>>>>> This is on Linux Mint
>>>>> uname -a
>>>>> Linux dblondin-ThinkPad-W530 4.4.0-21-generic #37-Ubuntu SMP Mon Apr
>>>>> 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>>>>>
>>>>>
>>>>> My reviewboard is 2.5.6.1
>>>>> uname -a
>>>>> Linux ReviewBoard 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52
>>>>> UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>>>>>
>>>>> The diff (pre-produced) is as follows
>>>>>
>>>>> #cat diff.out
>>>>> Index: Build-Info.bash
>>>>> ===================================================================
>>>>> --- Build-Info.bash    (revision 19247)
>>>>> +++ Build-Info.bash    (working copy)
>>>>> @@ -4,6 +4,8 @@
>>>>>  # Get information about this particular build
>>>>>  # Includes maximum SVN revision & date, current date
>>>>>
>>>>> +# Another change to test review board
>>>>> +
>>>>>  do_find_max_svn_revision()
>>>>>  {
>>>>>      # set some defaults in case in chroot & thus no subversion
>>>>> Index: publish/publish_corpshare.bash
>>>>> ===================================================================
>>>>> --- publish/publish_corpshare.bash    (revision 19247)
>>>>> +++ publish/publish_corpshare.bash    (working copy)
>>>>> @@ -7,6 +7,8 @@
>>>>>  # Has a number of options to allow for override & testing
>>>>>  # Expected use by Jenkins: publish=yes type=official
>>>>>  # and for release branches at some time add: snapshot=yes
>>>>> +#
>>>>> +# This is a change to test out the new review board
>>>>>  ############################################################
>>>>>
>>>>>  DoPublish=0
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Adding --debug to rbt produces the following
>>>>>
>>>>> rb1 --debug
>>>>> >>> RBTools 0.7.5
>>>>> >>> Python 2.7.11+ (default, Apr 17 2016, 14:00:29)
>>>>> [GCC 5.3.1 20160413]
>>>>> >>> Running on Linux-4.4.0-21-generic-x86_64-with-LinuxMint-18-sarah
>>>>> >>> Home = /home/dblondin
>>>>> >>> Current directory = /home/dblondin/sandboxes/trunk/BuildTools
>>>>> >>> Checking for a Subversion repository...
>>>>> >>> Running: svn --non-interactive info
>>>>> >>> Running: diff --version
>>>>> >>> Running: svn --non-interactive --version -q
>>>>> >>> repository info: Path: https://eagle/svn/ngs, Base path:
>>>>> /BuildTools, Supports changesets: False
>>>>> >>> Making HTTP GET request to http://rb2.corp.pivot3.com/api/
>>>>> >>> Making HTTP GET request to http://rb2.corp.pivot3.com/api
>>>>> /repositories/
>>>>> >>> Cached response for HTTP GET http://rb2.corp.pivot3.com/api
>>>>> /repositories/ expired and was modified
>>>>> >>> Running: svn --non-interactive info
>>>>> >>> Running: diff --version
>>>>> >>> Running: svn --non-interactive --version -q
>>>>> >>> repository info: Path: https://eagle/svn/ngs, Base path:
>>>>> /BuildTools, Supports changesets: False
>>>>> >>> Running: svn --non-interactive status -q --ignore-externals
>>>>> >>> Running: svn --non-interactive diff --diff-cmd=diff
>>>>> --notice-ancestry -r BASE
>>>>> >>> Running: svn --non-interactive info Build-Info.bash
>>>>> >>> Running: svn --non-interactive info publish/publish_corpshare.bash
>>>>> >>> Running: svn --non-interactive info publish
>>>>> >>> Running: svn --non-interactive diff --diff-cmd=diff
>>>>> --notice-ancestry -r BASE --no-diff-deleted
>>>>> >>> Running: svn --non-interactive info Build-Info.bash
>>>>> >>> Running: svn --non-interactive info Build-Info.bash
>>>>> >>> Running: svn --non-interactive info Build-Info.bash
>>>>> >>> Running: svn --non-interactive info publish/publish_corpshare.bash
>>>>> >>> Running: svn --non-interactive info publish/publish_corpshare.bash
>>>>> >>> Running: svn --non-interactive info publish/publish_corpshare.bash
>>>>> >>> Making HTTP GET request to http://rb2.corp.pivot3.com/api
>>>>> /validation/diffs/
>>>>> >>> Cached response for HTTP GET http://rb2.corp.pivot3.com/api
>>>>> /validation/diffs/ expired and was modified
>>>>> >>> Making HTTP POST request to http://rb2.corp.pivot3.com/api
>>>>> /validation/diffs/
>>>>> >>> Got API Error 224 (HTTP code 400): Unexpected error when
>>>>> validating the diff: Invalid utf8 character string: 'BDE1F7'
>>>>> >>> Error data: {u'stat': u'fail', u'err': {u'msg': u"Unexpected error
>>>>> when validating the diff: Invalid utf8 character string: 'BDE1F7'",
>>>>> u'code': 224}}
>>>>> Traceback (most recent call last):
>>>>>   File "/usr/bin/rbt", line 9, in <module>
>>>>>     load_entry_point('RBTools==0.7.5', 'console_scripts', 'rbt')()
>>>>>   File "/usr/lib/python2.7/dist-packages/rbtools/commands/main.py",
>>>>> line 133, in main
>>>>>     command.run_from_argv([RB_MAIN, command_name] + args)
>>>>>   File "/usr/lib/python2.7/dist-packages/rbtools/commands/__init__.py",
>>>>> line 622, in run_from_argv
>>>>>     exit_code = self.main(*args) or 0
>>>>>   File "/usr/lib/python2.7/dist-packages/rbtools/commands/post.py",
>>>>> line 757, in main
>>>>>     (msg_prefix, e))
>>>>> rbtools.commands.CommandError: Error validating diff
>>>>>
>>>>> Unexpected error when validating the diff: Invalid utf8 character
>>>>> string: 'BDE1F7' (HTTP 400, API Error 224)
>>>>>
>>>>> I did put wireshark on the IP and the HTTP packet says "charset=utf-8"
>>>>>
>>>>> So I'm not sure where non-utf-8 characters are getting introduced.
>>>>>
>>>>> Thanks in advance,
>>>>>
>>>>> Doug
>>>>>
>>>>> --
>>>>> 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 "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.
>>>>>
>>>> --
>>> 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 "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.
>>>
>>
>> --
> 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
> "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.
>

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

Reply via email to