[C++-sig] Problems with Pyste from CVS.

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Thu Jul 3 12:11:59 CEST 2003


I just updated my local CVS checkout of Boost.  I tried running Pyste
and got the following traceback.  The same exact pyste file worked
fine a little while earlier with an older checkout (June 25th) of CVS.

If you need any more information let me know.  I can also try and
generate a smaller test case that I can include here (right now I
don't have one).


Traceback (most recent call last):
  File "/usr/local/bin/pyste.py", line 11, in ?
    status = pyste.Main()
  File "/usr/local/stow/pyste/lib/python2.2/site-packages/Pyste/pyste.py", line 195, in Main
    declarations, parsed_header = parser.parse(header, all_tails)
  File "/usr/local/stow/pyste//lib/python2.2/site-packages/Pyste/CppParser.py", line 82, in parse
    declarations = ParseDeclarations(xmlfile)
  File "/usr/local/stow/pyste/lib/python2.2/site-packages/Pyste/GCCXMLParser.py", line 437, in ParseDeclarations
  File "/usr/local/stow/pyste/lib/python2.2/site-packages/Pyste/GCCXMLParser.py", line 36, in Parse
    self.ParseElement(id, element)
  File "/usr/local/stow/pyste/lib/python2.2/site-packages/Pyste/GCCXMLParser.py", line 60, in ParseElement
    func(id, element)
  File "/usr/local/stow/pyste/lib/python2.2/site-packages/Pyste/GCCXMLParser.py", line 371, in ParseOperatorMethod
    self.ParseMethod(id, element, ClassOperator)
  File "/usr/local/stow/pyste/lib/python2.2/site-packages/Pyste/GCCXMLParser.py", line 356, in ParseMethod
    classname = self.GetDecl(element.get('context'))._FullName()
  File "/usr/local/stow/pyste/lib/python2.2/site-packages/Pyste/GCCXMLParser.py", line 98, in GetDecl
    self.ParseElement(id, elem)
  File "/usr/local/stow/pyste/lib/python2.2/site-packages/Pyste/GCCXMLParser.py", line 60, in ParseElement
    func(id, element)
  File "/usr/local/stow/pyste/lib/python2.2/site-packages/Pyste/GCCXMLParser.py", line 291, in ParseClass
  File "/usr/local/stow/pyste/lib/python2.2/site-packages/Pyste/declarations.py", line 123, in _AddMember
    m._is_unique = False
AttributeError: 'str' object has no attribute '_is_unique'

More information about the Cplusplus-sig mailing list