Re: [pygccxml-development] KeyError in Py++
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2009-01-25 06:27:16
|
On Sat, Jan 24, 2009 at 4:35 PM, Sergey . <sr...@gm...> wrote: > 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! Thank you! > 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? I guess nothing, but to be sure I need to see how you construct module_builder_t class instance. Do you pass single file a list of files? My guess - you pass list of files. I suggest you to create a header file, which includes all others and pass it to module_builder_t.__init__. This should fix your problem. If it does, it could be nice if you can send me (privately) gccxml generated files for every file, you pass to module_builder_t and than xml file of the file, which includes all. I think this will help me to find and fix the bug. Thanks -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |