Trac issueshttps://gitlab.torproject.org/legacy/trac/-/issues2018-01-18T17:04:31Zhttps://gitlab.torproject.org/legacy/trac/-/issues/24923typo in Nyx docs config page heading2018-01-18T17:04:31ZTractypo in Nyx docs config page headinghttps://nyx.torproject.org/#configuration
Heading "Compenent Visibility"
should be:
"Component Visibility"
A person who had made a nyx install mistake had given up "Since if they can't even spell the heading right, you know the code's g...https://nyx.torproject.org/#configuration
Heading "Compenent Visibility"
should be:
"Component Visibility"
A person who had made a nyx install mistake had given up "Since if they can't even spell the heading right, you know the code's got typos in it, too"
**Trac**:
**Username**: torixDamian JohnsonDamian Johnsonhttps://gitlab.torproject.org/legacy/trac/-/issues/24958Log about DisableDebuggerAttachment2019-03-29T00:41:46ZDamian JohnsonLog about DisableDebuggerAttachmentOne of the neat new features of Nyx is that it can now get connection information despite DisableDebuggerAttachment. However, this requires proc contents that aren't available on BSD (FreeBSD, OSX, etc). On those platforms we should resu...One of the neat new features of Nyx is that it can now get connection information despite DisableDebuggerAttachment. However, this requires proc contents that aren't available on BSD (FreeBSD, OSX, etc). On those platforms we should resume giving a log notice so folks know what's up.Damian JohnsonDamian Johnsonhttps://gitlab.torproject.org/legacy/trac/-/issues/24959Redact HashedControlPassword logging2019-01-02T00:30:56ZDamian JohnsonRedact HashedControlPassword loggingWhen running 'nyx --debug' we should redact any lines that concern HashedControlPassword. This involves the AUTHENTICATE command, torrc, and any GETCONF.When running 'nyx --debug' we should redact any lines that concern HashedControlPassword. This involves the AUTHENTICATE command, torrc, and any GETCONF.Damian JohnsonDamian Johnsonhttps://gitlab.torproject.org/legacy/trac/-/issues/25300nyx crashes when terminal is resizes to too few rows2018-02-19T19:55:57ZTracnyx crashes when terminal is resizes to too few rowsnyx will crash if, after resizing the terminal, there is too few rows in the terminal to show the "Events (TOR/NYX NOTICE-ERR)"-line.
**Trac**:
**Username**: nortornyx will crash if, after resizing the terminal, there is too few rows in the terminal to show the "Events (TOR/NYX NOTICE-ERR)"-line.
**Trac**:
**Username**: nortorDamian JohnsonDamian Johnsonhttps://gitlab.torproject.org/legacy/trac/-/issues/25302Cannot quit after using Control Interpreter2018-11-05T13:14:34ZTracCannot quit after using Control Interpreter**Overview:**
After using the control interpreter to send a command and returning to the graph screen, 'qq' does not exit to shell. Nyx seems to get stuck and never exits.
**Steps to Reproduce:**
Run nyx, cycle through to Control Int...**Overview:**
After using the control interpreter to send a command and returning to the graph screen, 'qq' does not exit to shell. Nyx seems to get stuck and never exits.
**Steps to Reproduce:**
Run nyx, cycle through to Control Interpreter, press [Enter] to start interpreter, type SIGNAL RELOAD[Enter], Press [Enter] to quit, cycle back to graph panel, type 'qq' to quit. Window disappears but hangs and never exits back to shell.
**Expected Results:**
Program should exit and return to the original shell.
**Actual Results:**
Nyx disappears but does not return control to shell.
Pressing control-C from here yields:
Traceback (most recent call last): File "/bin/nyx", line 9, in <module> load_entry_point('nyx==2.0.4', 'console_scripts', 'nyx')() File "/usr/lib/python3.4/site-packages/nyx/!__init!__.py", line 176, in main nyx.starter.main() File "/usr/lib/python3.4/site-packages/stem/util/conf.py", line 289, in wrapped return func(*args, config = config, **kwargs) File "/usr/lib/python3.4/site-packages/nyx/starter.py", line 123, in main _shutdown_daemons(controller) File "/usr/lib/python3.4/site-packages/nyx/starter.py", line 239, in _shutdown_daemons controller.close() File "/usr/lib/python3.4/site-packages/stem/control.py", line 1083, in close super(Controller, self).close() File "/usr/lib/python3.4/site-packages/stem/control.py", line 746, in close t.join() File "/usr/lib64/python3.4/threading.py", line 1051, in join self._wait_for_tstate_lock() File "/usr/lib64/python3.4/threading.py", line 1067, in _wait_for_tstate_lock elif lock.acquire(block, timeout): KeyboardInterrupt
**Misc Info:**
Nyx Version: nyx version 2.0.4 (released November 5, 2017)
OS: CentOS Linux release 7.4.1708 (Core)
Kernel: 4.4.96-mainline-rev1
Python version: Python 3.4.5 (default, Dec 11 2017, 14:22:24) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]
Nyx installed via npm.
I run nyx using: sudo -u tor nyx
Additionally, the direction by which you access the control interpreter and subsequently the graph screen may matter.
If I go "left" from Screen 1 to Screen 5, use the interpreter, exit it, then go left to screen 4 all the way to 1, qq seems to return to shell normally.
If I go "left" from Screen 1 to Screen 5, use the interpreter, exit it, then go right from screen 5 to 1, qq hangs with the symptoms described above.
**Trac**:
**Username**: slopdogDamian JohnsonDamian Johnsonhttps://gitlab.torproject.org/legacy/trac/-/issues/25453When I start nyx in small terminal then I expand the terminal window and the ...2019-01-08T18:36:09ZTracWhen I start nyx in small terminal then I expand the terminal window and the "cpu %" disappearsWhen I start nyx in small terminal window then I expand the terminal window the "cpu %" disappears. I attached a video showing the bug.
**Trac**:
**Username**: DbryrtfbcbhgfWhen I start nyx in small terminal window then I expand the terminal window the "cpu %" disappears. I attached a video showing the bug.
**Trac**:
**Username**: DbryrtfbcbhgfDamian JohnsonDamian Johnsonhttps://gitlab.torproject.org/legacy/trac/-/issues/25492Fix nyx crashing when failing to write torrc.2018-03-14T19:58:09ZTracFix nyx crashing when failing to write torrc.When nyx tries to write torrc and fails, the exception handling was broken :
```
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/nyx-2.0.4.dev0-py3.5.egg/nyx/starter.py", line 118, in main
nyx.curse...When nyx tries to write torrc and fails, the exception handling was broken :
```
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/nyx-2.0.4.dev0-py3.5.egg/nyx/starter.py", line 118, 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.5/dist-packages/nyx-2.0.4.dev0-py3.5.egg/nyx/curses.py", line 217, in start
curses.wrapper(_wrapper)
File "/usr/lib/python3.5/curses/__init__.py", line 94, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/local/lib/python3.5/dist-packages/nyx-2.0.4.dev0-py3.5.egg/nyx/curses.py", line 215, in _wrapper
function()
File "/usr/local/lib/python3.5/dist-packages/nyx-2.0.4.dev0-py3.5.egg/nyx/__init__.py", line 243, in draw_loop
keybinding.handle(key)
File "/usr/local/lib/python3.5/dist-packages/nyx-2.0.4.dev0-py3.5.egg/nyx/panel/__init__.py", line 84, in handle
self._action()
File "/usr/local/lib/python3.5/dist-packages/nyx-2.0.4.dev0-py3.5.egg/nyx/panel/config.py", line 222, in _show_write_dialog
show_message('Unable to save configuration (%s)' % exc.strerror, HIGHLIGHT, max_wait = 2)
AttributeError: 'OperationFailed' object has no attribute 'strerror'
```
This commit patches this small bug, and add a more accurate exception handling for the save_conf call.
The commit can be found here : https://git.oudin.ml/Guinness/nyx/commit/8565384dc42b3f0faef027f890602b15513787be .
**Trac**:
**Username**: GuinnessDamian JohnsonDamian Johnsonhttps://gitlab.torproject.org/legacy/trac/-/issues/25615Can not use nyx with Tor 0.3.2.10 to display like ARM2018-03-26T17:24:20ZTracCan not use nyx with Tor 0.3.2.10 to display like ARMI want to use Nyx with Tor 0.3.2.10, but i cannot find the function to link these two. when I open Tor 0.3.2.10 in terminal(it worked), and type nyx in terminal, , it prints "Unable to connect to tor. Maybe it's running without a Control...I want to use Nyx with Tor 0.3.2.10, but i cannot find the function to link these two. when I open Tor 0.3.2.10 in terminal(it worked), and type nyx in terminal, , it prints "Unable to connect to tor. Maybe it's running without a ControlPort?" in terminal; and Then i type nyx -i [ControlPort], it prints "Please check in your torrc that 9050 is the ControlPort. Maybe you configured it to be the ORPort or SocksPort instead?"
when i open tor bundle, nyx can work with tor bundle.
How can i solve this problem? I want to use Tor 0.3.2.10 with nyx like previous arm.
Thanks.
**Trac**:
**Username**: basicnoteTor: 0.3.2.x-finalDamian JohnsonDamian Johnsonhttps://gitlab.torproject.org/legacy/trac/-/issues/25704Nyx unavailable on deb.torproject.org2019-01-02T00:32:12ZcypherpunksNyx unavailable on deb.torproject.orghttps://nyx.torproject.org/#download
says:
```
sudo apt-get install nyx
```
but it is not available:
```
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nyx
```...https://nyx.torproject.org/#download
says:
```
sudo apt-get install nyx
```
but it is not available:
```
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nyx
```
https://packages.debian.org/search?keywords=nyx&searchon=names&suite=stable§ion=allDamian JohnsonDamian Johnsonhttps://gitlab.torproject.org/legacy/trac/-/issues/25739Nyx: empty exit policy if ipv6 address is not surrounded by [..]2018-04-14T20:41:34ZtoralfNyx: empty exit policy if ipv6 address is not surrounded by [..]```
./run_nyx
```
gives an empty
```
exit policy:
```
line in that case.
Example for a wrong line:
```
ExitPolicy reject6 <snip>/32
```
Good is
```
ExitPolicy reject6 [<snip>]/32
```
Tested with latest stem and nyx Git trees.```
./run_nyx
```
gives an empty
```
exit policy:
```
line in that case.
Example for a wrong line:
```
ExitPolicy reject6 <snip>/32
```
Good is
```
ExitPolicy reject6 [<snip>]/32
```
Tested with latest stem and nyx Git trees.Damian JohnsonDamian Johnsonhttps://gitlab.torproject.org/legacy/trac/-/issues/25801Unhandled exceptions in nyx2018-04-15T20:29:56ZcypherpunksUnhandled exceptions in nyxRunning nyx 2.0.4 from FreeBSD repository, after going to the 'Connections' page which can be empty (AFAIK it depends on tor configuration), pressing a button which would normally lead to some useful information (eg 'd' or 'e') results i...Running nyx 2.0.4 from FreeBSD repository, after going to the 'Connections' page which can be empty (AFAIK it depends on tor configuration), pressing a button which would normally lead to some useful information (eg 'd' or 'e') results in an unhandled exception and shuts nyx down.
Key 'd' fails with:
```
Traceback (most recent call last):
File "/usr/local/bin/nyx", line 11, in <module>
load_entry_point('nyx==2.0.4', 'console_scripts', 'nyx')()
File "/usr/local/lib/python2.7/site-packages/nyx/__init__.py", line 176, in main
nyx.starter.main()
File "/usr/local/lib/python2.7/site-packages/stem/util/conf.py", line 289, in wrapped
return func(*args, config = config, **kwargs)
File "/usr/local/lib/python2.7/site-packages/nyx/starter.py", line 118, in main
nyx.curses.start(nyx.draw_loop, acs_support = config.get('acs_support', True), transparent_background = True, cursor = False)
File "/usr/local/lib/python2.7/site-packages/nyx/curses.py", line 217, in start
curses.wrapper(_wrapper)
File "/usr/local/lib/python2.7/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/local/lib/python2.7/site-packages/nyx/curses.py", line 215, in _wrapper
function()
File "/usr/local/lib/python2.7/site-packages/nyx/__init__.py", line 243, in draw_loop
keybinding.handle(key)
File "/usr/local/lib/python2.7/site-packages/nyx/panel/__init__.py", line 84, in handle
self._action()
File "/usr/local/lib/python2.7/site-packages/nyx/panel/connection.py", line 367, in _show_descriptor
color = CONFIG['attr.connection.category_color'].get(selected.entry.get_type(), WHITE)
AttributeError: 'tuple' object has no attribute 'entry'
```
Key 'e' fails with:
```
Traceback (most recent call last):
File "/usr/local/bin/nyx", line 11, in <module>
load_entry_point('nyx==2.0.4', 'console_scripts', 'nyx')()
File "/usr/local/lib/python2.7/site-packages/nyx/__init__.py", line 176, in main
nyx.starter.main()
File "/usr/local/lib/python2.7/site-packages/stem/util/conf.py", line 289, in wrapped
return func(*args, config = config, **kwargs)
File "/usr/local/lib/python2.7/site-packages/nyx/starter.py", line 118, in main
nyx.curses.start(nyx.draw_loop, acs_support = config.get('acs_support', True), transparent_background = True, cursor = False)
File "/usr/local/lib/python2.7/site-packages/nyx/curses.py", line 217, in start
curses.wrapper(_wrapper)
File "/usr/local/lib/python2.7/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/local/lib/python2.7/site-packages/nyx/curses.py", line 215, in _wrapper
function()
File "/usr/local/lib/python2.7/site-packages/nyx/__init__.py", line 243, in draw_loop
keybinding.handle(key)
File "/usr/local/lib/python2.7/site-packages/nyx/panel/__init__.py", line 84, in handle
self._action()
File "/usr/local/lib/python2.7/site-packages/nyx/panel/connection.py", line 394, in _show_exiting_port_usage
key_width = max(map(len, self._exit_port_usage.keys()))
ValueError: max() arg is an empty sequence
```Damian JohnsonDamian Johnsonhttps://gitlab.torproject.org/legacy/trac/-/issues/25890add instructions for running nyx safely to the FAQ2020-06-13T09:02:50ZRoger Dingledineadd instructions for running nyx safely to the FAQOn the tor-relay-debian page, we used to tell people how to configure arm/nyx safely: see item 13 on
https://web.archive.org/web/20171019233402/https://www.torproject.org/docs/tor-relay-debian
The trick is to add your user to the debian-...On the tor-relay-debian page, we used to tell people how to configure arm/nyx safely: see item 13 on
https://web.archive.org/web/20171019233402/https://www.torproject.org/docs/tor-relay-debian
The trick is to add your user to the debian-tor group, not to sudo your nyx to run as the debian-tor user.
We seem to have dropped those instructions when we migrated to the wiki page at https://trac.torproject.org/projects/tor/wiki/TorRelayGuide
I noticed just now because I was trying to help another arm/nyx user on #tor, who was doing it the wrong way (presumably because they were following old instructions from somewhere else, like the old arm documentation).Damian JohnsonDamian Johnsonhttps://gitlab.torproject.org/legacy/trac/-/issues/25970Can not start nyx in a Raspberry pi 32019-01-09T19:00:33ZcypherpunksCan not start nyx in a Raspberry pi 3Dear friend I am a newbie and sorry to disturb you, but I really do not know why this is happening?
When I try to start nyx I receive an error about sqlite3 database.
Enclosed some pictures.
<a href="https://ibb.co/fjgOBx"><img src="...Dear friend I am a newbie and sorry to disturb you, but I really do not know why this is happening?
When I try to start nyx I receive an error about sqlite3 database.
Enclosed some pictures.
<a href="https://ibb.co/fjgOBx"><img src="https://preview.ibb.co/hYRZJc/Captura_de_tela_2018_04_29_23_56_29_nyx_erro_01.png" alt="Captura_de_tela_2018_04_29_23_56_29_nyx_erro_01" border="0"></a>
<a href="https://ibb.co/iKtQPH"><img src="https://preview.ibb.co/m1wejH/Captura_de_tela_2018_04_29_23_56_29_nyx_erro_02.png" alt="Captura_de_tela_2018_04_29_23_56_29_nyx_erro_02" border="0"></a>
<a href="https://ibb.co/mwNVrx"><img src="https://preview.ibb.co/buWOBx/Captura_de_tela_2018_04_29_23_56_29_nyx_erro_03.png" alt="Captura_de_tela_2018_04_29_23_56_29_nyx_erro_03" border="0"></a><br /><a target='_blank' href='https://deleteacc.com/g'>delete your account</a><br />Damian JohnsonDamian Johnsonhttps://gitlab.torproject.org/legacy/trac/-/issues/26026ValueError: "blue" isn't a valid color - color_interface is not working2018-05-05T18:34:24ZcypherpunksValueError: "blue" isn't a valid color - color_interface is not workingHi,
I came across an error while editing my configuration file for nyx.
When I choose the color "blue" as shown on the NYX-configuration page as an exsample, the error ""blue" isn't a valid color" is recived.
In fact none of the colors...Hi,
I came across an error while editing my configuration file for nyx.
When I choose the color "blue" as shown on the NYX-configuration page as an exsample, the error ""blue" isn't a valid color" is recived.
In fact none of the colors for "color_interface" work.
Configuration file /home/<user>/.nyx/config/nyxrc
```
graph_stat bandwidth
graph_bound tight
max_graph_width 200
show_interpreter false
connection_rate 10
#acs_support true
color_override blue
#color_interface false
```
Error from python3
```
Traceback (most recent call last):
File "/usr/local/bin/nyx", line 11, in <module>
load_entry_point('nyx==2.0.4.dev0', 'console_scripts', 'nyx')()
File "/usr/local/lib/python3.5/dist-packages/nyx-2.0.4.dev0-py3.5.egg/nyx/__init__.py", line 176, in main
nyx.starter.main()
File "/usr/local/lib/python3.5/dist-packages/stem-1.6.0-py3.5.egg/stem/util/conf.py", line 289, in wrapped
return func(*args, config = config, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/nyx-2.0.4.dev0-py3.5.egg/nyx/starter.py", line 75, in main
config.load(args.config)
File "/usr/local/lib/python3.5/dist-packages/stem-1.6.0-py3.5.egg/stem/util/conf.py", line 503, in load
self.load(os.path.join(root, filename))
File "/usr/local/lib/python3.5/dist-packages/stem-1.6.0-py3.5.egg/stem/util/conf.py", line 526, in load
self.set(key, value.strip(), False)
File "/usr/local/lib/python3.5/dist-packages/stem-1.6.0-py3.5.egg/stem/util/conf.py", line 654, in set
listener(self, key)
File "/usr/local/lib/python3.5/dist-packages/stem-1.6.0-py3.5.egg/stem/util/conf.py", line 190, in update
interceptor_value = self.interceptor(key, new_value)
File "/usr/local/lib/python3.5/dist-packages/nyx-2.0.4.dev0-py3.5.egg/nyx/curses.py", line 173, in conf_handler
raise ValueError('"%s" isn\'t a valid color' % value)
ValueError: "blue" isn't a valid color
```
Best regards and thanks for the good work.
StephanTor: 0.3.2.x-finalDamian JohnsonDamian Johnsonhttps://gitlab.torproject.org/legacy/trac/-/issues/26084Graph not updating on Tor 0.3.4.0-alpha-dev2018-05-13T02:14:46ZcypherpunksGraph not updating on Tor 0.3.4.0-alpha-devI decided to test out git version of Tor (Tor version 0.3.4.0-alpha-dev (git-382beb93cb4110b2)).
After the upgrade, the nyx graph no longer updates at all. It's all blank. Affects not only the bandwidth graph but it doesn't work on "res...I decided to test out git version of Tor (Tor version 0.3.4.0-alpha-dev (git-382beb93cb4110b2)).
After the upgrade, the nyx graph no longer updates at all. It's all blank. Affects not only the bandwidth graph but it doesn't work on "resources" or "connections" either.
It was working fine on Tor 0.3.3.5-rc.
I have nyx 2.0.4 and Python 2.7.15Damian JohnsonDamian Johnsonhttps://gitlab.torproject.org/legacy/trac/-/issues/26099Missing dependency 'python3-distutils' for 'nyx' package from deb.torproject....2019-01-11T19:27:48ZcypherpunksMissing dependency 'python3-distutils' for 'nyx' package from deb.torproject.org for bionicI've obtained Tor from the following source:
```
deb https://deb.torproject.org/torproject.org bionic main
deb-src https://deb.torproject.org/torproject.org xenial main
```
However I had to manually install python3-distuils and python3...I've obtained Tor from the following source:
```
deb https://deb.torproject.org/torproject.org bionic main
deb-src https://deb.torproject.org/torproject.org xenial main
```
However I had to manually install python3-distuils and python3-distutils-extra in order to start Nyx. It would otherwise fail to start saying that it's missing the module distutils.spawn
Ubuntu 18.04.0Damian JohnsonDamian Johnsonhttps://gitlab.torproject.org/legacy/trac/-/issues/26244The ability to jump to the bottom or top of the connection list in Nyx2018-06-30T17:02:55ZTracThe ability to jump to the bottom or top of the connection list in NyxThe ability to jump to the bottom or top of the connection list in Nyx is needed because it can take minutes when I have thousands of connections and I have to use the arrow keys to go from the bottom to the top. Tested using Nyx 2.0.4
...The ability to jump to the bottom or top of the connection list in Nyx is needed because it can take minutes when I have thousands of connections and I have to use the arrow keys to go from the bottom to the top. Tested using Nyx 2.0.4
**Trac**:
**Username**: DbryrtfbcbhgfDamian JohnsonDamian Johnsonhttps://gitlab.torproject.org/legacy/trac/-/issues/26584nyx crashes on startup with insufficient terminal size2018-06-30T18:52:30ZTracnyx crashes on startup with insufficient terminal sizeOn OpenBSD/sparc64 -current, nyx 2.0.4 dumps the following trace if the controlling terminal is too small.
I'd expect this exit gracefully or show a limited view that fits.
```
$ echo $TERM
screen
$ resize
COLUMNS=105;
LINES=13;
export...On OpenBSD/sparc64 -current, nyx 2.0.4 dumps the following trace if the controlling terminal is too small.
I'd expect this exit gracefully or show a limited view that fits.
```
$ echo $TERM
screen
$ resize
COLUMNS=105;
LINES=13;
export COLUMNS LINES;
$ nyx-relay
Exception in thread Thread-6:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.6/site-packages/nyx/__init__.py", line 740, in halt_panels
panel.join()
File "/usr/local/lib/python3.6/threading.py", line 1051, 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 11, in <module>
load_entry_point('nyx==2.0.4', 'console_scripts', 'nyx')()
File "/usr/local/lib/python3.6/site-packages/nyx/__init__.py", line 176, in main
nyx.starter.main()
File "/usr/local/lib/python3.6/site-packages/stem/util/conf.py", line 289, in wrapped
return func(*args, config = config, **kwargs)
File "/usr/local/lib/python3.6/site-packages/nyx/starter.py", line 118, 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.6/site-packages/nyx/curses.py", line 217, in start
curses.wrapper(_wrapper)
File "/usr/local/lib/python3.6/curses/__init__.py", line 94, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/local/lib/python3.6/site-packages/nyx/curses.py", line 215, in _wrapper
function()
File "/usr/local/lib/python3.6/site-packages/nyx/__init__.py", line 200, in draw_loop
interface.redraw()
File "/usr/local/lib/python3.6/site-packages/nyx/__init__.py", line 716, in redraw
panel.redraw(force = force, top = occupied)
File "/usr/local/lib/python3.6/site-packages/nyx/panel/__init__.py", line 175, in redraw
self._last_draw_size = nyx.curses.draw(self._draw, top = self._top, height = self.get_height(), draw_if_resized = draw_dimension)
File "/usr/local/lib/python3.6/site-packages/nyx/curses.py", line 740, in draw
curses_subwindow = CURSES_SCREEN.subwin(subwindow_height, subwindow_width, top, left)
_curses.error: curses function returned NULL
```
**Trac**:
**Username**: knDamian JohnsonDamian Johnsonhttps://gitlab.torproject.org/legacy/trac/-/issues/27321incorrect bw calculation during initial startup2018-12-29T20:17:44ZTracincorrect bw calculation during initial startupwhen I start nyx on a relay it takes about 5 seconds until the UI appears.
The very first value for download and upload bandwidth is always extremely and unreasonably high (3GB/s) and reaches the actual value one second after that.
Th...when I start nyx on a relay it takes about 5 seconds until the UI appears.
The very first value for download and upload bandwidth is always extremely and unreasonably high (3GB/s) and reaches the actual value one second after that.
The problem of this is the impact on the avg. bw value shown, which is distorted due to this incorrect first value.
connected to tor via a controlsocket (not controlport)
os: FreeBSD 11.2
nyx version: 2.0.4
Python 3.6.6
**Trac**:
**Username**: a_pDamian JohnsonDamian Johnsonhttps://gitlab.torproject.org/legacy/trac/-/issues/27350Nyx -d ignores supplied file name2020-06-13T08:11:26ZtraumschuleNyx -d ignores supplied file nameThanks for this nice tool!
Running nyx from git without arguments destroys the interface with stem debug messages. One needs to
```
$ ./run_nyx 2>nyx.log
```
The offered -d option seems to fail reliably:
```
$ ./run_nyx -d nyx.log
Trace...Thanks for this nice tool!
Running nyx from git without arguments destroys the interface with stem debug messages. One needs to
```
$ ./run_nyx 2>nyx.log
```
The offered -d option seems to fail reliably:
```
$ ./run_nyx -d nyx.log
Traceback (most recent call last):
File "./run_nyx", line 14, in <module>
nyx.main()
File "nyx/nyx/__init__.py", line 176, in main
nyx.starter.main()
File "/usr/lib/python2.7/dist-packages/stem/util/conf.py", line 289, in wrapped
return func(*args, config = config, **kwargs)
File "nyx/nyx/starter.py", line 67, in main
_setup_debug_logging(args)
File "nyx/nyx/starter.py", line 135, in _setup_debug_logging
os.makedirs(debug_dir)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 2] No such file or directory: ''
```
The packaged version says
```
$ nyx -d nyx.log
Unable to write to our debug log file (nyx.log): No such file or directory
$ nyx --version
nyx version 2.0.4 (released November 5, 2017)
```Damian JohnsonDamian Johnson