Re: [viewvc-users] newvc template error -viewvc 1.1.0

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <[email protected]>
Yes, I noticed this recently, too.  I fixed this custom template already,
and I believe it will work fine if you use the ViewVC 1.1.1 version.


Raghu Kumar C wrote:
> Hi,
> 
> I am using viewvc1.1.0 and am trying out newvc template.
> As soon as I click on a repository that is listed, I get this error:
> 
> 
> ---------------------
> An Exception Has Occurred
> Python Traceback
> 
> Traceback (most recent call last):
>   File "/usr/local/viewvc-1.1.0/lib/viewvc.py", line 4098, in main
>     request.run_viewvc()
>   File "/usr/local/viewvc-1.1.0/lib/viewvc.py", line 403, in run_viewvc
>     self.view_func(self)
>   File "/usr/local/viewvc-1.1.0/lib/viewvc.py", line 1970, in
> view_directory
>     generate_page(request, "directory", data)
>   File "/usr/local/viewvc-1.1.0/lib/viewvc.py", line 909, in
> generate_page
>     template.generate(server_fp, data)
>   File "/usr/local/viewvc-1.1.0/lib/ezt.py", line 329, in generate
>     self._execute(self.program, ctx)
>   File "/usr/local/viewvc-1.1.0/lib/ezt.py", line 458, in _execute
>     step[0](step[1], ctx)
>   File "/usr/local/viewvc-1.1.0/lib/ezt.py", line 510, in _cmd_is
>     value = string.lower(_get_value(left_ref, ctx)) ==
> string.lower(value)
>   File "/usr/local/viewvc-1.1.0/lib/ezt.py", line 627, in _get_value
>     raise UnknownReference(refname)
> UnknownReference: cfg.options.use_pagesize
> ---------------------
> 
> I tried entering a key/value called "use_pagesize = 50" in viewvc.conf.
> And this resolved the above issue. 
> 
> After that when I tried again I get a new exception. This time it is
> another variable called "search_re_form". What is the ideal value for
> this?
> 
> ----------------------
> An Exception Has Occurred
> Python Traceback
> 
> Traceback (most recent call last):
>   File "/usr/local/viewvc-1.1.0/lib/viewvc.py", line 4098, in main
>     request.run_viewvc()
>   File "/usr/local/viewvc-1.1.0/lib/viewvc.py", line 403, in run_viewvc
>     self.view_func(self)
>   File "/usr/local/viewvc-1.1.0/lib/viewvc.py", line 1970, in
> view_directory
>     generate_page(request, "directory", data)
>   File "/usr/local/viewvc-1.1.0/lib/viewvc.py", line 909, in
> generate_page
>     template.generate(server_fp, data)
>   File "/usr/local/viewvc-1.1.0/lib/ezt.py", line 329, in generate
>     self._execute(self.program, ctx)
>   File "/usr/local/viewvc-1.1.0/lib/ezt.py", line 458, in _execute
>     step[0](step[1], ctx)
>   File "/usr/local/viewvc-1.1.0/lib/ezt.py", line 487, in _cmd_if_any
>     if _get_value(valref, ctx):
>   File "/usr/local/viewvc-1.1.0/lib/ezt.py", line 620, in _get_value
>     raise UnknownReference(refname)
> UnknownReference: search_re_form
> 
> ----------------------
> 
> Thank you,
> Raghu
> 
> Tavant is one of world's 25 innovative companies to look out for, says BusinessWeek. 
> http://images.businessweek.com/ss/09/04/0409_unsung_innovators/21.htm
> 
> Any comments or statements made in this email are not necessarily those of Tavant Technologies.
> The information transmitted is intended only for the person or entity to which it is addressed and may 
> contain confidential and/or privileged material. If you have received this in error, please contact the 
> sender and delete the material from any computer. All e-mails sent from or to Tavant Technologies 
> may be subject to our monitoring procedures.
> 
> ------------------------------------------------------
> http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2359446
> 
> To unsubscribe from this discussion, e-mail: [[email protected]].


-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2359457

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)

iEYEARECAAYFAkon3NcACgkQokEGqRcG/W7wLgCfdqO3QGRO0JqSjZq0tfjuXaoP
Z0AAoLfoknqywKaf9E6NvDm2RhSfmylm
=Fyh/
-----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.