RE: [viewvc-users] error with viewvc 1.1.17
Omar Hussain <[email protected]> Mon, 5 Nov 2012 19:32:23 +0000
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <1F3D8754593C424A86B7FC0687DA8216F35254__26826.5147730292$1352144041$gmane$org@ImsEx1.ims.dom> |
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. ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3026139 To unsubscribe from this discussion, e-mail: [[email protected]].