Bug 6290

Summary: An Exception occurs in svn when viewing certain files in history
Product: Infrastructure Reporter: Filip Komar <filip.komar>
Component: OthersAssignee: Sysadmin Team <sysadmin-bugs>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Normal CC: filip.komar, sysadmin-bugs
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: http://svnweb.mageia.org/web/www/trunk/sl/faq/index.php?view=log&pathrev=1204
Whiteboard:
Source RPM: CVE:
Status comment:

Description Filip Komar 2012-06-02 14:26:07 CEST
Description of problem:
If I want to check old web files in svn I got this "An Exception Has Occurred".

Links with that trouble that goes back to revision 2:
http://svnweb.mageia.org/web/www/trunk/sl/index.php?view=log&pathrev=446
and
http://svnweb.mageia.org/web/www/trunk/sl/faq/index.php?view=log&pathrev=1204



Python Traceback

Traceback (most recent call last):
  File "/usr/share/viewvc/lib/viewvc.py", line 4460, in main
    request.run_viewvc()
  File "/usr/share/viewvc/lib/viewvc.py", line 394, in run_viewvc
    self.view_func(self)
  File "/usr/share/viewvc/lib/viewvc.py", line 2608, in view_log
    lastrev = pathrev_form(request, data)
  File "/usr/share/viewvc/lib/viewvc.py", line 2318, in pathrev_form
    action, hidden_values = request.get_form(params={'pathrev': lastrev})
  File "/usr/share/viewvc/lib/viewvc.py", line 432, in get_form
    value=self.server.escape(value)))
  File "/usr/share/viewvc/lib/sapi.py", line 237, in escape
    return cgi.escape(s, quote)
  File "/usr/lib64/python2.7/cgi.py", line 1035, in escape
    s = s.replace("&", "&amp;") # Must be done first!
AttributeError: 'int' object has no attribute 'replace'
Comment 1 Manuel Hiebel 2012-06-25 04:08:54 CEST

*** This bug has been marked as a duplicate of bug 4735 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE

Comment 2 Filip Komar 2012-07-15 11:48:14 CEST
Luckily CLI svn checkout works. So it's probably connected with svnweb database.

CC: (none) => filip.komar