> This may well be "fixed" by trying python 2.6 (or even 2.5) as you
> suggested.

I tried Python 2.6.6 (could not find an msi installer for 2.5.5) and
voila! It works now, no more problems with BOM characters.

Thanks for your help Chris, I am glad this is working now.

In case this helps anyone else, I tweaked the Windows install script
InstallRBTools.cmd  from here:
http://groups.google.com/group/reviewboard/browse_thread/thread/b46411ccd9f2e517?fwc=1

...to add x64/x86 support and the patch for svn changelist support:


@echo off
%~d0
cd %~dp0

REM These are the files that are part of this install script
REM \InstallRbTools.cmd
REM \postreview.py.changelistpatched
REM \resourcekit\pathman.exe
REM \diffutils\cmp.exe
REM \diffutils\diff.exe
REM \diffutils\diff3.exe
REM \diffutils\libiconv2.dll
REM \diffutils\libintl3.dll
REM \diffutils\sdiff.exe
REM \installers\python-2.6.6.amd64.msi
REM \installers\python-2.6.6.msi
REM \installers\setuptools-0.6c11.win32-py2.6.exe

echo This install script will install components for post-review,
echo the command-line client for ReviewBoard
echo.
echo Installing Python 2.6.6 into C:\apps\python\2.6.6

REM Set correct python installer path for x86/x64
SET PYTHONINSTALLER=python-2.6.6.amd64.msi
IF "%PROCESSOR_ARCHITECTURE%"=="x86" SET
PYTHONINSTALLER=python-2.6.6.msi

msiexec /passive /log %TEMP%\python-install.log TARGETDIR=C:\apps
\python\2.6.6 /i installers\%PYTHONINSTALLER%

echo.
echo Installing Python 2.6 SetupTools (accept all defaults during
install)
echo.
pause
installers\setuptools-0.6c11.win32-py2.6.exe

echo Copying "diff" command and dependent libraries
xcopy /y /s diffutils\*.* C:\apps\python\2.6.6\*.*

echo Copying pathman.exe (from Windows 2003 Server Resource Kit)
xcopy /y resourcekit\*.* C:\apps\python\2.6.6\*.*

echo Adding C:\apps\bin and Python to User PATH environment variable/
Windows registry
set PATH=%PATH%;C:\apps\python\2.6.6;C:\apps\python\2.6.6\scripts
pathman.exe /au C:\apps\python\2.6.6;C:\apps\python\2.6.6\scripts

echo Installing Review BoardRBToolsPython Package
easy_install -Z -U RBTools

REM This step patches postreview to support SVN changelists
http://www.google.com/url?sa=D&q=http://reviews.reviewboard.org/r/2099/diff/
xcopy /y postreview.py.changelistpatched "C:\apps\python\2.6.6\Lib
\site-packages\RBTools-0.3.2-py2.6.egg\rbtools\postreview.py"

echo.
echo Installation Complete
echo To use post-review, start a new command prompt in the source
folder
echo where the changes to be reviewed are. Ensure the changes are
organized into
echo a changelist that is named the same as the bug number.
echo Use 'post-review --label [changelistname]' to post the review to
the ReviewBoard
echo.

pause

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to