blivet-gui-0.2.0-6.fc22 I tried to use blivet-gui to resize a partition and it failed. But even to get to that point there was issues. # blivet-gui Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/blivetgui/devicevisualization/device_canvas.py", line 386, in draw_event draw_loop(self, root_iter, 0, 0, self.parent, width) File "/usr/lib/python2.7/site-packages/blivetgui/devicevisualization/device_canvas.py", line 360, in draw_loop parts_left, size_left, start, depth) File "/usr/lib/python2.7/site-packages/blivetgui/devicevisualization/device_canvas.py", line 184, in compute_rectangles_size total_size = round(parent.size.convertTo(spec="MiB")) File "/usr/lib/python2.7/site-packages/blivet/size.py", line 304, in convertTo return Decimal(self) / Decimal((spec or B).factor) AttributeError: 'str' object has no attribute 'factor' Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/blivetgui/devicevisualization/device_canvas.py", line 386, in draw_event draw_loop(self, root_iter, 0, 0, self.parent, width) File "/usr/lib/python2.7/site-packages/blivetgui/devicevisualization/device_canvas.py", line 360, in draw_loop parts_left, size_left, start, depth) File "/usr/lib/python2.7/site-packages/blivetgui/devicevisualization/device_canvas.py", line 184, in compute_rectangles_size total_size = round(parent.size.convertTo(spec="MiB")) File "/usr/lib/python2.7/site-packages/blivet/size.py", line 304, in convertTo return Decimal(self) / Decimal((spec or B).factor) AttributeError: 'str' object has no attribute 'factor' Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/blivetgui/devicevisualization/device_canvas.py", line 386, in draw_event draw_loop(self, root_iter, 0, 0, self.parent, width) File "/usr/lib/python2.7/site-packages/blivetgui/devicevisualization/device_canvas.py", line 360, in draw_loop parts_left, size_left, start, depth) File "/usr/lib/python2.7/site-packages/blivetgui/devicevisualization/device_canvas.py", line 184, in compute_rectangles_size total_size = round(parent.size.convertTo(spec="MiB")) File "/usr/lib/python2.7/site-packages/blivet/size.py", line 304, in convertTo return Decimal(self) / Decimal((spec or B).factor) AttributeError: 'str' object has no attribute 'factor' Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/blivetgui/devicevisualization/device_canvas.py", line 386, in draw_event draw_loop(self, root_iter, 0, 0, self.parent, width) File "/usr/lib/python2.7/site-packages/blivetgui/devicevisualization/device_canvas.py", line 360, in draw_loop parts_left, size_left, start, depth) File "/usr/lib/python2.7/site-packages/blivetgui/devicevisualization/device_canvas.py", line 184, in compute_rectangles_size total_size = round(parent.size.convertTo(spec="MiB")) File "/usr/lib/python2.7/site-packages/blivet/size.py", line 304, in convertTo return Decimal(self) / Decimal((spec or B).factor) AttributeError: 'str' object has no attribute 'factor' /usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py:567: Warning: The property GtkButton:use-stock is deprecated and shouldn't be used anymore. It will be removed in a future version. self.add_button(text, response) /usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py:567: Warning: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version. self.add_button(text, response) Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/blivetgui/actions_toolbar.py", line 168, in on_edit_clicked self.list_partitions.edit_device() File "/usr/lib/python2.7/site-packages/blivetgui/list_partitions.py", line 760, in edit_device self.kickstart_mode) File "/usr/lib/python2.7/site-packages/blivetgui/dialogs/edit_dialog.py", line 91, in __init__ self.size_area = self.add_size_chooser() File "/usr/lib/python2.7/site-packages/blivetgui/dialogs/edit_dialog.py", line 116, in add_size_chooser edited_device=self.edited_device) File "/usr/lib/python2.7/site-packages/blivetgui/dialogs/add_dialog.py", line 153, in __init__ self.scale, self.spin_size = self.add_size_widgets() File "/usr/lib/python2.7/site-packages/blivetgui/dialogs/add_dialog.py", line 158, in add_size_widgets adjustment=Gtk.Adjustment(0, self.min_size.convertTo(unit), File "/usr/lib/python2.7/site-packages/blivet/size.py", line 304, in convertTo return Decimal(self) / Decimal((spec or B).factor) AttributeError: 'str' object has no attribute 'factor' Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/blivetgui/actions_menu.py", line 142, in on_edit_item self.list_partitions.edit_device() File "/usr/lib/python2.7/site-packages/blivetgui/list_partitions.py", line 760, in edit_device self.kickstart_mode) File "/usr/lib/python2.7/site-packages/blivetgui/dialogs/edit_dialog.py", line 91, in __init__ self.size_area = self.add_size_chooser() File "/usr/lib/python2.7/site-packages/blivetgui/dialogs/edit_dialog.py", line 116, in add_size_chooser edited_device=self.edited_device) File "/usr/lib/python2.7/site-packages/blivetgui/dialogs/add_dialog.py", line 153, in __init__ self.scale, self.spin_size = self.add_size_widgets() File "/usr/lib/python2.7/site-packages/blivetgui/dialogs/add_dialog.py", line 158, in add_size_widgets adjustment=Gtk.Adjustment(0, self.min_size.convertTo(unit), File "/usr/lib/python2.7/site-packages/blivet/size.py", line 304, in convertTo return Decimal(self) / Decimal((spec or B).factor) AttributeError: 'str' object has no attribute 'factor'
Thanks for the report. There is a little change in the API of python-blivet causing this problem. I'll try to release fixed version asap.
Might also be useful to add an option to check the FS via the gui. First time I ran it had to check the console output to see that it has issues and wanted me to check the FS. Seems kind of funny to have to quit to do that. It also doesn't seem to have an icon
*** Bug 1195234 has been marked as a duplicate of this bug. ***
Should be fixed in new version 0.2.2
Please build as submit as an update for F-22
Sorry, I forgot F-22 has been already branched. Koji build for 22 is finished too -- http://koji.fedoraproject.org/koji/buildinfo?buildID=615397
(In reply to Vojtech Trefny from comment #6) > Sorry, I forgot F-22 has been already branched. Koji build for 22 is > finished too -- http://koji.fedoraproject.org/koji/buildinfo?buildID=615397 And bodhi is enabled for updates so you'll need to submit it as an update via bodhi too
blivet-gui-0.2.2-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/blivet-gui-0.2.2-1.fc22
blivet-gui-0.2.2-2.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/blivet-gui-0.2.2-2.fc22
blivet-gui-0.2.2-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.