RE: [viewvc-users] Python exception while creating diff web page
"Broide, Asaf" <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Michael, I've tried both: First, I made sure that "diff" is added to the %PATH% and I made sure it is identified when called from console. When this didn't work, I also added the path to diff in the viewvc.conf file: diff = "C:\Program Files\gnuwin32\bin\diff.exe" Hope you have any more ideas... Thanks for the quick response! Asaf ________________________________ From: C. Michael Pilato [mailto:[email protected]] Sent: Monday, November 15, 2010 6:54 PM To: Broide, Asaf Cc: [email protected] Subject: Re: [viewvc-users] Python exception while creating diff web page Did you ensure that 'diff' program directory was added to the %PATH%, or did you tweak the viewvc.conf file to point to that program: [utilities] diff = C:/path/to/diff.exe On 11/14/2010 09:15 AM, Broide, Asaf wrote: Hi, I've just installed viewvc-1.1.7 and encountered problems viewing "diff". I've installed diffutils-2.8.7 from gnuwin32, and still got the following exception. Any ideas? Traceback (most recent call last): File "C:\Program Files\viewvc-1.1.7\lib\viewvc.py", line 4396, in main request.run_viewvc() File "C:\Program Files\viewvc-1.1.7\lib\viewvc.py", line 398, in run_viewvc self.view_func(self) File "C:\Program Files\viewvc-1.1.7\lib\viewvc.py", line 3191, in view_diff fp = request.repos.rawdiff(p1, rev1, p2, rev2, diff_type, diff_options) File "C:\Program Files\viewvc-1.1.7\lib\vclib\svn\svn_repos.py", line 731, in rawdiff return vclib._diff_fp(temp1, temp2, info1, info2, self.diff_cmd, args) File "C:\Program Files\viewvc-1.1.7\lib\vclib\__init__.py", line 371, in __init__ self.fp = popen.popen(diff_cmd, args, "r") File "C:\Program Files\viewvc-1.1.7\lib\popen.py", line 71, in popen phandle, pid, thandle, tid = win32popen.CreateProcess(command, hStdIn, hStdOut, hStdErr) File "C:\Program Files\viewvc-1.1.7\lib\win32popen.py", line 84, in CreateProcess si # startupinfo error: (2, 'CreateProcess', 'The system cannot find the file specified.') Thanks, Asaf -- C. Michael Pilato <[email protected]> <mailto:[email protected]> CollabNet <> www.collab.net <> Distributed Development On Demand ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2682175 To unsubscribe from this discussion, e-mail: [[email protected]].