Hello Thomas,
I'm trying to generate the documentation files. I now have gccxml, pygccxml and
Py++ installed. When I run 'python setup.py --generate_swig' everything seems
to
run okay, but when I try 'python setup.py --generate_swig --with_doc' I don't
get very far. I quickly run into this bundle of errors - any idea what is`wrong?
Thanks,
Arthur
####### class Standard_Transient ##########
Standard_Type
Standard_Failure
### Member functions for class Standard_Transient ###
operator new method not exportable
operator new method not exportable
operator delete method not exportable
Standard_Transient added.
Traceback (most recent call last):
File "setup.py", line 205, in <module>
builder = SWIG_generator.ModularBuilder(module, GENERATE_DOC)
File "/home/magill/occ/pythonOCC/src/SWIG_generator.py", line 212, in
__init__
self.GenerateSWIGSourceFile()
File "/home/magill/occ/pythonOCC/src/SWIG_generator.py", line 275, in
GenerateSWIGSourceFile
self.process_class(class_declaration)
File "/home/magill/occ/pythonOCC/src/SWIG_generator.py", line 546, in
process_class
self.process_class(class_to_perform)
File "/home/magill/occ/pythonOCC/src/SWIG_generator.py", line 546, in
process_class
self.process_class(class_to_perform)
File "/home/magill/occ/pythonOCC/src/SWIG_generator.py", line 546, in
process_class
self.process_class(class_to_perform)
File "/home/magill/occ/pythonOCC/src/SWIG_generator.py", line 578, in
process_class
self.write_function(mem_fun,CURRENT_CLASS_IS_ABSTRACT)
File "/home/magill/occ/pythonOCC/src/SWIG_generator.py", line 405, in
write_function
if self._generate_doc and not ('Handle' in class_parent_name) and
key!=None:#self.MemberfunctionDocStrings.has_key(function_name):
UnboundLocalError: local variable 'key' referenced before assignment
_______________________________________________
Pythonocc-users mailing list
[email protected]
https://mail.gna.org/listinfo/pythonocc-users