AttributeError: 'TextArea' object has no attribute 'get_children'
See original GitHub issueI’m running the latest HEAD of python-prompt-toolkit.
The stack trace is:
Traceback (most recent call last):
File "xpub_lib_termz.py", line 126, in <module>
run()
File "xpub_lib_termz.py", line 112, in run
focused_element=command_prompt
File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/layout/layout.py", line 49, in __init__
self.focus(focused_element)
File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/layout/layout.py", line 126, in focus
for c in walk(value, skip_hidden=True):
File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/layout/layout.py", line 380, in walk
for i in walk(c, skip_hidden=skip_hidden):
File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/layout/layout.py", line 380, in walk
for i in walk(c, skip_hidden=skip_hidden):
File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/layout/layout.py", line 378, in walk
for c in container.get_children():
File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/layout/containers.py", line 2110, in get_children
return self.get_container().get_children()
AttributeError: 'TextArea' object has no attribute 'get_children'
Looks like this is the culprit:
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
xml.etree.ElementTree.Element' object has no attribute ...
Change hasgame.getchildren() into list(hasgame).
Read more >"AttributeError: 'xml.etree.ElementTree.Element' object has no ...
Element' object has no attribute 'getchildren'" on Subversion working copy. I'm getting an error every time I run meld . in a Subversion...
Read more >1884607 – s3cmd crashes with AttributeError: 'xml.etree ...
Bug 1884607 - s3cmd crashes with AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'.
Read more >Perspective .getChildren - Ignition - Inductive Automation Forum
We have not exposed the “type” of a component at this time, ... on doing except AttributeError: # child had no "path" property/attribute, ......
Read more >roblox lua get children Code Example - Grepper
Generic for-loop example local children = workspace:GetChildren() for i, ... AttributeError: module 'jwt' has no attribute 'encode' · flutter navigate to ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh yes, thank you very much, that works perfectly!
Well, thank you for reporting the bug!