[pygccxml-development] KeyError in Py++
Brought to you by:
mbaas,
roman_yakovenko
|
From: Sergey . <sr...@gm...> - 2009-01-24 14:35:48
|
Dear Py++ developers,
I am using Pygccxml and Py++ to generate Python bindings for our C++
project and really like it. You guys are doing a great job, thank you for
you work!
After upgrading to version 1.0.0 I started to occasionally receive the
following error when trying to execute module_builder_t (see log below).
Strange thing is that it appears only with certain combination of headers
files, when each of them separately could be bound without a problem. Also,
trying to compile with older version of gcc (3.4.6) tends to produce this
error for almost any combination of header files. Any idea what could be
wrong with my setup or my code?
Thank you in advance,
Sergey.
File
"/Users/.../lib/python2.5/site-packages/pyplusplus/module_builder/boost_python_builder.py",
line 88, in __init__
, indexing_suite_version)
File
"/Users/.../lib/python2.5/site-packages/pyplusplus/module_builder/boost_python_builder.py",
line 130, in __parse_declarations
decls = reader.read_files( files, compilation_mode )
File
"/Users/.../lib/python2.5/site-packages/pygccxml/parser/project_reader.py",
line 225, in read_files
return self.__parse_file_by_file(files)
File
"/Users/.../lib/python2.5/site-packages/pygccxml/parser/project_reader.py",
line 280, in __parse_file_by_file
leaved_classes = self._join_class_hierarchy( answer )
File
"/Users/.../lib/python2.5/site-packages/pygccxml/parser/project_reader.py",
line 413, in _join_class_hierarchy
leaved_base = leaved_classes[ create_key( base_info.related_class ) ]
KeyError: (('/usr/include/c++/4.0.0/bits/stringfwd.h', 49), ('::', 'std',
'allocator<char>'))
|