[viewvc-users] Only *some* diffs give exception on Windows
Jeff Hoover <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <10453858.392871246480542370.JavaMail.httpd@localhost> |
I have:
CollabNetSubversion-server-1.6.2-1.win32 - Apache, not svnsvr
python-2.5.4
pywin32-213.win32-py2.5
diffutils-2.8.7-1 - installed at C:\GnuWin32\bin and in PATH
When I am at a page like this:
http://<ipaddr>/viewvc/repository/trunk/proj/ExampleFile1.txt?view=log
and I click "Diff to previous XX", *some* links take me to a successful Colored Diff page, while others give me the exception below.
When a link fails, I can successfully diff each of the 2 revisions involved in the failed link against different revisions, so I don't think either revision is corrupt.
For example, a link that fails is:
http://<ipaddr>/viewvc/repository/trunk/proj/ExampleFile1.txt?r1=21&r2=22
but these succeed:
...r1=20&r2=21
...r1=22&r2=23
...r1=23&r2=22
...r1=21&r2=20
Interestingly, if I change the url by hand to swap the order of the revisions in the offending link, the swap-ordered link works. Following my previous example:
...r1=22&r2=21
is OK.
I thought the exception below is typically the result of python not being able to find "diff" in the PATH, but why do *some* of my links diff properly?
Any thoughts?
Thank you,
Jeff Hoover
--------------------------------
An Exception Has Occurred
Python Traceback
Traceback (most recent call last):
File "C:\Program Files\CollabNet Subversion Server\viewVC\lib\viewvc.py", line 3746, in main
request.run_viewvc()
File "C:\Program Files\CollabNet Subversion Server\viewVC\lib\viewvc.py", line 403, in run_viewvc
self.view_func(self)
File "C:\Program Files\CollabNet Subversion Server\viewVC\lib\viewvc.py", line 2753, in view_diff
fp = request.repos.rawdiff(p1, rev1, p2, rev2, diff_type, diff_options)
File "C:\Program Files\CollabNet Subversion Server\viewVC\lib\vclib\svn\__init__.py", line 723, in rawdiff
return vclib._diff_fp(temp1, temp2, info1, info2, args)
File "C:\Program Files\CollabNet Subversion Server\viewVC\lib\vclib\__init__.py", line 236, in __init__
self.fp = popen.popen("diff", args, "r")
File "C:\Program Files\CollabNet Subversion Server\viewVC\lib\popen.py", line 71, in popen
phandle, pid, thandle, tid = win32popen.CreateProcess(command, hStdIn, hStdOut, hStdErr)
File "C:\Program Files\CollabNet Subversion Server\viewVC\lib\win32popen.py", line 84, in CreateProcess
si # startupinfo
error: (2, 'CreateProcess', 'The system cannot find the file specified.')
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2367183
To unsubscribe from this discussion, e-mail: [[email protected]].