Re: [viewvc-users] Exception Has Occured with Get Diff
"C. Michael Pilato" <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
Eric Steinberg wrote:
> Regardless of "type of Diff", when we click the Get Diff button the following page appears:
>
> 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.')
Got diff.exe binary in %PATH% used by the ViewVC? That's a requirement for
the 1.0.x ViewVC line. It just invokes the diff binary as "diff", so ViewVC
needs to find diff.exe in the system command search path.
--
C. Michael Pilato <[email protected]>
CollabNet <> www.collab.net <> Distributed Development On Demand
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2103752
To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkoDlJIACgkQokEGqRcG/W6rdACfU60jjNV9KF/oz2iNkvVnYccI sqgAoIyuQ5qq4pUv6FflfR6NkQzvOdMC =Us9J -----END PGP SIGNATURE-----