Re: [viewvc-users] Problem with the diff option in viewvc-1.1.5

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <[email protected]>
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 &quot;/usr/local/viewvc-1.1.5/lib/viewvc.py&quot;, line 4317, in main
> 
>     request.run_viewvc()
> 
>   File &quot;/usr/local/viewvc-1.1.5/lib/viewvc.py&quot;, line 397, in
> run_viewvc
> 
>     self.view_func(self)
> 
>   File &quot;/usr/local/viewvc-1.1.5/lib/viewvc.py&quot;, line 3212, in
> view_diff
> 
>     generate_page(request, &quot;diff&quot;, data)
> 
>   File &quot;/usr/local/viewvc-1.1.5/lib/viewvc.py&quot;, line 920, in
> generate_page
> 
>     template.generate(server_fp, data)
> 
>   File &quot;/usr/local/viewvc-1.1.5/lib/ezt.py&quot;, line 329, in generate
> 
>     self._execute(self.program, ctx)
> 
>   File &quot;/usr/local/viewvc-1.1.5/lib/ezt.py&quot;, line 458, in _execute
> 
>     step[0](step[1], ctx)
> 
>   File &quot;/usr/local/viewvc-1.1.5/lib/ezt.py&quot;, line 490, in
> _cmd_if_any
> 
>     self._do_if(value, t_section, f_section, ctx)
> 
>   File &quot;/usr/local/viewvc-1.1.5/lib/ezt.py&quot;, line 522, in _do_if
> 
>     self._execute(section, ctx)
> 
>   File &quot;/usr/local/viewvc-1.1.5/lib/ezt.py&quot;, line 458, in _execute
> 
>     step[0](step[1], ctx)
> 
>   File &quot;/usr/local/viewvc-1.1.5/lib/ezt.py&quot;, line 509, in _cmd_is
> 
>     value = _get_value(right_ref, ctx)
> 
>   File &quot;/usr/local/viewvc-1.1.5/lib/ezt.py&quot;, 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=2596010

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkvVsgIACgkQokEGqRcG/W6KDgCfekEXarWensORn+19X/L3AbJR
jCMAnj0w37bjjK0OjRTOUWEWruly8s7x
=+Wvr
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.