[viewvc-users] newvc template error -viewvc 1.1.0

Raghu Kumar C <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <E812CE8265978344B7D5374A0924AF34025FE352__41215.5965263539$1244124578$gmane$org@BLREX01.in.corp.tavant.com>
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]].
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.