Bug 903344 - [abrt] system-config-lvm-1.1.18-1.fc18: cylinder_items.py:758:__adjust_width:ZeroDivisionError: float division by zero
Summary: [abrt] system-config-lvm-1.1.18-1.fc18: cylinder_items.py:758:__adjust_width:...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-lvm
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Marek Grac
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:92f19b74f09571c89efc865c1ae...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-23 19:23 UTC by Secrius
Modified: 2013-02-25 13:29 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-25 13:29:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (826 bytes, text/plain)
2013-01-23 19:23 UTC, Secrius
no flags Details
File: core_backtrace (443 bytes, text/plain)
2013-01-23 19:23 UTC, Secrius
no flags Details
File: environ (290 bytes, text/plain)
2013-01-23 19:23 UTC, Secrius
no flags Details

Description Secrius 2013-01-23 19:23:23 UTC
Version-Release number of selected component:
system-config-lvm-1.1.18-1.fc18

Additional info:
cmdline:        /usr/bin/python2 /usr/share/system-config-lvm/system-config-lvm.py
executable:     /usr/share/system-config-lvm/system-config-lvm.py
kernel:         3.7.2-204.fc18.x86_64
uid:            0

Truncated backtrace:
cylinder_items.py:758:__adjust_width:ZeroDivisionError: float division by zero

Traceback (most recent call last):
  File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 464, in on_tree_selection_changed
    self.display_view.render_vg(vg)
  File "/usr/share/system-config-lvm/renderer.py", line 537, in render_vg
    self.display.append_right(False, Separator())
  File "/usr/share/system-config-lvm/cylinder_items.py", line 746, in append_right
    self.__adjust_width()
  File "/usr/share/system-config-lvm/cylinder_items.py", line 758, in __adjust_width
    self.cyl_lower.set_ratio(float(self.width-(lo_w-lo_w_adj))/lo_w_adj)
ZeroDivisionError: float division by zero

Local variables in innermost frame:
lo_w: 1
self: <cylinder_items.DoubleCylinder instance at 0x262b4d0>
up_w_adj: 38031
up_w: 38034
lo_w_adj: 0

Comment 1 Secrius 2013-01-23 19:23:26 UTC
Created attachment 686174 [details]
File: backtrace

Comment 2 Secrius 2013-01-23 19:23:29 UTC
Created attachment 686175 [details]
File: core_backtrace

Comment 3 Secrius 2013-01-23 19:23:31 UTC
Created attachment 686176 [details]
File: environ

Comment 4 Marek Grac 2013-02-13 10:18:57 UTC
@Secrius:

Can you send me your partitions, pvs, vgs and lvs?


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