question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

curses error on msys2

See original GitHub issue

hello, 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:closed
  • Created 4 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
cyrus-andcommented, Jul 4, 2019

“could not find terminfo database” vs “could not find terminal”

Oh, right, I thought it was the same… I’m going to try this on Windows as soon as I can.

0reactions
jonsykkelcommented, Jul 4, 2019

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)

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found