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

[cvsview bug?] Please Confirm.

From: Lares Moreau <lares.moreau_at_gmail.com>
Date: 2006-02-04 00:46:36 CET

Sorry for the double post.

I went looking at a couple of the commit diffs and I get a Python
Traceback error as follows at the bottom of the page.

I don't know if this is a SVN specific issue, or if it should be pushed
upstream to cvsview.

Procedure to Repeat:
- pick a URL from the svn-commit list.
- Scroll to the bottom of the page and choose the "Unidiff" view.
- "show" and bug occurs.

If I get Confirmation I'll post a bug on issuezilla.

=== Begin error ===
Python Traceback

Traceback (most recent call last):
  File "/usr/local/viewcvs-1.0-dev/lib/viewcvs.py", line 3483, in main
    request.run_viewcvs()
  File "/usr/local/viewcvs-1.0-dev/lib/viewcvs.py", line 393, in
run_viewcvs
    self.view_func(self)
  File "/usr/local/viewcvs-1.0-dev/lib/viewcvs.py", line 2766, in
view_diff
    generate_page(request, "diff", data)
  File "/usr/local/viewcvs-1.0-dev/lib/viewcvs.py", line 837, in
generate_page
    template.generate(sys.stdout, data)
  File "/usr/local/viewcvs-1.0-dev/lib/ezt.py", line 327, in generate
    self._execute(self.program, fp, ctx)
  File "/usr/local/viewcvs-1.0-dev/lib/ezt.py", line 455, in _execute
    step[0](step[1], fp, ctx)
  File "/usr/local/viewcvs-1.0-dev/lib/ezt.py", line 482, 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 514, in _do_if
    self._execute(section, fp, ctx)
  File "/usr/local/viewcvs-1.0-dev/lib/ezt.py", line 455, in _execute
    step[0](step[1], fp, ctx)
  File "/usr/local/viewcvs-1.0-dev/lib/ezt.py", line 458, in _cmd_print
    _write_value(valref, fp, ctx)
  File "/usr/local/viewcvs-1.0-dev/lib/ezt.py", line 645, in
_write_value
    apply(value, [fp] + args)
  File "/usr/local/viewcvs-1.0-dev/lib/viewcvs.py", line 1165, in
__call__
    self.fp.close()
TypeError: close() takes no arguments (1 given)

=== End ===

-Lares

-- 
Lares Moreau <lares.moreau_at_gmail.com>  | LRU: 400755 http://counter.li.org
lares/irc.freenode.net                 |
Gentoo x86 Arch Tester                 |               ::0 Alberta, Canada
Public Key: 0D46BB6E @ subkeys.pgp.net |          Encrypted Mail Preferred
Key fingerprint = 0CA3 E40D F897 7709 3628  C5D4 7D94 483E 0D46 BB6E

Received on Sat Feb 4 00:47:27 2006

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.