Re: [viewvc-users] error with viewvc 1.1.17
"C. Michael Pilato" <[email protected]> Fri, 2 Nov 2012 20:27:51 -0400
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
On 11/02/2012 07:41 PM, Omar Hussain wrote: > We started with viewvc 1.1.16 and encountered a bug when trying to view a file in the svn repo. > I found a discussion thread talking about the bug, and that it was fixed in the next version... > it was fixed but now we get an error when trying to view differences between two revisions of a file > > so with version 1.1.17 I'm seeing this error > > An Exception Has Occurred > > Python Traceback > > Traceback (most recent call last): > File "C:\Program Files (x86)\viewvc-1.1.17\lib\viewvc.py", line 4676, in main > request.run_viewvc() > File "C:\Program Files (x86)\viewvc-1.1.17\lib\viewvc.py", line 395, in run_viewvc > self.view_func(self) > File "C:\Program Files (x86)\viewvc-1.1.17\lib\viewvc.py", line 3425, in view_diff > fp = request.repos.rawdiff(p1, rev1, p2, rev2, diff_type, diff_options) > File "C:\Program Files (x86)\viewvc-1.1.17\lib\vclib\svn\svn_repos.py", line 579, in rawdiff > return vclib._diff_fp(temp1, temp2, info1, info2, self.diff_cmd, args) > File "C:\Program Files (x86)\viewvc-1.1.17\lib\vclib\__init__.py", line 380, in __init__ > self.fp = popen.popen(diff_cmd, args, "r") > File "C:\Program Files (x86)\viewvc-1.1.17\lib\popen.py", line 71, in popen > phandle, pid, thandle, tid = win32popen.CreateProcess(command, hStdIn, hStdOut, hStdErr) > File "C:\Program Files (x86)\viewvc-1.1.17\lib\win32popen.py", line 84, in CreateProcess > si # startupinfo > error: (2, 'CreateProcess', 'The system cannot find the file specified.') > > Exception AttributeError: "_diff_fp instance has no attribute 'fp'" in > ignored > > Anyone have a work-around please? Omar, Your problem is that when ViewVC went to go launch the required GNU diff program, it couldn't find it. Did you set the "diff" configuration variable in the [utilities] section of your viewvc.conf file? If not, and if "diff.exe" isn't locatable in your system's %PATH%, ViewVC will raise the Exception you see. -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Enterprise Cloud Development ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3025530 To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJQlGUIAAoJEPXg8AH+aBMzPjgQAKBEmNrGI82QHxEjCQvce3cz 3wwbAPhIhykqz4RXzyvPEYfzATwAryw7pDmxhvt0XGQU+VnPG55ObmiMSM7Gccyf ajYv2lfCYAVpVWTh3EWvPPqrIaFE4PtwE3zso5oAZnbJr38YyIxjPvngWtAv4v8I uzrakkO4uiZZ95C5ZhLh/EkxoPsmiPhEmhvzI8nvl2EsnwZRlPtGDdLt97dSgZ4q Brs75EYU6+FSyejjRZW6JDrC8UudKt7mtaDwiQJ1JyxwyRgyxHoesLzj/7MkYsAu 1+6QnUaNTGASJZzPjp02bTAohhQs+bcOOFAn9eUJsCC7V9uWvaUG7hNvG5r+Tt7g 9ZJ5Xr3S305nkGqQ7CsLfBrMiVEfffZ5bHa2uXtgdrSAul2ythfwoLfZHXhUQO4m 5zpOAe1thRDC/0Xds37ZF/RXe/sA1OgTPrrH+ty+hXSVh7AMgGS/Fv7T8yYRkUkQ R72HpqsNfyvcnbheOSGlNPNF3h+G74k8/AWNdV70j/nPMOgsNk7/dAX16K8JqsTC Avv4M+tzI6jBtd7Qra7myLNj44hwVLEnoharEuyiD2e1NWS9YpWGTRKx+1e2M5Ak 4qa/NAcYArz7UiCpi51cqtoZUm4mJe1MrZCmlFYoJKmxsL9J/Cg5I7kdA6WQEjSJ 4lYX0ZG9mCudqx2bzwza =avoE -----END PGP SIGNATURE-----