8000 s-tui fails - ModuleNotFoundError · Issue #5664 · getsolus/packages · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

s-tui fails - ModuleNotFoundError #5664

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&rd 8000 quo;, 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

Closed
2 tasks done
clintre opened this issue May 21, 2025 · 3 comments · Fixed by #5665
Closed
2 tasks done

s-tui fails - ModuleNotFoundError #5664

clintre opened this issue May 21, 2025 · 3 comments · Fixed by #5665
Labels
Bug Something isn't working

Comments

@clintre
Copy link
clintre commented May 21, 2025

Please confirm there isn't an open report for this issue

  • I have searched through bug reports

Summary

s-tui fails due to missing module name wcwidth.

Steps to reproduce

  1. sudo eopkg install s-tui which installs with no errors
  2. rund s-tui
  3. Returns Traceback error

Expected result

Launch s-tui

Actual result

Traceback (most recent call last):
  File "/usr/bin/s-tui", line 33, in <module>
    sys.exit(load_entry_point('s-tui==1.1.6', 'console_scripts', 's-tui')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/s-tui", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.11/site-packages/s_tui/s_tui.py", line 38, in <module>
    import urwid
  File "/usr/lib/python3.11/site-packages/urwid/__init__.py", line 30, in <module>
    from urwid.canvas import (
  File "/usr/lib/python3.11/site-packages/urwid/canvas.py", line 30, in <module>
    from urwid.str_util import calc_text_pos, calc_width
  File "/usr/lib/python3.11/site-packages/urwid/str_util.py", line 27, in <module>
    import wcwidth
ModuleNotFoundError: No module named 'wcwidth'

Environment

  • Is system up to date?

Repo

Shannon (stable)

Desktop Environment

Budgie

System details

System:
  Host: ThorSolus Kernel: 6.14.6-319.current arch: x86_64 bits: 64
  Desktop: Budgie v: 10.9.2 Distro: Solus 4.7 endurance
Machine:
  Type: Kvm System: QEMU product: Standard PC (i440FX + PIIX, 1996)
    v: pc-i440fx-7.2 serial: <superuser required>
  Mobo: N/A model: N/A serial: N/A BIOS: SeaBIOS v: 1.16.2-debian-1.16.2-1
    date: 04/01/2014
CPU:
  Info: 6x 1-core 12th Gen Intel Core i5-1235U [SMP] speed (MHz): avg: 2496
Graphics:
  Device-1: Red Hat QXL paravirtual graphic card driver: qxl v: kernel
  Display: x11 server: X.Org v: 21.1.16 with: Xwayland v: 24.1.6 driver:
    gpu: qxl resolution: 1920x1080~60Hz
  API: OpenGL v: 4.5 vendor: mesa v: 25.0.6 renderer: llvmpipe (LLVM 19.1.6
    256 bits)
  Info: Tools: api: eglinfo,glxinfo x11: xdpyinfo, xprop, xrandr
Network:
  Device-1: Intel 82371AB/EB/MB PIIX4 ACPI type: network bridge
    driver: piix4_smbus
  Device-2: Red Hat Virtio network driver: virtio-pci
Drives:
  Local Storage: total: 150 GiB used: 25.23 GiB (16.8%)
Info:
  Memory: total: 8 GiB available: 7.75 GiB used: 2.46 GiB (31.7%)
  Processes: 267 Uptime: 4d 18m Shell: fish inxi: 3.3.38

Other comments

This is pretty low priority

@clintre clintre added the Bug Something isn't working label May 21, 2025
@github-project-automation github-project-automation bot moved this to Triage in Solus May 21, 2025
@clintre
Copy link
Author
clintre commented May 21, 2025

Verified by testing on a bare-metal system as well. It fails with the same result...

@malfisya
Copy link
Member

Try install python-wcwidth

@clintre
Copy link
Author
clintre commented May 21, 2025

Yep, was in the process of testing that. That does resolve the issue.
Seems to be just a missing dependency.

@malfisya malfisya mentioned this issue May 21, 2025
2 tasks
EbonJaeger added a commit that referenced this issue May 21, 2025
**Summary**

- Release note can read
[here](https://github.com/amanusk/s-tui/releases/tag/v1.2.0)
- Add monitoring.yml (Part of #4121)

Resolves #5664 

**Test Plan**

<!-- Short description of how the package was tested -->

**Checklist**

- [x] Package was built and tested against unstable
- [ ] This change could gainfully be listed in the weekly sync notes
once merged <!-- Write an appropriate message in the Summary section,
then add the "Topic: Sync Notes" label -->
@github-project-automation github-project-automation bot moved this from Triage to Done in Solus May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants
0