Skip to content

[c++2py] Error in Notebook 5 #5

@Wentzell

Description

@Wentzell

Using triqs/master, the notebook cpp2py/5-Parameters.ipynb currently fails with the Error message

----------------------------c++2py error ----------------------------
Welcome to the wrapper desc file generator of TRIQS, based on libclang !
Parsing the C++ file (may take a few seconds) ...
... done.
Extracting ...
Analysing params
Traceback (most recent call last):
File "/root/triqs/bin/c++2py.py", line 91, in
analyze_filter = analyze_filter)
File "/root/triqs/bin/clang_parser.py", line 378, in parse
functions, classes = build_functions_and_classes(translation_unit.cursor, analyze_filter)
File "/root/triqs/bin/clang_parser.py", line 346, in build_functions_and_classes
classes.append( Class(c,namespaces))
File "/root/triqs/bin/clang_parser.py", line 261, in init
m = member_(c)
File "/root/triqs/bin/clang_parser.py", line 40, in init
self.initializer = ''.join(tokens[tokens.index('=') + 1:tokens.index(';')])
ValueError: ';' is not in list

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions