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

FreeBSD fresh install tor and nyx, nyx fails to run #71

Open
Travis528 opened this issue Jun 10, 2024 · 0 comments
Open

FreeBSD fresh install tor and nyx, nyx fails to run #71

Travis528 opened this issue Jun 10, 2024 · 0 comments

Comments

@Travis528
Copy link

I've got a fresh VM of FreeBSD. I installed tor and nyx. I had nyx working, after a few reboots to correct a few things relating to basic networking, etc. now nyx gives the following error when I try to run it.


root@tor-relay01:~ # freebsd-version
14.0-RELEASE-p6


root@tor-relay01:/var #	nyx
Exception in thread Thread-5:
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/threading.py", line 980, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.9/threading.py", line 917, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.9/site-packages/nyx/__init__.py", line 745, in halt_panels
    panel.join()
  File "/usr/local/lib/python3.9/threading.py", line 1055, in join
    raise RuntimeError("cannot join thread before it is started")
RuntimeError: cannot join thread before it is started
Traceback (most recent call last):
  File "/usr/local/bin/nyx", line 33, in <module>
    sys.exit(load_entry_point('nyx==2.1.0', 'console_scripts', 'nyx')())
  File "/usr/local/lib/python3.9/site-packages/nyx/__init__.py", line 176, in main
    nyx.starter.main()
  File "/usr/local/lib/python3.9/site-packages/stem/util/conf.py", line 289, in wrapped
    return func(*args, config = config, **kwargs)
  File "/usr/local/lib/python3.9/site-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/local/lib/python3.9/site-packages/nyx/curses.py", line 219, in start
    curses.wrapper(_wrapper)
  File "/usr/local/lib/python3.9/curses/__init__.py", line 94, in wrapper
    return func(stdscr, *args, **kwds)
  File "/usr/local/lib/python3.9/site-packages/nyx/curses.py", line 217, in _wrapper
    function()
  File "/usr/local/lib/python3.9/site-packages/nyx/__init__.py", line 194, in draw_loop
    interface = nyx_interface()
  File "/usr/local/lib/python3.9/site-packages/nyx/__init__.py", line 256, in nyx_interface
    Interface()  # constructor sets NYX_INTERFACE
  File "/usr/local/lib/python3.9/site-packages/nyx/__init__.py", line 601, in __init__
    first_page_panels.append(nyx.panel.log.LogPanel())
  File "/usr/local/lib/python3.9/site-packages/nyx/panel/log.py", line 110, in __init__
    log_location = nyx.log.log_file_path(tor_controller())
  File "/usr/local/lib/python3.9/site-packages/nyx/log.py", line 88, in log_file_path
    if entry_comp[1] == 'file':
IndexError: list index out of range
root@tor-relay01:/var #

I'm at a loss as to why it is failing. It ran once but since getting everything sorted related to networking/tor now it won't run. Though tor is running just fine.

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