Bug 1224729 - [abrt] blivet-gui: ValueError: new size will not yield an aligned partition
Summary: [abrt] blivet-gui: ValueError: new size will not yield an aligned partition
Keywords:
Status: CLOSED DUPLICATE of bug 1207798
Alias: None
Product: Fedora
Classification: Fedora
Component: blivet-gui
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vojtech Trefny
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:4f07437de4f67485e96805c4472...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-25 13:05 UTC by Sascha Zantis
Modified: 2015-05-26 08:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-26 08:00:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.06 KB, text/plain)
2015-05-25 13:05 UTC, Sascha Zantis
no flags Details
File: blivet-gui-tb (144.63 KB, text/plain)
2015-05-25 13:05 UTC, Sascha Zantis
no flags Details
File: blivet.log (107.90 KB, text/plain)
2015-05-25 13:05 UTC, Sascha Zantis
no flags Details
File: description (1.14 KB, text/plain)
2015-05-25 13:05 UTC, Sascha Zantis
no flags Details
File: environ (4.00 KB, text/plain)
2015-05-25 13:05 UTC, Sascha Zantis
no flags Details
File: program.log (35.41 KB, text/plain)
2015-05-25 13:05 UTC, Sascha Zantis
no flags Details

Description Sascha Zantis 2015-05-25 13:05:03 UTC
Description of problem:
I tried to resize an ext4 partition on a 3tb external usb disk.
I ran su -c "blivet-gui", clicked "edit" on the partition, entered the new size and clicked "ok" or whatever the name of the button is.

Version-Release number of selected component:
blivet-gui-0.2.4-1.fc22.noarch

Additional info:
reporter:       libreport-2.5.1
blivet-gui.log: 
cmdline:        /usr/bin/python  /usr/bin/blivet-gui
executable:     /usr/bin/blivet-gui
hashmarkername: blivet-gui
kernel:         4.0.4-300.fc22.x86_64
other involved packages: python-blivet-1.0.9-1.fc22.noarch
product:        Fedora
release:        Fedora release 22 (Twenty Two)
type:           Python
version:        22

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/blivetgui/blivetgui.py", line 278, in edit_device
    self._raise_exception(result.exception, result.traceback)
  File "/usr/lib/python2.7/site-packages/blivetgui/blivetgui.py", line 236, in _raise_exception
    raise six.reraise(type(exception), exception, traceback)
  File "/usr/lib/python2.7/site-packages/blivetgui/utils.py", line 551, in edit_partition_device
    self.storage.devicetree.registerAction(ac)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 493, in registerAction
    action.apply()
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 452, in apply
    self.device.targetSize = self._targetSize
  File "/usr/lib/python2.7/site-packages/blivet/devices/storage.py", line 275, in <lambda>
    lambda s, v: s._setTargetSize(v),
  File "/usr/lib/python2.7/site-packages/blivet/devices/partition.py", line 260, in _setTargetSize
    raise ValueError("new size will not yield an aligned partition")
ValueError: new size will not yield an aligned partition

Comment 1 Sascha Zantis 2015-05-25 13:05:06 UTC
Created attachment 1029450 [details]
File: backtrace

Comment 2 Sascha Zantis 2015-05-25 13:05:09 UTC
Created attachment 1029452 [details]
File: blivet-gui-tb

Comment 3 Sascha Zantis 2015-05-25 13:05:12 UTC
Created attachment 1029453 [details]
File: blivet.log

Comment 4 Sascha Zantis 2015-05-25 13:05:13 UTC
Created attachment 1029454 [details]
File: description

Comment 5 Sascha Zantis 2015-05-25 13:05:15 UTC
Created attachment 1029455 [details]
File: environ

Comment 6 Sascha Zantis 2015-05-25 13:05:16 UTC
Created attachment 1029456 [details]
File: program.log

Comment 7 Vojtech Trefny 2015-05-26 08:00:53 UTC

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


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