AnthonyDiGirolamo / todotxt-machine

an interactive terminal based todo.txt file editor with an interface similar to mutt
https://pypi.python.org/pypi/todotxt-machine/
GNU General Public License v3.0
244 stars 37 forks source link

Crash when launch from tty #29

Open rpesche opened 8 years ago

rpesche commented 8 years ago

todotxt-machine seems to crash when it is launched from the tty, without graphic interface. It however work when launched from tmux or screen.

Traceback (most recent call last):
  File "/usr/bin/todotxt-machine", line 9, in <module>
    load_entry_point('todotxt-machine==2.2.2', 'console_scripts', 'todotxt-machine')()
  File "/usr/lib/python3.4/site-packages/todotxt_machine/cli.py", line 129, in main
    view.main()
  File "/usr/lib/python3.4/site-packages/todotxt_machine/urwid_ui.py", line 944, in main
    self.loop.run()
  File "/usr/lib/python3.4/site-packages/urwid/main_loop.py", line 280, in run
    self._run()
  File "/usr/lib/python3.4/site-packages/urwid/main_loop.py", line 377, in _run
    self.event_loop.run()
  File "/usr/lib/python3.4/site-packages/urwid/main_loop.py", line 680, in run
    self._loop()
  File "/usr/lib/python3.4/site-packages/urwid/main_loop.py", line 701, in _loop
    ready, w, err = select.select(fds, [], fds, timeout)
OSError: [Errno 9] Mauvais descripteur de fichier

I had the same issue on 2 differents computer. Does someone can try it ?