385: Unable to run patch

u.m****@gmai***** (Google Code) (Is this you? Claim this profile.)
Jan. 30, 2008
Installed a version on my local machine.  Am running the built in
application server.  As Database i use MySQL (local installation)

It is a clean install with:
Python 2.5.1
Xampp 1.6.5 (for the MySQL Database)
PIL-1.16
MySQL-python-1.2.2
Django REV 7048
Reviewboard REV 1153
PySVN 1.5.3

Made a clean install, created DB tables, logged in as admin, added a
repository, uploaded a patch file and wanted to access the diff viewer.

I get this output instead:



[Error 2] Das System kann die angegebene Datei nicht finden

Traceback (most recent call last):
  File "C:\projects\reviewboard\diffviewer\views.py", line 81, in view_diff
    files = get_diff_files(diffset, None, interdiffset, highlighting)
  File "C:\projects\reviewboard\diffviewer\diffutils.py", line 538, in
get_diff_files
    enable_syntax_highlighting)
  File "C:\projects\reviewboard\diffviewer\diffutils.py", line 477, in
generate_files
    lambda: get_chunks(filediff.diffset,
  File "C:/Projects/reviewboard\djblets\util\misc.py", line 44, in
cache_memoize
    data = lookup_callable()
  File "C:\projects\reviewboard\diffviewer\diffutils.py", line 480, in <lambda>
    enable_syntax_highlighting))
  File "C:\projects\reviewboard\diffviewer\diffutils.py", line 277, in
get_chunks
    new = get_patched_file(old, filediff)
  File "C:\projects\reviewboard\diffviewer\diffutils.py", line 190, in
get_patched_file
    return patch(filediff.diff, buffer, filediff.dest_file)
  File "C:\projects\reviewboard\diffviewer\diffutils.py", line 79, in patch
    stdin=subprocess.PIPE, stdout=subprocess.PIPE)
  File "C:\Python25\lib\subprocess.py", line 593, in __init__
    errread, errwrite)
  File "C:\Python25\lib\subprocess.py", line 815, in _execute_child
    startupinfo)
WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden
chipx86
#1 chipx86
Also, do you have patchutils installed? We need the patch command.
  • +Unable to run patch
#2 u.m****@gmai***** (Google Code) (Is this you? Claim this profile.)
installing patchutils resolved the problem
thank you :-)
david
#3 david
  • +UserError