[C++-sig] Pyste: RuntimeError no declaration found!
Naceur Meskini
Naceur.Meskini at sophia.inria.fr
Wed May 10 17:23:09 CEST 2006
Hi all,
I'm trying to use pyste to expote my code (Triangulation_3 class) in
python, and some times I get this error message:
Traceback (most recent call last):
File "pyste.py", line 424, in ?
main()
File "pyste.py", line 418, in main
status = Begin()
File "pyste.py", line 257, in Begin
return GenerateCode(parser, module, out, interfaces, multiple)
File "pyste.py", line 381, in GenerateCode
export.SetDeclarations(declarations)
File "/home/nmeskini/TEMP/pyste/ClassExporter.py", line 62, in
SetDeclarations
decl = self.GetDeclaration(self.info.name)
File "/home/nmeskini/TEMP/pyste/Exporter.py", line 73, in GetDeclaration
decls = self.GetDeclarations(fullname)
File "/home/nmeskini/TEMP/pyste/Exporter.py", line 68, in GetDeclarations
raise RuntimeError, 'no %s declaration found!' % fullname
RuntimeError: no Triangulation_3 declaration found!
I'm sure that pyste find this class, because when I deliberately do some
syntax errors in my class, I get the error message of gccxml.
I'm wondering If someone got this message before and know how to deal
with it.
Thanks in advance.
Naceur
INRIA.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20060510/0101bf2c/attachment.htm>
More information about the Cplusplus-sig
mailing list