Bug 1082823

Summary: [abrt] powerline: __init__.py:48:keyvaluesplit:IndexError: string index out of range
Product: [Fedora] Fedora Reporter: Brad Hubbard <bhubbard>
Component: powerlineAssignee: Andreas Schneider <asn>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: asn, bhubbard
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/dbc603d47819465d5c81b65b74fc200e59329ef6
Whiteboard: abrt_hash:f6fb97aa2f4ad3459dc2fbf34eca199cf83adc43
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-11 16:07:49 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 Brad Hubbard 2014-03-31 21:49:11 UTC
Description of problem:
Had multiple session (tmux,vim) open. No idea what caused it.

Version-Release number of selected component:
powerline-0.0.1-6.20140226git70a94e.fc20

Additional info:
reporter:       libreport-2.2.0
cmdline:        /usr/bin/python /usr/bin/powerline tmux right -R pane_id=
executable:     /usr/bin/powerline
kernel:         3.13.6-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
__init__.py:48:keyvaluesplit:IndexError: string index out of range

Traceback (most recent call last):
  File "/usr/bin/powerline", line 15, in <module>
    finish_args(args)
  File "/usr/lib/python2.7/site-packages/powerline/shell.py", line 76, in finish_args
    args.renderer_arg = mergeargs((parsedotval(v) for v in args.renderer_arg))
  File "/usr/lib/python2.7/site-packages/powerline/shell.py", line 11, in mergeargs
    r = dict([next(argvalue)])
  File "/usr/lib/python2.7/site-packages/powerline/shell.py", line 76, in <genexpr>
    args.renderer_arg = mergeargs((parsedotval(v) for v in args.renderer_arg))
  File "/usr/lib/python2.7/site-packages/powerline/lib/__init__.py", line 59, in parsedotval
    o, val = keyvaluesplit(s)
  File "/usr/lib/python2.7/site-packages/powerline/lib/__init__.py", line 48, in keyvaluesplit
    if rest[0] in '"{[0193456789' or rest in ('null', 'true', 'false'):
IndexError: string index out of range

Local variables in innermost frame:
idx: 7
s: 'pane_id='
o: 'pane_id'
rest: ''

Comment 1 Brad Hubbard 2014-03-31 21:49:16 UTC
Created attachment 881109 [details]
File: backtrace

Comment 2 Brad Hubbard 2014-03-31 21:49:18 UTC
Created attachment 881110 [details]
File: environ

Comment 3 Andreas Schneider 2014-12-11 16:07:49 UTC
Should be fixed with powerline-1.3.1.