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

on missing tmux, libtmux crashes #12

Closed
tshirtman opened this issue Aug 17, 2016 · 0 comments
Closed

on missing tmux, libtmux crashes #12

tshirtman opened this issue Aug 17, 2016 · 0 comments
Labels
bug

Comments

@tshirtman
Copy link

@tshirtman tshirtman commented Aug 17, 2016

  File "/home/gabriel/.local/lib/python3.5/site-packages/libtmux/server.py", line 426, in new_session
    if self.has_session(session_name):
  File "/home/gabriel/.local/lib/python3.5/site-packages/libtmux/server.py", line 326, in has_session
    proc = self.cmd('has-session', '-t%s' % target_session)
  File "/home/gabriel/.local/lib/python3.5/site-packages/libtmux/server.py", line 100, in cmd
    return tmux_cmd(*args, **kwargs)
  File "/home/gabriel/.local/lib/python3.5/site-packages/libtmux/common.py", line 153, in __init__
    cmd = [which('tmux')]
  File "/home/gabriel/.local/lib/python3.5/site-packages/libtmux/common.py", line 398, in which
    logger.trace(
AttributeError: 'Logger' object has no attribute 'trace'

It seems libtmux uses a non-existing trace method on the logger to log the error. It's probably easy to forget to test this codepath ;)

@tony tony added the bug label Aug 18, 2016
@tony tony closed this in 212f2c7 Aug 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants