Bug 1067624 - [abrt] bcache-tools-0-0.15.20131018git.fc20: bcache-status:75:interpret_sectors:IndexError: string index out of range
Summary: [abrt] bcache-tools-0-0.15.20131018git.fc20: bcache-status:75:interpret_secto...
Keywords:
Status: CLOSED DUPLICATE of bug 1066555
Alias: None
Product: Fedora
Classification: Fedora
Component: bcache-tools
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rolf Fokkens
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:5e165a7fb0181479071855b0d5d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-20 18:41 UTC by Pavel Mlčoch
Modified: 2014-02-20 22:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-20 22:23:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (927 bytes, text/plain)
2014-02-20 18:41 UTC, Pavel Mlčoch
no flags Details
File: environ (2.81 KB, text/plain)
2014-02-20 18:41 UTC, Pavel Mlčoch
no flags Details

Description Pavel Mlčoch 2014-02-20 18:41:24 UTC
Version-Release number of selected component:
bcache-tools-0-0.15.20131018git.fc20

Additional info:
reporter:       libreport-2.1.9
cmdline:        python /usr/sbin/bcache-status
executable:     /usr/sbin/bcache-status
kernel:         3.13.3-201.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
bcache-status:75:interpret_sectors:IndexError: string index out of range

Traceback (most recent call last):
  File "/usr/sbin/bcache-status", line 350, in <module>
    main()
  File "/usr/sbin/bcache-status", line 343, in main
    dump_bcache('%s%s' % (SYSFS_BCACHE_PATH, cache), stats, print_subdevices, uuid_map.get(cache, '?'))
  File "/usr/sbin/bcache-status", line 250, in dump_bcache
    val = conversion_func(val)
  File "/usr/sbin/bcache-status", line 217, in <lambda>
    ('dirty_data',				'Dirty Data',		lambda x: fmt_cachesize(interpret_sectors(x))),
  File "/usr/sbin/bcache-status", line 75, in interpret_sectors
    if x[-1] in factors:
IndexError: string index out of range

Local variables in innermost frame:
x: ''
factors: {'P': 1125899906842624, 'E': 1152921504606846976, 'T': 1099511627776, 'G': 1073741824, 'Y': 1208925819614629174706176L, 'k': 1024, 'Z': 1180591620717411303424L, 'M': 1048576}
factor: 1

Comment 1 Pavel Mlčoch 2014-02-20 18:41:34 UTC
Created attachment 865660 [details]
File: backtrace

Comment 2 Pavel Mlčoch 2014-02-20 18:41:39 UTC
Created attachment 865661 [details]
File: environ

Comment 3 Rolf Fokkens 2014-02-20 22:23:59 UTC

*** This bug has been marked as a duplicate of bug 1066555 ***


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