[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

ViewCVS and Subversion 1.1.3

From: Sean Laurent <sean_at_neuronfarm.com>
Date: 2005-01-18 01:38:35 CET

I just upgraded from Subversion 1.0.7 to 1.1.3 today and now ViewCVS is
misbehaving. I can navigate through the directory structure, but as soon as I
attempt to view an individual file, I get the traceback described below. Has
anyone else encountered this? Better yet, does anyone have any suggestions?

An Exception Has Occurred
Python Traceback
Traceback (most recent call last):
  File "/usr/local/viewcvs-1.0-dev/lib/viewcvs.py", line 2468, in main
    request.run_viewcvs()
  File "/usr/local/viewcvs-1.0-dev/lib/viewcvs.py", line 335, in run_viewcvs
    self.view_func(self)
  File "/usr/local/viewcvs-1.0-dev/lib/viewcvs.py", line 1613, in view_log
    generate_page(request, cfg.templates.log, data)
  File "/usr/local/viewcvs-1.0-dev/lib/viewcvs.py", line 583, in generate_page
    template.generate(sys.stdout, data)
  File "/usr/local/viewcvs-1.0-dev/lib/ezt.py", line 236, in generate
    self._execute(self.program, fp, ctx)
  File "/usr/local/viewcvs-1.0-dev/lib/ezt.py", line 352, in _execute
    step[0](step[1], fp, ctx)
  File "/usr/local/viewcvs-1.0-dev/lib/ezt.py", line 434, in _cmd_for
    self._execute(section, fp, ctx)
  File "/usr/local/viewcvs-1.0-dev/lib/ezt.py", line 352, in _execute
    step[0](step[1], fp, ctx)
  File "/usr/local/viewcvs-1.0-dev/lib/ezt.py", line 413, in _cmd_is
    self._do_if(value, t_section, f_section, fp, ctx)
  File "/usr/local/viewcvs-1.0-dev/lib/ezt.py", line 424, in _do_if
    self._execute(section, fp, ctx)
  File "/usr/local/viewcvs-1.0-dev/lib/ezt.py", line 352, in _execute
    step[0](step[1], fp, ctx)
  File "/usr/local/viewcvs-1.0-dev/lib/ezt.py", line 392, in _cmd_if_any
    self._do_if(value, t_section, f_section, fp, ctx)
  File "/usr/local/viewcvs-1.0-dev/lib/ezt.py", line 424, in _do_if
    self._execute(section, fp, ctx)
  File "/usr/local/viewcvs-1.0-dev/lib/ezt.py", line 352, in _execute
    step[0](step[1], fp, ctx)
  File "/usr/local/viewcvs-1.0-dev/lib/ezt.py", line 365, in _cmd_print
    fp.write(value)
TypeError: argument 1 must be string or read-only character buffer, not long

System information:
Mandrake 9.2
Subversion 1.1.3
Apache 2.0.48

How I built Subversion 1.1.3:
$ su -

$ ./configure --with-apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2
--with-berkeley-db=/usr/local/BerkeleyDB.4.2
--with-apxs=/usr/local/apache2/bin/apxs --enable-javahl --with-jikes=no
--with-swig --enable-swig-bindings=perl,python

$ make clean && make && make javahl && make swig-py && make swig-pl

$ make install install-javahl install-swig-py install-swig-pl

$ ldconfig

Thanks for any assistance!

-Sean
------------------------------
Latest survey shows that 3 out of 4 people make up 75% of the world
population.
------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 18 01:40:48 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.