ERROR: self.get_widgets()[next_widget_num] is None
See original GitHub issueUpdated to v0.1.4
Shifting focus through widgets, first cycle is fine, however py_cui program crashes and returns this error upon the second cycle.
self.get_widgets()[next_widget_num] is None.
Terminal shows this after crash
File "/usr/lib/python3.9/site-packages/py_cui/__init__.py", line 316, in start
curses.wrapper(self._draw)
File "/usr/lib/python3.9/curses/__init__.py", line 94, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/lib/python3.9/site-packages/py_cui/__init__.py", line 1679, in _draw
self._cycle_widgets()
File "/usr/lib/python3.9/site-packages/py_cui/__init__.py", line 1123, in _cycle_widgets
if self.get_widgets()[next_widget_num] is None:
Any ideas? @PabloLec
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
NoneType Error self.widget.insert - python - Stack Overflow
I am trying to have an output frame in my application. When I run it i get the error: NoneType object has no...
Read more >Serenity Guide | PDF | Microsoft Sql Server - Scribd
This error might mean that you don't have SQL Server Local DB 2012 installed. ... admin is a special user in Serene, as...
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
Yes indeed! I didn’t see that issue. Good call, I’ll add it in the PR.
Awesome @PabloLec Terrific work
Does this fix #121 ?