sandsifter
sandsifter copied to clipboard
_curses.error: init_pair() returned ERR
Python 2.7.6
Traceback (most recent call last):
File "./sifter.py", line 842, in
Workaround - try export TERM='xterm-256color' before starting sifter. I guess your default terminal isn't 256 colour (same as my Linux Mint).
same issue here, just fake the TERM variable and it works.
What is the point of using such colors and not having any fallback to the default colors available on allmost all terminals? Sure the program will run on a terminal without 256 color palette but it won't be drawn correctly.
Set TERM=xterm-256color, still error:
Traceback (most recent call last):
File "./summarize.py", line 751, in <module>
textbox.draw()
File "/home/catalinp/src/phi/sandsifter/gui/gui.py", line 68, in draw
self.gui.box(self.window, self.x, self.y, self.w, self.h, self.color)
File "/home/catalinp/src/phi/sandsifter/gui/gui.py", line 175, in box
window.addch(y + h - 1, x + i, curses.ACS_HLINE, color)
_curses.error: addch() returned ERR
EDIT: resized my terminal to make it bigger, now works