It seems that upgrading to viewvc 1.0.3-2 fixed the issue somehow... or
something else changed.
I cannot reproduce the issue anymore. I even tried downgrading to 1.0.3-1
without any apparent effect.
Running the code you sent produces the same info you get:
None
/etc/viewvc/templates/directory.ezt
On Thursday 08 February 2007 18:09, David MartÃnez Moreno wrote:
> tags 409864 + unreproducible moreinfo
> thanks
>
> El martes, 6 de febrero de 2007 01:26, Rodrigo Chandia escribió:
> > CVS repo works OK. SVN repo fails to display. On the browser I see the
> > following traceback:
> >
> > An Exception Has Occurred
> > Python Traceback
> > Traceback (most recent call last):
> > File "/usr/lib/viewvc/viewvc.py", line 3629, in main
> > request.run_viewvc()
> > File "/usr/lib/viewvc/viewvc.py", line 388, in run_viewvc
> > self.view_func(self)
> > File "/usr/lib/viewvc/viewvc.py", line 1752, in view_directory
> > generate_page(request, "directory", data)
> > File "/usr/lib/viewvc/viewvc.py", line 836, in generate_page
> > template = get_view_template(request.cfg, view_name,
> > request.language) File "/usr/lib/viewvc/viewvc.py", line 830, in
> > get_view_template template = ezt.Template(tname)
> > File "/usr/lib/viewvc/ezt.py", line 293, in __init__
> > self.parse_file(fname, base_format)
> > File "/usr/lib/viewvc/ezt.py", line 298, in parse_file
> > self.parse(_FileReader(fname), base_format)
> > File "/usr/lib/viewvc/ezt.py", line 686, in __init__
> > self.text = open(fname, 'rb').read()
> > IOError: [Errno 2] No such file or directory:
> > '/usr/lib/templates/directory.ezt'
> >
> > Attaching viewvc.conf, although is the one generated by a fresh install.
>
> Hello, Rodrigo. I have tested your configuration, changing only:
>
> svn: /var/lib/svn
>
> by
>
> svn: /var/lib/svn/xterm
>
> because there I have a local XTerm repository. It worked perfectly. In
> the meanwhile, I am going to tag this bug as 'unreproducible'.
>
> Could you please do the following as root?
>
> mv /usr/lib/viewvc/viewcv.pyc{,.orig}
> cp /usr/lib/viewvc/viewcv.py{,.orig}
>
> and then overwrite your /usr/lib/viewvc/viewcv.py with the one I am sending
> attached? I simply added:
>
> print tname,"<br>";
>
> in lines 817 and 823, for your information.
>
> Now try to reload the faulty page (I guess that it should something like
> http://localhost/cgi-bin/viewvc.cgi/?root=svn) and send us the first two
> lines. In my system, those are:
>
>
> None
> /etc/viewvc/templates/directory.ezt
>
>
> Please tell me if there is any problem with the instructions.
>
> Best regards,
>
>
> Ender.
--
Rodrigo Chandia
Center for Information Security
University of Tulsa
[EMAIL PROTECTED]
http://www.cis.utulsa.edu