Bug 6290 - An Exception occurs in svn when viewing certain files in history
Summary: An Exception occurs in svn when viewing certain files in history
Status: RESOLVED DUPLICATE of bug 4735
Alias: None
Product: Infrastructure
Classification: Unclassified
Component: Others (show other bugs)
Version: unspecified
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Sysadmin Team
QA Contact:
URL: http://svnweb.mageia.org/web/www/trun...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-02 14:26 CEST by Filip Komar
Modified: 2012-07-15 11:48 CEST (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

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("&", "&") # 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


Note You need to log in before you can comment on or make changes to this bug.