UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 80769: ordinal not in range(128)
Hello, I am trying to post a review and getting the following error: Traceback (most recent call last): load_entry_point('RBTools==0.7.4', 'console_scripts', 'rbt')() File "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/commands/main.py", line 133, in main command.run_from_argv([RB_MAIN, command_name] + args) File "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/commands/__init__.py", line 612, in run_from_argv exit_code = self.main(*args) or 0 File "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/commands/post.py", line 691, in main extra_args=extra_args) File "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/clients/clearcase.py", line 751, in diff return self._do_diff(changeset) File "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/clients/clearcase.py", line 882, in _do_diff dl = self._diff_files(old_file, new_file) File "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/clients/clearcase.py", line 793, in _diff_files translate_newlines=False) File "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/utils/process.py", line 180, in execute % (rc, command, data)) *UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 80769: ordinal not in range(128)* rbt version: $ rbt --version RBTools 0.7.4 Can you please help me to resolve the failure. -- 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 80769: ordinal not in range(128)
Hi, This problem should be fixed in 0.7.5, which we're preparing to release. (To the astute observer, we've said this before, but many things have come up, but it should be out by this weekend.) Christian -- Christian Hammond - chip...@chipx86.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Fri, Oct 16, 2015 at 12:35 PM, Samwrote: > Hello, > > I am trying to post a review and getting the following error: > Traceback (most recent call last): > load_entry_point('RBTools==0.7.4', 'console_scripts', 'rbt')() > File > "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/commands/main.py", > line 133, in main > command.run_from_argv([RB_MAIN, command_name] + args) > File > "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/commands/__init__.py", > line 612, in run_from_argv > exit_code = self.main(*args) or 0 > File > "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/commands/post.py", > line 691, in main > extra_args=extra_args) > File > "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/clients/clearcase.py", > line 751, in diff > return self._do_diff(changeset) > File > "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/clients/clearcase.py", > line 882, in _do_diff > dl = self._diff_files(old_file, new_file) > File > "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/clients/clearcase.py", > line 793, in _diff_files > translate_newlines=False) > File > "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/utils/process.py", > line 180, in execute > % (rc, command, data)) > *UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position > 80769: ordinal not in range(128)* > > > rbt version: > $ rbt --version > RBTools 0.7.4 > > Can you please help me to resolve the failure. > > -- > 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 reviewboard+unsubscr...@googlegroups.com. > 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: rbssh *really* slow
Hi, Just an FYI, we don't support this configuration in any way. For a variety of reasons, Review Board expects to use our rbssh, and not OpenSSH. If things are unusually slow, that's worth investigating (I'd need to see logs), but if anyone wants to go this route, just don't be surprised if other problems manifest. Christian -- Christian Hammond - chip...@chipx86.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Wed, Oct 14, 2015 at 9:37 AM,wrote: > Replace the contents of /usr/bin/rbssh with the following: > > > #!/bin/sh > EXTRA_OPTS="-o UserKnownHostsFile=$HOME/.ssh/known_hosts -o ForwardX11=no > -o LogLevel=ERROR" > # see https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Multiplexing > EXTRA_OPTS="-o ControlPath=/tmp/master-%r@%h:%p -o ControlMaster=auto -o > ControlPersist=10m $EXTRA_OPTS" > for k in $HOME/.ssh/id_{dsa,rsa} ; do > test -e "$k" && EXTRA_OPTS="$EXTRA_OPTS -i $k" > done > exec /usr/bin/ssh $EXTRA_OPTS "$@" > > > Using native ssh was about 5x faster than the default Python rbssh > implementation. Moreover, using the connection multiplexing feature of ssh > further sped up things another 5x or so. > > -- > 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 reviewboard+unsubscr...@googlegroups.com. > 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Upgrading reviewboard failed with setup script errors
Hi, What version of Python are you using? Review Board 1.7 is pretty old, and will soon be unsupported. I'd recommend getting a newer install, which may require a newer distro. Christian -- Christian Hammond - chip...@chipx86.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Fri, Oct 16, 2015 at 5:14 AM, amit shahwrote: > Hello, > > I started with a fresh install of reviewboard on RHEL Oracle Linux 6.4 > through epel repo. Through yum install, reviewboard version 1.7 got > installed. To upgrade to the latest I executed "easy_install -U > ReviewBoard" but that fails with errors while upgrading pycrypto to 2.6.1. > > "error: Setup script exited with error: command 'gcc' failed with exit > status 1". Attached are the detailed logs. > > How can I resolve the errors and upgrade to the latest version? > > Thanks! > > -- > 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 reviewboard+unsubscr...@googlegroups.com. > 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Upgrading reviewboard failed with setup script errors
Hello, I started with a fresh install of reviewboard on RHEL Oracle Linux 6.4 through epel repo. Through yum install, reviewboard version 1.7 got installed. To upgrade to the latest I executed "easy_install -U ReviewBoard" but that fails with errors while upgrading pycrypto to 2.6.1. "error: Setup script exited with error: command 'gcc' failed with exit status 1". Attached are the detailed logs. How can I resolve the errors and upgrade to the latest version? Thanks! -- 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. Searching for ReviewBoard Reading http://pypi.python.org/simple/ReviewBoard/ Best match: ReviewBoard 2.0.20 Downloading http://downloads.reviewboard.org/releases/ReviewBoard/2.0/ReviewBoard-2.0.20-py2.6.egg#md5=137a0dc011266f5b8574484c64a56b78 Processing ReviewBoard-2.0.20-py2.6.egg creating /usr/lib/python2.6/site-packages/ReviewBoard-2.0.20-py2.6.egg Extracting ReviewBoard-2.0.20-py2.6.egg to /usr/lib/python2.6/site-packages Adding ReviewBoard 2.0.20 to easy-install.pth file Installing rbssh script to /usr/bin Installing rb-site script to /usr/bin Installed /usr/lib/python2.6/site-packages/ReviewBoard-2.0.20-py2.6.egg Reading http://downloads.reviewboard.org/mirror/ Reading http://downloads.reviewboard.org/releases/Djblets/0.8/ Reading http://downloads.reviewboard.org/releases/django-evolution/0.7/ Reading http://downloads.reviewboard.org/releases/ReviewBoard/2.0/ Processing dependencies for ReviewBoard Searching for Whoosh>=2.6 Reading http://pypi.python.org/simple/Whoosh/ Best match: Whoosh 2.7.0 Downloading https://pypi.python.org/packages/source/W/Whoosh/Whoosh-2.7.0.zip#md5=7abfd970f16fadc7311960f3fa0bc7a9 Processing Whoosh-2.7.0.zip Running Whoosh-2.7.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-rzo6lg/Whoosh-2.7.0/egg-dist-tmp-PvVh4c warning: no files found matching '*.txt' under directory 'tests' warning: no files found matching '*.txt' under directory 'benchmark' warning: no files found matching '*.txt' under directory 'docs' warning: no files found matching '*.txt' under directory 'files' warning: no files found matching '*.py' under directory 'files' warning: no files found matching '*.jpg' under directory 'files' Adding Whoosh 2.7.0 to easy-install.pth file Installed /usr/lib/python2.6/site-packages/Whoosh-2.7.0-py2.6.egg Searching for python-dateutil==1.5 Reading http://pypi.python.org/simple/python-dateutil/ Reading http://labix.org/python-dateutil Reading https://dateutil.readthedocs.org Best match: python-dateutil 1.5 Downloading http://labix.org/download/python-dateutil/python-dateutil-1.5.tar.gz Processing python-dateutil-1.5.tar.gz Running python-dateutil-1.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-tEDmcK/python-dateutil-1.5/egg-dist-tmp-FF_dGt Adding python-dateutil 1.5 to easy-install.pth file Installed /usr/lib/python2.6/site-packages/python_dateutil-1.5-py2.6.egg Searching for Pygments>=1.6 Reading http://pypi.python.org/simple/Pygments/ Best match: Pygments 2.0.2 Downloading https://pypi.python.org/packages/source/P/Pygments/Pygments-2.0.2.tar.gz#md5=238587a1370d62405edabd0794b3ec4a Processing Pygments-2.0.2.tar.gz Running Pygments-2.0.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-eIV3mD/Pygments-2.0.2/egg-dist-tmp-rcLjbq Adding Pygments 2.0.2 to easy-install.pth file Installing pygmentize script to /usr/bin Installed /usr/lib/python2.6/site-packages/Pygments-2.0.2-py2.6.egg Searching for pycrypto>=2.6 Reading http://pypi.python.org/simple/pycrypto/ Best match: pycrypto 2.6.1 Downloading https://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.6.1.tar.gz#md5=55a61a054aa66812daf5161a0d5d7eda Processing pycrypto-2.6.1.tar.gz Running pycrypto-2.6.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-oION2l/pycrypto-2.6.1/egg-dist-tmp-th3tnO warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath. src/MD2.c:31:20: error: Python.h: No such file or directory src/MD2.c:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token In file included from src/MD2.c:147: src/hash_template.c:48: error: expected specifier-qualifier-list before ‘PyObject_HEAD’ src/hash_template.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyTypeObject’ src/hash_template.c: In function ‘newALGobject’: src/hash_template.c:69: warning: implicit declaration of function ‘PyObject_New’ src/hash_template.c:69: error: expected expression before ‘ALGobject’ src/hash_template.c: At top level: src/hash_template.c:76: error: expected
Re: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 80769: ordinal not in range(128)
Yes, I'm 99% certain this has been fixed in 7.0.5 as well. On Friday, October 16, 2015 at 5:11:02 PM UTC-4, Sam wrote: > > Thank you Christian for quick response. > We are also seeing followng error: > > *ERROR: Could not load SCM Client "git": [Errno 2] No such file or > directory* > > From other threads, it is mentioned that will be fixed in next drop. Do > you know if the fix included in version 0.7.5 as well. > > Thank you in advance! > Regards, > > > > On Friday, October 16, 2015 at 3:35:31 PM UTC-4, Sam wrote: >> >> Hello, >> >> I am trying to post a review and getting the following error: >> Traceback (most recent call last): >> load_entry_point('RBTools==0.7.4', 'console_scripts', 'rbt')() >> File >> "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/commands/main.py", >> >> line 133, in main >> command.run_from_argv([RB_MAIN, command_name] + args) >> File >> "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/commands/__init__.py", >> >> line 612, in run_from_argv >> exit_code = self.main(*args) or 0 >> File >> "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/commands/post.py", >> >> line 691, in main >> extra_args=extra_args) >> File >> "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/clients/clearcase.py", >> >> line 751, in diff >> return self._do_diff(changeset) >> File >> "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/clients/clearcase.py", >> >> line 882, in _do_diff >> dl = self._diff_files(old_file, new_file) >> File >> "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/clients/clearcase.py", >> >> line 793, in _diff_files >> translate_newlines=False) >> File >> "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/utils/process.py", >> >> line 180, in execute >> % (rc, command, data)) >> *UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position >> 80769: ordinal not in range(128)* >> >> >> rbt version: >> $ rbt --version >> RBTools 0.7.4 >> >> Can you please help me to resolve the failure. >> > -- 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.