You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Sean Laurent <se...@neuronfarm.com> on 2005/01/18 00:38:35 UTC

ViewCVS and Subversion 1.1.3

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

Re: ViewCVS and Subversion 1.1.3

Posted by Sean Laurent <se...@neuronfarm.com>.
On Monday 17 January 2005 06:38 pm, Sean Laurent wrote:
> 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?

After I posted my problem to the ViewCVS mailing list, cmpilato suggested I 
try the latest CVS sources:

On Wednesday 19 January 2005 01:50 pm, C. Michael Pilato wrote:
> Have you tried the latest CVS sources of ViewCVS?  I'm not sure they
> help, but I'm running them with HEAD of Subversion, and have not seen
> any problems like what you are describing.

Since I didn't have any other ideas, I followed his suggestion and grabbed the 
latest CVS sources.  Lo and behold, that solved my problem!

-Sean
------------------------------
> SELECT * FROM users WHERE clue > 0;
0 rows returned
------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: ViewCVS and Subversion 1.1.3

Posted by Toby Johnson <to...@etjohnson.us>.
Ben Collins-Sussman wrote:

> 1.1.2 and 1.1.3 have identical C code.

Of course I realized this right after I hit "Send". Thanks for the 
correction.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: ViewCVS and Subversion 1.1.3

Posted by Ben Collins-Sussman <su...@collab.net>.
On Jan 19, 2005, at 2:24 PM, Toby Johnson wrote:

> Sean Laurent wrote:
>
>> I'm assuming svn.collab.net is running a newer version of Subversion 
>> with ViewCVS and it's still working correctly, so I'm absolutely 
>> certain I did something dumb... no one has any suggestions?
>>
> Nope, they're running 1.1.2. Seeing as how SVN support is only 
> available with the development version of ViewCVS, I'm guessing it's 
> not really maintained. You may want to try WebSVN instead.
>
>

1.1.2 and 1.1.3 have identical C code.  The only difference between 
those releases is fixing a compile error in the perl-bindings.  Ergo, 
what you're seeing on svn.collab.net is proof that ViewCVS *does* work 
with 1.1.2 and 1.1.3.

I promise that ViewCVS's svn compatibility is well-maintained.  The 
maintainer is sitting a meter away from me.  It's a core component in 
Collabnet's commercial product, so we're not allowed to let ViewCVS 
*not* work with the latest released Subversion.  :-)

(The only reason svn support is in the "development" version of ViewCVS 
is because that project hasn't found time/energy to do a real 1.0 
release yet.)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: ViewCVS and Subversion 1.1.3

Posted by Toby Johnson <to...@etjohnson.us>.
Sean Laurent wrote:

>I'm assuming svn.collab.net is running a newer version of Subversion with 
>ViewCVS and it's still working correctly, so I'm absolutely certain I did 
>something dumb... no one has any suggestions?
>  
>
Nope, they're running 1.1.2. Seeing as how SVN support is only available 
with the development version of ViewCVS, I'm guessing it's not really 
maintained. You may want to try WebSVN instead.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: ViewCVS and Subversion 1.1.3

Posted by Michael Sims <mi...@crye-leike.com>.
Sean Laurent wrote:
> I'm assuming svn.collab.net is running a newer version of Subversion
> with ViewCVS and it's still working correctly, so I'm absolutely
> certain I did something dumb... no one has any suggestions?

You may want to also ask on the ViewCVS list:
http://mailman.lyra.org/mailman/listinfo/viewcvs

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: ViewCVS and Subversion 1.1.3

Posted by Sean Laurent <se...@neuronfarm.com>.
I'm assuming svn.collab.net is running a newer version of Subversion with 
ViewCVS and it's still working correctly, so I'm absolutely certain I did 
something dumb... no one has any suggestions?

Anyone?  Anyone?  Bueller?  Bueller?

Thanks in advance.

-Sean

On Monday 17 January 2005 06:38 pm, Sean Laurent wrote:
> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org