prompt-toolkit / pymux

A terminal multiplexer (like tmux) in Python
BSD 3-Clause "New" or "Revised" License
1.45k stars 82 forks source link

Traceback upon opening: unexpected keyword argument 'errors' #42

Open JohnLunzer opened 8 years ago

JohnLunzer commented 8 years ago

I installed pymux from github clone taken at 11:55am ET April 30th 2016.

Traceback (most recent call last):
  File "/anaconda/bin/pymux", line 9, in <module>
    load_entry_point('pymux==0.9', 'console_scripts', 'pymux')()
  File "/anaconda/lib/python2.7/site-packages/pymux/entry_points/run_pymux.py", line 135, in run
    Client(socket_name).attach(true_color=true_color)
  File "/anaconda/lib/python2.7/site-packages/pymux/client.py", line 47, in __init__
    self._stdin_reader = PosixStdinReader(sys.stdin.fileno(), errors='replace')
TypeError: __init__() got an unexpected keyword argument 'errors'
jonathanslenders commented 8 years ago

Hi @JohnLunzer,

Thanks for reporting the issue! Can you try again after cloning and installing the latest Git version from prompt-toolkit? The development of these two repositories goes hand in hand, so from time to time it doesn't work with the Pypi version of prompt-toolkit. Hopefully, I'll be able to push a new release of both soon.

Jonathan

JohnLunzer commented 8 years ago

Did the trick. Thanks for the prompt response.