Re: [viewvc-users] Problem with the diff option in viewvc-1.1.5
Clément <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <[email protected]> |
You're right thanks, the problem comes from some changes in the template (just a picture size...). It's fixed now On Mon, Apr 26, 2010 at 5:32 PM, C. Michael Pilato <[email protected]>wrote: > When you upgraded from ViewVC 1.0, did you start using 1.1's templates or > are you still using templates written for 1.1? Or perhaps did you try to > port some template customizations from 1.0 to 1.1? I ask because ViewVC > 1.1 > has some different template variables from 1.0. See > > http://viewvc.tigris.org/source/browse/*checkout*/viewvc/trunk/docs/upgrading-howto.html#sec-from-1-0 > for details of the template variable changes. (For example, path_right is > now right.path.) > > > Clément wrote: > > Hi, > > > > > > > > I have installed viewvc-1.1.5 and before I had viewvc-1.0.11, everything > > was working fine on the -1.0.11 except the color syntax so I updated to > > the 1.1.5. > > > > > > > > I kept the same configuration and I access to the repos of my svn and > > use the view option with the color syntax but now when I try to get diff > > on a file I’ve got a python traceback : > > > > > > > > *An Exception Has Occurred* > > > > *Python Traceback* > > > > Traceback (most recent call last): > > > > File "/usr/local/viewvc-1.1.5/lib/viewvc.py", line 4317, in > main > > > > request.run_viewvc() > > > > File "/usr/local/viewvc-1.1.5/lib/viewvc.py", line 397, in > > run_viewvc > > > > self.view_func(self) > > > > File "/usr/local/viewvc-1.1.5/lib/viewvc.py", line 3212, in > > view_diff > > > > generate_page(request, "diff", data) > > > > File "/usr/local/viewvc-1.1.5/lib/viewvc.py", line 920, in > > generate_page > > > > template.generate(server_fp, data) > > > > File "/usr/local/viewvc-1.1.5/lib/ezt.py", line 329, in > generate > > > > self._execute(self.program, ctx) > > > > File "/usr/local/viewvc-1.1.5/lib/ezt.py", line 458, in > _execute > > > > step[0](step[1], ctx) > > > > File "/usr/local/viewvc-1.1.5/lib/ezt.py", line 490, in > > _cmd_if_any > > > > self._do_if(value, t_section, f_section, ctx) > > > > File "/usr/local/viewvc-1.1.5/lib/ezt.py", line 522, in > _do_if > > > > self._execute(section, ctx) > > > > File "/usr/local/viewvc-1.1.5/lib/ezt.py", line 458, in > _execute > > > > step[0](step[1], ctx) > > > > File "/usr/local/viewvc-1.1.5/lib/ezt.py", line 509, in > _cmd_is > > > > value = _get_value(right_ref, ctx) > > > > File "/usr/local/viewvc-1.1.5/lib/ezt.py", line 620, in > > _get_value > > > > raise UnknownReference(refname) > > > > UnknownReference: path_right > > > > > > > > And I don’t find the way to solve this error, > > > > > > > > Has anybody encounter this error once, how could I fix this > > > > > > > > Thanks for your help > > > > > > > > Clément > > > > > -- > C. Michael Pilato <[email protected]> > CollabNet <> www.collab.net <> Distributed Development On Demand > > ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2596159 To unsubscribe from this discussion, e-mail: [[email protected]].