Bug 1179019

Summary: [abrt] powerline: subprocess.py:542:check_call:CalledProcessError: Command '[u'tmux', u'refresh-client']' returned non-zero exit status 1
Product: [Fedora] Fedora Reporter: Jorden Whitefield <jorden.whitefield>
Component: powerlineAssignee: Andreas Schneider <asn>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: asn, jorden.whitefield
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/0a54f6711b447a71cd9933d3106c7c3a49e8538b
Whiteboard: abrt_hash:b85825c56ea6a7d58a2d4b38c4222625ebea380a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-21 10:28:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Jorden Whitefield 2015-01-05 22:29:02 UTC
Description of problem:
recently updated tmux-powerline via yum. Run tmux and the error occured. 

Version-Release number of selected component:
powerline-1.3.1-2.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/bin/powerline-config tmux source
dso_list:       python-libs-2.7.5-15.fc20.x86_64
executable:     /usr/bin/powerline-config
kernel:         3.17.7-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
subprocess.py:542:check_call:CalledProcessError: Command '[u'tmux', u'refresh-client']' returned non-zero exit status 1

Traceback (most recent call last):
  File "/usr/bin/powerline-config", line 22, in <module>
    args.function(pl, args)
  File "/home/jorden/.local/lib/python2.7/site-packages/powerline/commands/config.py", line 15, in __call__
    self.function(*args, **kwargs)
  File "/home/jorden/.local/lib/python2.7/site-packages/powerline/bindings/config.py", line 77, in source_tmux_files
    run_tmux_command('refresh-client')
  File "/home/jorden/.local/lib/python2.7/site-packages/powerline/bindings/tmux/__init__.py", line 32, in run_tmux_command
    _run_tmux(subprocess.check_call, args)
  File "/home/jorden/.local/lib/python2.7/site-packages/powerline/bindings/tmux/__init__.py", line 27, in _run_tmux
    return runner([get_tmux_executable_name()] + list(args))
  File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '[u'tmux', u'refresh-client']' returned non-zero exit status 1

Local variables in innermost frame:
cmd: [u'tmux', u'refresh-client']
retcode: 1
popenargs: ([u'tmux', u'refresh-client'],)
kwargs: {}

Comment 1 Jorden Whitefield 2015-01-05 22:29:05 UTC
Created attachment 976636 [details]
File: backtrace

Comment 2 Jorden Whitefield 2015-01-05 22:29:06 UTC
Created attachment 976637 [details]
File: environ

Comment 3 Andreas Schneider 2015-01-07 10:02:03 UTC
Why do you have powerline python scripts installed in your local home directory?

Comment 4 Jorden Whitefield 2015-01-19 13:53:40 UTC
As I installed it through YUM and discovered it was causing crashes and not working correctly. I then decided to it this way and see if it was any better. The crash seemed to be a one time thing and it has not happened since.

Comment 5 Andreas Schneider 2015-01-21 10:28:54 UTC
I'm closing the bug. Please reopen if you can reproduce it.