Re: [viewvc-users] error with viewvc 1.1.17
"C. Michael Pilato" <[email protected]> Wed, 7 Nov 2012 15:00:19 -0500
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <509ABDD3.8000905__32803.2969184735$1352318436$gmane$org@collab.net> |
[ Terribly sorry for the late response. Your message was marked "unread" by accident at some point. ] So, that explains it then. The "diff" configuration variable should point to the program itself, not merely the directory which holds it. On 11/05/2012 02:32 PM, Omar Hussain wrote: > Hmm, > I checked that section and I have this: > diff = "C:\Program Files\CollabNet\Subversion Client" > > I looked in there, and did find a diff program. > is it possible that its a problem because its 64 bit subversion client? > i think viewvc is 32bit > > ________________________________________ > From: C. Michael Pilato [[email protected]] > Sent: Friday, November 02, 2012 5:27 PM > To: Omar Hussain > Cc: [email protected] > Subject: Re: [viewvc-users] error with viewvc 1.1.17 > > 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 > > ________________________________ > > > This email and any files transmitted with it are confidential & proprietary to Systems and Software Enterprises, Inc. (dba IMS). This information is intended solely for the use of the individual or entity to which it is addressed. Access or transmittal of the information contained in this e-mail, in full or in part, to any other organization or persons is not authorized. > -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Enterprise Cloud Development ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3026676 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) iQIcBAEBCAAGBQJQmr3TAAoJEPXg8AH+aBMzrHsP/00dotmUxYunoUG+DXVNgdrH n7YdwrB2CGMKsOK4h+DWL4+aNIGQC36pli6ZIqsgGHhIiI3w8ZNAQ6Z1GuRG+0zG jyMniFXfQL7H3aFZgbOBp6ARUXJ8dkRLeVGFczZMDyPTzLlOohRvxNa24QiAqtOQ mMOyfrj+rHTsaUbcyFpRYC5c1b8jejG0xULkeNjWy8sdSe92PYn8sYQJeJb0zFFv /4OsQZGRwo7P60taH87U0UEzZQdrQaNT8JNVh9vmp1mvdzrnT3uMkcfyWdvcg4en XKstVZIIBHCfh7XecuAJ7PcbN2oUZzK4b2lRXpnpoI/kbImXaDp5roYKSHKV3Wff 2ZRN1j1yKxhGE6HGPgXN4lzMQ+Mus4HykoCYX6zCAmkx0f625XAoo4pKUXH3OLh+ IYpwBN8VHJ2L906iN5W5BDxLCwnBr0C+FCarrx8J+pbS4J/zQL6eZY6qAXLQwgqD +UdjY87k+YPK+ZqS04RUMk/20YGeLzd6mdHPQu9H5y7qqoZ32/T1yqo6OI1R0WW3 qU20gQXdKOYBAE5Wgi7gwEDh3orpv3OJ0QeWE54CMFiOGanSwrxrGTPFENlSVcfZ LhT5fx9/dHS/A1McZlrVlmh02HD9RDQ4CzNes4YUEwUeHZ+wertcP/TxodijGu4v pym2TyqISzf+N0MIWS7i =tpDD -----END PGP SIGNATURE-----