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

powerline-config tmux setup fails when using tmux compiled from github master since tmux commit c034670 #1734

Closed
agrajag9 opened this issue Mar 6, 2017 · 2 comments

Comments

@agrajag9
Copy link

agrajag9 commented Mar 6, 2017

In commit c034670 to the tmux repo, powerline-config tmux setup has returned the following error:

Traceback (most recent call last):
  File "/usr/local/bin/powerline-config", line 22, in <module>
    args.function(pl, args)
  File "/usr/local/lib/python2.7/dist-packages/powerline/commands/config.py", line 15, in __call__
    self.function(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/powerline/bindings/config.py", line 181, in tmux_setup
    tmux_version = get_tmux_version(pl)
  File "/usr/local/lib/python2.7/dist-packages/powerline/bindings/tmux/__init__.py", line 79, in get_tmux_version
    major, minor = version_string.split('.')
ValueError: need more than 1 value to unpack

This is due to tmux author @nicm removing the version number from configure.ac so that tmux -V now returns tmux master instead of tmux 2.4.

programs should not rely on the format of tmux -V

For reference:

tmux/tmux@c034670

tmux/tmux#810

@StevenWard94
Copy link

StevenWard94 commented Mar 18, 2017

DELETED: issue is a duplicate of closed issue #1727
I apologize for not looking through the existing issues thoroughly enough before continuing this thread.

@s-ol
Copy link
Contributor

s-ol commented Mar 18, 2017

duplicate of #1727

@ZyX-I I think this should be closed too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants