Error using vera.getLine() in Python script
Issue #72
resolved
running this 'test' script:
for f in vera.getSourceFileNames(): print vera.getLine(f, 1)
gives error: c:\p4>"c:\p4\vera++\bin\vera++.exe" --rule test Index.h vera++: TypeError: No Python class registered for C++ class class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > File "c:\p4\vera++\lib\vera++/rules/classes_have_doxygen_comment.py", line 2, in <module> print vera.getLine(f, 1)
Googling it looks like a bug in the boost.python binding.
Comments (4)
-
Account Deactivated -
I have opened a PR with a fix.
-
Thanks a lot Erik. PR merged. Sorry for the delay.
-
- changed status to resolved
- Log in to comment
Hi, I have the same mistake, has there been a solution found ?