[Boost-bugs] [Boost C++ Libraries] #1514: regression.py throws during collecting logs

Subject: [Boost-bugs] [Boost C++ Libraries] #1514: regression.py throws during collecting logs
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-12-08 20:18:11


#1514: regression.py throws during collecting logs
-------------------------------------------------+--------------------------
 Reporter: Mateusz Loskot <mateusz_at_[hidden]> | Owner: grafik
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Regression Testing
  Version: Boost Development Trunk | Severity: Regression
 Keywords: python mac osx |
-------------------------------------------------+--------------------------
 I'm trying to run regression tests script ''regression.py'' against Boost
 from current SVN. I've followed ''Regression Test Reporting Tools'' manual
 from the SVN located under ''trunk/tools/regression/doc/index.html''.

 Environment:
  * Mac OS X 10.4.11
  * Python 2.3.5(natively available in the system)
  * Mac Pro, 2x2.66 Intel Xeo

 Everything works well except the ''collecting test logs'' step:

 {{{
 $ python run.py
 ...

 # Collecting test logs into
 "/Users/mloskot/dev/boost/_svn/regression/results/None.xml"...
 Traceback (most recent call last):
   File "run.py", line 60, in ?
     runner(root)
   File
 "/Users/mloskot/dev/boost/_svn/regression/tools_regression_src/regression.py",
 line 186, in __init__
     self.main()
   File
 "/Users/mloskot/dev/boost/_svn/regression/tools_regression_src/regression.py",
 line 493, in main
     getattr(self,action_m)()
   File
 "/Users/mloskot/dev/boost/_svn/regression/tools_regression_src/regression.py",
 line 459, in command_regression
     self.command_collect_logs()
   File
 "/Users/mloskot/dev/boost/_svn/regression/tools_regression_src/regression.py",
 line 387, in command_collect_logs
     revision )
   File
 "/Users/mloskot/dev/boost/_svn/regression/tools_regression_src/collect_and_upload_logs.py",
 line 302, in collect_logs
     , {
   File
 "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/xml/sax/saxutils.py",
 line 119, in startElement
     self._write(' %s=%s' % (name, quoteattr(value)))
   File
 "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/xml/sax/saxutils.py",
 line 71, in quoteattr
     data = escape(data, entities)
   File
 "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/xml/sax/saxutils.py",
 line 39, in escape
     data = data.replace("&", "&amp;")
 AttributeError: 'NoneType' object has no attribute 'replace'
 }}}

 Is this a known bug or am I doing anything wrong?

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1514>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC