-
Notifications
You must be signed in to change notification settings - Fork 78
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
get_children_of_type: AttributeError: 'str' object has no attribute '__name__' #117
Comments
I checked your example with python 3.6 and the current textX version. I do not get the effect. Which version of textX and python do you use?
|
I think that is related to #105 . Inputs to textX must be unicode. Make sure your variable |
BTW, this is an example from this SO question. I'm linking here as it is an interesting use-case that should be covered in the docs (FAQ probably). Will make an issue for that. |
I reproduced this problem with Python 2.7 and it is a unicode problem. Putting |
This should not be an issue anymore as of #120 unicode is required. |
Parsed string:
Code:
Exception:
Per
get_children_of_type
docstring,typ
should be allowed to be a string?The text was updated successfully, but these errors were encountered: