Bug 1445815

Summary: [abrt] blivet-gui: Gtk.py:1164:__new__:TypeError: could not parse subscript '-1' as a tree path
Product: [Fedora] Fedora Reporter: Alessio <alciregi>
Component: blivet-guiAssignee: Vojtech Trefny <vtrefny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: vtrefny
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/aec4ee8fdb1ceb1478bc15e6207d63f7ce418b4d
Whiteboard: abrt_hash:9e22013e9880e3b8d10cf1b488a7e79c2ce53eca;VARIANT_ID=workstation;
Fixed In Version: blivet-gui-2.0.2-2.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-02 23:15:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: blivet.log
none
File: environ
none
File: program.log none

Description Alessio 2017-04-26 14:51:01 UTC
Description of problem:
I created an LVM LV using xfs, then deleted it, then applied the operations.

Version-Release number of selected component:
blivet-gui-2.0.2-1.fc25

Additional info:
reporter:       libreport-2.8.0
cmdline:        /usr/bin/python3 /usr/bin/blivet-gui
executable:     /usr/bin/blivet-gui
kernel:         4.10.12-200.fc25.x86_64
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
Gtk.py:1164:__new__:TypeError: could not parse subscript '-1' as a tree path

Traceback (most recent call last):
  File "/usr/lib64/python3.5/site-packages/gi/overrides/Gtk.py", line 1162, in __new__
    return TreePath.new_from_string(path)
TypeError: constructor returned NULL

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/blivetgui/blivetgui.py", line 477, in end
    dialog.stop()
  File "/usr/lib/python3.5/site-packages/blivetgui/processing_window.py", line 154, in stop
    self._set_applied_icon(self.finished_actions - 1)
  File "/usr/lib/python3.5/site-packages/blivetgui/processing_window.py", line 135, in _set_applied_icon
    path = Gtk.TreePath(position)
  File "/usr/lib64/python3.5/site-packages/gi/overrides/Gtk.py", line 1164, in __new__
    raise TypeError("could not parse subscript '%s' as a tree path" % path)
TypeError: could not parse subscript '-1' as a tree path

Local variables in innermost frame:
path: '-1'
cls: <class 'gi.overrides.Gtk.TreePath'>

Comment 1 Alessio 2017-04-26 14:51:06 UTC
Created attachment 1274262 [details]
File: backtrace

Comment 2 Alessio 2017-04-26 14:51:09 UTC
Created attachment 1274264 [details]
File: blivet.log

Comment 3 Alessio 2017-04-26 14:51:11 UTC
Created attachment 1274265 [details]
File: environ

Comment 4 Alessio 2017-04-26 14:51:13 UTC
Created attachment 1274266 [details]
File: program.log

Comment 5 Fedora Update System 2017-04-28 18:27:03 UTC
blivet-gui-2.0.2-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-007df5684b

Comment 6 Fedora Update System 2017-04-30 02:26:26 UTC
blivet-gui-2.0.2-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-007df5684b

Comment 7 Fedora Update System 2017-05-02 23:15:37 UTC
blivet-gui-2.0.2-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.