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.

rxvt-unicode support

See original GitHub issue

I have a very strange situation, I currently use urxvt as a terminal emulator and gpustat does not start from bare terminal raising:

Traceback (most recent call last):
  File "/home/rizhiy/anaconda3/bin/gpustat", line 7, in <module>
    from gpustat import main
  File "/home/rizhiy/anaconda3/lib/python3.6/site-packages/gpustat.py", line 32, in <module>
    class GPUStat(object):
  File "/home/rizhiy/anaconda3/lib/python3.6/site-packages/gpustat.py", line 156, in GPUStat
    term=Terminal(),
  File "/home/rizhiy/anaconda3/lib/python3.6/site-packages/blessings/__init__.py", line 105, in __init__
    self._init_descriptor)
_curses.error: setupterm: could not find terminal

So looks like blessings does not recognise urxvt properly.

But when I start gputstat from within tmux it starts ok but doesn’t use correct colors (e.g. uses standard black instead of bold_black).

What version of blessings are you using? Does this problem exist in their current version?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
ck853178967commented, Feb 5, 2022

My command for reference ln -s ~/anaconda3/lib/terminfo ~/.terminfo

3reactions
wangg12commented, Sep 6, 2019

I figured out the problem. I copied my anaconda from another machine and the path does not match the original path. I solved it by using symlink.

Read more comments on GitHub >

github_iconTop Results From Across the Web

rxvt-unicode - ArchWiki
rxvt -unicode is a customizable terminal emulator forked from rxvt. Features of rxvt-unicode include international language support through ...
Read more >
rxvt-unicode - schmorp.de
Stores text in Unicode (either UCS-2 or UCS-4). Uses locale-correct input, output and width: as long as your system supports the locale, rxvt-unicode...
Read more >
rxvt-unicode - Gentoo Wiki
rxvt -unicode, also known simply as urxvt, is a fast and lightweight terminal emulator with Xft and Unicode support. Many Gentoo users enjoy...
Read more >
rxvt-unicode/README.FAQ at main - GitHub
RXVT -UNICODE/URXVT FREQUENTLY ASKED QUESTIONS. Meta, Features & Commandline Issues. My question isn't answered here, can I ask a human?
Read more >
rxvt-unicode-9.30 - Linux From Scratch!
rxvt -unicode is a clone of the terminal emulator rxvt, an X Window System terminal emulator which includes support for XFT and Unicode....
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