zephyrproject-rtos / windows-curses

Windows Curses Python module
https://pypi.org/project/windows-curses/
Other
171 stars 30 forks source link

crashes in panel.update_panels() #11

Open BlameTroi opened 4 years ago

BlameTroi commented 4 years ago

Windows 10 up to date, python 3.8, windows-curses 2.1.0.

All attempts to work with panels are failing for me. The usual failure is that my app just quietly dies and with no exception when I call update_panels(). I've been working through the tutorial at tldp.org with success up to this point. I found the attached example panelMove.py on stack overflow and it fails as well and it's a less sloppy reproduction of the problem so I offer it.

I also tried the ncurses.py example in this repository and it fails with an ERR in move_panel().

Source to the stack overflow example attached.

panelMove - Copy.txt

doonze commented 3 years ago

I have the same problem.

brentmparker commented 3 years ago

Same here.

curses.panel.update_panels() without panels does not crash.

panel = curses.panel.new_panel(stdscr)
...
curses.panel.update_panel()

crashes.

stanleesocca commented 2 years ago

Any update to this curses.panel.update_panels() issue. I also encountered this when working on an app. Mine doesn't crash but it doesn't update the terminal screen either. I hope anyone with experience can help.

Thanks.

DylanCheetah commented 1 year ago

I can confirm that this issue is still occurring. I tried calling curses.panel.update_panels and my application crashes silently on Windows 11 64-bit (up-to-date) with Python 3.11.4

Calling curses.panel.update_panels with no panels added works correctly though.

SQLServerIO commented 8 months ago

Same here, Using python 3.11.7 windows-curses 2.3.2. It was soul crushing to run into this bug.

roman-smolnyk commented 4 months ago

I have the same issue, segmentation fault Using: Win 11 Python 3.11.1 windows-curses 2.3.3