Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Wentzell opened this issue Jun 13, 2017 · 0 comments
Open

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

Wentzell opened this issue Jun 13, 2017 · 0 comments

Comments

@Wentzell
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant