[C++-sig] pyplusplus simple test failure

Neal Becker ndbecker2 at gmail.com
Tue Feb 14 13:54:23 CET 2006


Roman Yakovenko wrote:

> On 2/13/06, Neal Becker <ndbecker2 at gmail.com> wrote:
>> I'm curious about pyplusplus.  I tried a simple test and got an error. 
>> Any ideas?
>>
>> python test.py
>> Traceback (most recent call last):
>>   File "test.py", line 17, in ?
>>     decls_all = parser.parse( ['hello_world.hpp'], parser_config )
>>   File "/usr/lib/python2.4/site-packages/pygccxml/parser/__init__.py",
>>   line 25, in parse
>>     answer = parser.read_files(files, compilation_mode)
>>   File
>>   "/usr/lib/python2.4/site-packages/pygccxml/parser/project_reader.py",
>>   line 61, in read_files
>>     return self.__parse_file_by_file(files)
>>   File
>>   "/usr/lib/python2.4/site-packages/pygccxml/parser/project_reader.py",
>>   line 82, in __parse_file_by_file
>>     decls = reader.read_file( header )
>>   File
>>   "/usr/lib/python2.4/site-packages/pygccxml/parser/source_reader.py",
>>   line 140, in read_file
>>     raise error
>> KeyError: u'complex long double'
> 
> You are using GCC-XML CVS and GCC 4.1 right?
> pyplusplus depends on pygccxml package. This bug has been fixed few
> days\weeks ago. Try to use cvs version of pygccxml and pyplusplus.
> 

Yes, thanks.

Am I doing this correctly?
cvs -z3 -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/pygccxml co -P pygccxml
cvs [checkout aborted]: end of file from server (consult above messages if any)





More information about the Cplusplus-sig mailing list