RE: [viewvc-users] error with viewvc 1.1.17
Omar Hussain <[email protected]> Wed, 7 Nov 2012 21:01:32 +0000
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <1F3D8754593C424A86B7FC0687DA8216F3547A__44533.055535476$1352322204$gmane$org@ImsEx1.ims.dom> |
Thanks! I actually figured that out finally! But what compounded the problem is the IIS was caching the page, and even after I fixed it, it kept looking like it was broken...it wasn't until I accidentally broke the web server and had to recreate the virtual folder that I saw it finally working! Now everyone is enjoying viewvc, and I can relax and go back to working on other things. Thanks for your help! ________________________________________ From: C. Michael Pilato [[email protected]] Sent: Wednesday, November 07, 2012 12:00 PM To: Omar Hussain Cc: [email protected] Subject: Re: [viewvc-users] error with viewvc 1.1.17 [ 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 ________________________________ 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=3026684 To unsubscribe from this discussion, e-mail: [[email protected]].