Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #27350

Closed
Open
Opened Aug 27, 2018 by traumschule@traumschule

Nyx -d ignores supplied file name

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)
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#27350