[C++-sig] pygccxml KeyError

Davidson, Josh josh.davidson at lmco.com
Sat Dec 17 01:23:25 CET 2011


Hopefully, there's enough information in the traceback, but if not I can try to sanitize an example.  I'm on rev 1856.

INFO gccxml cmd: ""C:\MinGW\bin\gccxml.exe"  -DBOOST_NO_RVALUE_REFERENCES -D__mode__(x)=   -I"." -I"C:\Users\davidsj2\workspace\SimulationInterface\src\C++\model_io\storage" -I"C:\Users\davidsj2\workspace\SimulationInterface\src\C++" -I"C:\Users\davidsj2\workspace\SimulationInterface\src\C++\model_io\storage" -I"c:\Python26\include" -I"C:\Users\davidsj2\workspace\SimulationInterface\src\C++\model_io\storage"   "C:\Users\davidsj2\workspace\SimulationInterface\src\C++\model_io\storage\SpaceWireStore.hpp" -fxml="c:\users\davidsj2\appdata\local\temp\tmpnxyjfn.xml""
INFO GCCXML version - 0.9( 1.135 )
['C:\\Users\\davidsj2\\workspace\\SimulationInterface', 'c:\\Python26\\lib\\site-packages\\setuptools-0.6c11-py2.6.egg', 'c:\\Python26\\lib\\site-packages\\rpyc-3.2.0-py2.6.egg', 'c:\\Python26\\lib\\site-packages\\construct-2.06-py2.6.egg', 'c:\\Python26\\lib\\site-packages\\winpexpect-1.5-py2.6.egg', 'c:\\Python26\\lib\\site-packages\\pyreadline-1.7.1.dev_r0-py2.6.egg', 'C:\\Users\\davidsj2\\workspace\\SimCommon\\src', 'C:\\Windows\\system32\\python26.zip', 'c:\\Python26\\DLLs', 'c:\\Python26\\lib', 'c:\\Python26\\lib\\plat-win', 'c:\\Python26\\lib\\lib-tk', 'c:\\Python26', 'c:\\Python26\\lib\\site-packages', 'c:\\Python26\\lib\\site-packages\\win32', 'c:\\Python26\\lib\\site-packages\\win32\\lib', 'c:\\Python26\\lib\\site-packages\\Pythonwin']
Traceback (most recent call last):
  File "setup.py", line 27, in <module>
    extensions = [b.getExtension() for b in bindings]
  File "C:\Users\davidsj2\workspace\SimCommon\src\sim\build\bindings.py", line 287, in getExtension
    self._generate()
  File "C:\Users\davidsj2\workspace\SimCommon\src\sim\build\bindings.py", line 223, in _generate
    cflags=cflags)
  File "c:\Python26\lib\site-packages\pyplusplus\module_builder\boost_python_builder.py", line 95, in __init__
    , indexing_suite_version)
  File "c:\Python26\lib\site-packages\pyplusplus\module_builder\boost_python_builder.py", line 138, in __parse_declarations
    decls = reader.read_files( files, compilation_mode )
  File "c:\Python26\lib\site-packages\pygccxml\parser\project_reader.py", line 217, in read_files
    return self.__parse_file_by_file(files)
  File "c:\Python26\lib\site-packages\pygccxml\parser\project_reader.py", line 272, in __parse_file_by_file
    leaved_classes = self._join_class_hierarchy( answer )
  File "c:\Python26\lib\site-packages\pygccxml\parser\project_reader.py", line 445, in _join_class_hierarchy
    leaved_derived = leaved_classes[ create_key( derived_info.related_class ) ]
KeyError: (('c:/mingw64-i686-20110207/lib/gcc/../../x86_64-w64-mingw32/include/boost/intrusive/options.hpp', 209), ('::', 'boost', 'intrusive', 'constant_time_size<true>', 'pack<boost::intrusive::base_hook<boost::intrusive::detail::default_set_hook>::pack<boost::intrusive::none> >'))

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20111217/aafb550a/attachment.html>


More information about the Cplusplus-sig mailing list