Skip to content

sbhc.py returns with error: ValueError: Unknown type kind 119 #25

@micho2

Description

@micho2

Hello, and thanks for the great project!!!

Unfortunately, I get an error when calling sbhc.py on Mail.h
It returns with error:
File "../SwiftScripting_FromRepo/sbhc.py", line 133, in type_for_type
if as_arg and objc_type.kind in object_kinds:
File "/Users/mi/.pyenv/versions/myenv/lib/python2.7/site-packages/clang-3.5-py2.7.egg/clang/cindex.py", line 1650, in kind
return TypeKind.from_id(self._kind_id)
File "/Users/mi/.pyenv/versions/myenv/lib/python2.7/site-packages/clang-3.5-py2.7.egg/clang/cindex.py", line 1542, in from_id
raise ValueError,'Unknown type kind %d' % id
ValueError: Unknown type kind 119

Any Idea how to fix that?

MacOs: 14.5
Python 2.7.18

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions