Bug 1082823 - [abrt] powerline: __init__.py:48:keyvaluesplit:IndexError: string index out of range
Summary: [abrt] powerline: __init__.py:48:keyvaluesplit:IndexError: string index out o...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: powerline
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andreas Schneider
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:f6fb97aa2f4ad3459dc2fbf34ec...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-31 21:49 UTC by Brad Hubbard
Modified: 2014-12-11 16:07 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-12-11 16:07:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.00 KB, text/plain)
2014-03-31 21:49 UTC, Brad Hubbard
no flags Details
File: environ (2.50 KB, text/plain)
2014-03-31 21:49 UTC, Brad Hubbard
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.