Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

periodic-table-cli on Ubuntu Server #6

Open
rsauve opened this issue Jun 15, 2024 · 0 comments
Open

periodic-table-cli on Ubuntu Server #6

rsauve opened this issue Jun 15, 2024 · 0 comments

Comments

@rsauve
Copy link

rsauve commented Jun 15, 2024

I usually find some interesting stuff for the linux terminal reading the Linux Format magazine. FXF316 July 2024 edition article "Learn the periodic table" is all about periodic-table-cli.

I installed periodic-table-cli on my Mint Linux VM using: pip install periodic-table-cli
It works great!

However, when I tried to install periodic-table-cli (same procedure as above) on my Ubuntu server via ssh and run periodic-table-cli I get:
:~$ periodic-table-cli
Traceback (most recent call last):
File "/home/robert/.local/bin/periodic-table-cli", line 8, in
sys.exit(main())
File "/home/robert/.local/lib/python3.8/site-packages/periodic_table_cli/cli.py", line 226, in main
_wrapper(app.start)
File "/home/robert/.local/lib/python3.8/site-packages/periodic_table_cli/cli.py", line 183, in _wrapper
curses.wrapper(func)
File "/usr/lib/python3.8/curses/init.py", line 105, in wrapper
return func(stdscr, *args, **kwds)
File "/home/robert/.local/lib/python3.8/site-packages/periodic_table_cli/app.py", line 59, in start
Colors.init_colors()
File "/home/robert/.local/lib/python3.8/site-packages/periodic_table_cli/colors.py", line 74, in init_colors
curses.init_pair(color_pair_id, fg_color.FG, Colors.BLACK.BG)
_curses.error: init_pair() returned ERR

Here is some information about my server:
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

OS: Ubuntu 20.04.6 LTS x86_64
Kernel: 5.4.0-186-generic
Uptime: 2 days, 15 hours, 39 mins
Packages: 1705 (dpkg)
Shell: bash 5.0.17
Terminal: /dev/pts/0
CPU: Intel Pentium N3700 (4) @ 2.400GHz
GPU: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx
Memory: 971MiB / 7429MiB

Is it possible to get periodic-table-cli to run under Ubuntu Server via ssh?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant