• Bug#1108164: fails to start in trixie

    From Daniel Baumann@21:1/5 to All on Sun Jun 22 10:10:01 2025
    Package: s-tui
    Version: 1.1.6-1.2
    Severity: serious

    Hi,

    in a clean trixie install, s-tui fails to start with:

    ---snip---
    $ s-tui
    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/lib/python3/dist-packages/s_tui/s_tui.py", line 958, in main
    graph_controller = GraphController(args)
    File "/usr/lib/python3/dist-packages/s_tui/s_tui.py", line 758, in
    __init__
    possible_sources = self._load_config(args.t_thresh)
    File "/usr/lib/python3/dist-packages/s_tui/s_tui.py", line 691, in _load_config
    FanSource(),
    ~~~~~~~~~^^
    File "/usr/lib/python3/dist-packages/s_tui/sources/fan_source.py",
    line 48, in __init__
    sensors_dict = psutil.sensors_fans()
    File "/usr/lib/python3/dist-packages/psutil/__init__.py", line 2326,
    in sensors_fans
    return _psplatform.sensors_fans()
    ~~~~~~~~~~~~~~~~~~~~~~~~^^
    File "/usr/lib/python3/dist-packages/psutil/_pslinux.py", line 1440,
    in sensors_fans
    current = int(bcat(base + '_input'))
    TypeError: int() argument must be a string, a bytes-like object or a
    real number, not 'NoneType'
    ---snap---

    Regards,
    Daniel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mathias Gibbens@21:1/5 to All on Tue Jul 8 11:50:01 2025
    control: tags -1 + moreinfo

    Daniel,

    Can you share the result of running `ls /sys/class/hwmon/hwmon*/fan*_*`
    on the system where s-tui fails to start? On two trixie machines I have
    easy access to s-tui runs fine, but there's no fans reported under /sys/class/....

    Also, looking at the trace, this bug should probably be reassigned to python-psutil, since that's where the underlying issue is.

    Mathias

    -----BEGIN PGP SIGNATURE-----

    iQIyBAABCgAdFiEE1Bp60H32xfynSJ8cKe7i1uz0QvkFAmhs6H4ACgkQKe7i1uz0 QvkUag/4jsF/t4Qox/nKsQ3FiG7HxTH8/KSlca5HaDu8xtQ5C+tTFUaZBYIEyYzc MljFEbHiyZvTr5rdzlGeFZvikcCXIw8j4uKl04n2KixicJ6zwSuQxWz9bl9fKevR Tss4lmWSr5yP/X2aT+4/GdHfCUIfW+WuwAyI77GMdkJkuN+l6RDIJGert43Zks13 Lz3p1iq0dr++PqCdkJiCaV1bQqo/yZiLs1UvxXTuG2u1ym0I5ye7+kv3+6FROjFN sD4HvNfcz8VJrBdtz6dNS/sZM5ZQFzMsP7sf+c2QUjWTe7PNzA+f+DmKxU+0FE98 atZZE8mFJnyO31D6JL4UP/9sTF0rLbGbRqaZMv1b+Mu89BdfUuYI2x3G6PrGIpql 5cGvB0cBOeaKac8odXklGo1evXum/B4QCX19CAwdlG9lLnzjF71du1Ln1fm7BNAM T3RhhuHh7ehBEgdLOAl6HbclNk97DerUzqPHdG1xkvoCjVGOE8ul4vXu71WyCLkW aB8fTOpzYkwYsMSC+puF/iueOmAyTIfGchf7TSNb8hW2t9RTQZ6iQmjLbjXI+b7Z s127LIgsQveKtVatfMtIzyUCN1j1FYnXVBk2VZXtF/3A9QdFhtupFOCDFkqc8TID kZ95Ik5CJWHgAd9y/aIAajECPTv3TYfgXdUPUiStdRelyD+VSg==
    =B/UA
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Tue Jul 8 11:50:01 2025
    Processing control commands:

    tags -1 + moreinfo
    Bug #1108164 [s-tui] fails to start in trixie
    Added tag(s) moreinfo.

    --
    1108164: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108164
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sun Jul 13 23:10:01 2025
    This is a multi-part message in MIME format...

    Your message dated Sun, 13 Jul 2025 22:59:50 +0200
    with message-id <f14986e3-ffaf-47bd-aca6-949506742a10@debian.org>
    and subject line Seems fixed elsewhere
    has caused the Debian Bug report #1108164,
    regarding fails to start in trixie
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1108164: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108164
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 22 Jun 2025 08:08:23 +0000 X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
    (2024-03-25) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-116.2 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,SPF_HELO_NONE,
    SPF_NONE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST autolearn=ham
    autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 34; hammy, 150; neutral, 25; spammy,
    0. spammytokens:
    hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
    0.000-+--H*RT:311, 0.000-+--H*RT:108
    Return-path: <daniel@debian.org>
    Received: from stravinsky.debian.org ([2001:41b8:202:deb::31