Opened 3 years ago

Closed 3 years ago

#24409 closed defect (fixed)

nyx crashed when trying to write to the torrc

Reported by: Dbryrtfbcbhgf Owned by: atagar
Priority: Medium Milestone:
Component: Archived/Nyx Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


nyx crashed when trying to write to the torrc. Here are the crash logs

[WARN] Couldn't rename configuration file "/etc/tor/torrc" to "/etc/tor/torrc.orig.1": Read-only file system

Traceback (most recent call last):

  File "/usr/local/bin/nyx", line 11, in <module>


  File "/usr/local/lib/python3.5/dist-packages/nyx/", line 176, in main


  File "/usr/local/lib/python3.5/dist-packages/stem/util/", line 289, in wrapped

    return func(*args, config = config, **kwargs)

  File "/usr/local/lib/python3.5/dist-packages/nyx/", 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/", line 217, in start


  File "/usr/lib/python3.5/curses/", line 94, in wrapper

    return func(stdscr, *args, **kwds)

  File "/usr/local/lib/python3.5/dist-packages/nyx/", line 215, in _wrapper


  File "/usr/local/lib/python3.5/dist-packages/nyx/", line 243, in draw_loop


  File "/usr/local/lib/python3.5/dist-packages/nyx/panel/", line 84, in handle


  File "/usr/local/lib/python3.5/dist-packages/nyx/panel/", line 219, in _show_write_dialog


  File "/usr/local/lib/python3.5/dist-packages/stem/", line 3220, in save_conf

    raise stem.OperationFailed(response.code, response.message)

stem.OperationFailed: Unable to write configuration to disk.

Child Tickets

Change History (1)

comment:1 Changed 3 years ago by atagar

Resolution: fixed
Status: newclosed

Thanks Dbryrtfbcbhgf! Great catch, fix pushed...

Note: See TracTickets for help on using tickets.