Hi,

agreed I can start again, and it show the grapf again (defaul no nxyrc file).
I can even use the left and right arrows.

But when hiiting arrow down (or up) I still get a traceback:
nyx
Traceback (most recent call last):
  File "/usr/bin/nyx", line 33, in <module>
    sys.exit(load_entry_point('nyx==2.1.0', 'console_scripts', 'nyx')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/nyx/__init__.py", line 176, in main
    nyx.starter.main()
  File "/usr/lib/python3/dist-packages/stem/util/conf.py", line 289, in wrapped
    return func(*args, config = config, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/nyx/starter.py", line 128, in main
    nyx.curses.start(nyx.draw_loop, acs_support = config.get('acs_support', True), transparent_background = True, cursor = False)
  File "/usr/lib/python3/dist-packages/nyx/curses.py", line 219, in start
    curses.wrapper(_wrapper)
  File "/usr/lib/python3.11/curses/__init__.py", line 94, in wrapper
    return func(stdscr, *args, **kwds)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/nyx/curses.py", line 217, in _wrapper
    function()
  File "/usr/lib/python3/dist-packages/nyx/__init__.py", line 243, in draw_loop
    keybinding.handle(key)
  File "/usr/lib/python3/dist-packages/nyx/panel/__init__.py", line 81, in handle
    if inspect.getargspec(self._action).args == ['key']:
       ^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?

Regards

Achim

On 21.01.23 19:44, Nilesh Patra wrote:
On Thu, 12 Jan 2023 21:28:54 +0100 Achim Schaefer <bts.debian....@schaefer-home.eu> wrote:
Package: nyx
Version: 2.1.0-2.1
Severity: important
X-Debbugs-Cc: bts.debian....@schaefer-home.eu

Hi,

I just installed python 3.11, and now I get teh follwoing when starting
nyx:
Traceback (most recent call last):
  File "/usr/bin/nyx", line 33, in <module>
    sys.exit(load_entry_point('nyx==2.1.0', 'console_scripts', 'nyx')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/nyx/__init__.py", line 176, in main
    nyx.starter.main()
  File "/usr/lib/python3/dist-packages/stem/util/conf.py", line 288, in wrapped
    if 'config' in inspect.getargspec(func).args:
                   ^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?

This was an issue with python-stem. Could you try to run nyx with python3-stem 1.8.1-2.1 version
and see if this work for you?

Thanks,
Nilesh

Reply via email to