curses error on msys2
See original GitHub issuehello, nyce skrypt im getting error when i try debug:
│Cannot write the dashboard
│Traceback (most recent call last):
│ File "<string>", line 401, in render
│ File "<string>", line 471, in get_term_width
│ File "C:/msys64/mingw64/lib/python3.7\curses\__init__.py", line 30, in initscr
│ fd=_sys.__stdout__.fileno())
│_curses.error: setupterm: could not find terminfo database
│
│During handling of the above exception, another exception occurred:
│
│Traceback (most recent call last):
│ File "<string>", line 403, in render
│ File "<string>", line 471, in get_term_width
│ File "C:/msys64/mingw64/lib/python3.7\curses\__init__.py", line 30, in initscr
│ fd=_sys.__stdout__.fileno())
│_curses.error: setupterm: could not find terminfo database
things: msys2 mintty terminal GNU gdb (GDB) 8.3 Python 3.7.3
any ideas?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
MSYS2 terminal is not supported (?) · Issue #4 - GitHub
The error message has changed to _curses.error: setupterm: could not find terminal . I guess the reason is that there is no xterm...
Read more >CMake cannot find curses library in MSYS2 - Stack Overflow
The header file can be found. search file result. However, after running cmake . , I got. cmake output CMake Error at /usr/share/cmake ......
Read more >Cause of "Error opening terminal" message? - MSYS2
I have a curses application. It previously compiled using mingw from batch files, this program is stable, has been working for years.
Read more >mingw-w64-x86_64-ncurses - MSYS2 Packages
Package: mingw-w64-x86_64-ncurses. System V Release 4.0 curses emulation library (mingw-w64). Source Files · View Changes · Bug Reports.
Read more >[v7] Fixes curses on msys2/mingw - Patchew
[PATCH v7 2/4] curses: Fixes compiler error that complain don't have langinfo.h on msys2/mingw. Yonggang Luo posted 4 patches 2 years, ...
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, right, I thought it was the same… I’m going to try this on Windows as soon as I can.
in case someone ever has the same problem: it seems to work with the msys2 gdb build but not with mingw64 gdb build. (“gdb” vs “mingw-w64-x86_64-gdb” packages)