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

Build failure: nyx #318027

Closed
Layer-09 opened this issue Jun 7, 2024 · 7 comments
Closed

Build failure: nyx #318027

Layer-09 opened this issue Jun 7, 2024 · 7 comments
Labels
0.kind: build failure A package fails to build

Comments

@Layer-09
Copy link

Layer-09 commented Jun 7, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. Add nyx as package.
  2. Run nyx by itself or with flags.

Build log

Traceback (most recent call last):
  File "/nix/store/448af4xx2al196xsh8q7wamk14mcjz6h-nyx-2.1.0/bin/.nyx-wrapped", line 6, in <module>
    from nyx.__init__ import main
  File "/nix/store/448af4xx2al196xsh8q7wamk14mcjz6h-nyx-2.1.0/lib/python3.11/site-packages/nyx/__init__.py", line 767, in <module>
    import nyx.panel.log
  File "/nix/store/448af4xx2al196xsh8q7wamk14mcjz6h-nyx-2.1.0/lib/python3.11/site-packages/nyx/panel/log.py", line 69, in <module>
    NYX_LOGGER = log.LogBuffer(log.Runlevel.DEBUG, yield_records = True)
                 ^^^^^^^^^^^^^
AttributeError: module 'stem.util.log' has no attribute 'LogBuffer'

Notify maintainers

@offlinehacker

Metadata

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.11-xanmod1, NixOS, 24.11 (Vicuña), 24.11.20240603.4a4ecb0`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/nix/store/fjs1x9gz2n1dvjqcyyl6qsw110qxc2zn-source`

Add a 👍 reaction to issues you find important.

@Layer-09 Layer-09 added the 0.kind: build failure A package fails to build label Jun 7, 2024
@dawidd6
Copy link
Contributor

dawidd6 commented Jun 7, 2024

torproject/nyx#15

@Layer-09
Copy link
Author

Layer-09 commented Jun 7, 2024

pushed a commit to gentoo/gentoo that referenced this issue on Mar 6, 2022

That time frame sure is disheartening.

@Layer-09 Layer-09 closed this as completed Jun 7, 2024
@iblech
Copy link
Contributor

iblech commented Jul 7, 2024

Closed as completed; but I can reproduce the original issue. @Layer-09, do you know the current state of affairs?

@Layer-09
Copy link
Author

Layer-09 commented Jul 7, 2024

The nyx project is deprecated, and the last commit was from two years ago. The original issue in their repo has not seen a solution and probably never will, @iblech.

With that in mind, I suppose this would be the ideal time to ping somebody and request the removal of this broken package. Perhaps @dawidd6 or @offlinehacker are aware of the correct way to go about this.

@iblech
Copy link
Contributor

iblech commented Jul 7, 2024

Thank you for your quick comment! (FWIW, now that you made me aware of the circumstances, I agree with your proposed solution.) (Do you happen to know alternatives? arm seems to have seen its last commit 13 years ago...)

@Layer-09
Copy link
Author

Layer-09 commented Jul 8, 2024

Tor Metrics and TorMap provide an easy way to find details about your relay, though not to the extent of a monitoring application such as nyx.

If you're interested in seeing details per session, you may use systemctl status tor.service to see the total of internet data you contributed (e.g. 60GB) until that moment. The internet panel in btop allows you to see how much data you contribute per second.

Other than that, there is Wireshark if you want to analyze internet traffic thoroughly, @iblech.

@iblech
Copy link
Contributor

iblech commented Aug 6, 2024

Thank you for your comprehensive answer, @Layer-09, very much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

No branches or pull requests

3 participants