Bug 802750

Summary: [abrt] Zim-0.55-1.fc16: pageindex.py:207:select_page:ValueError: invalid tree path
Product: [Fedora] Fedora Reporter: David Kovalsky <dkovalsk>
Component: ZimAssignee: Robin Lee <robinlee.sysu>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: benl, dag.odenhall, fabian, gnemas, jan.basko, jean-baptiste, nomnex, peppe.fiorentino, pportant, robinlee.sysu, udtduetl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://bugs.launchpad.net/fedora/+bug/915037
Whiteboard: abrt_hash:c549d5bf02dd6f5170cf2f18bc1127b621773328
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-07 02:53:28 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:

Description David Kovalsky 2012-03-13 12:39:29 UTC
libreport version: 2.0.8
abrt_version:   2.0.7
cmdline:        /usr/bin/python /usr/bin/zim
comment:        I've moved a page from one subtree to another, just like I've done hundreds of times in the past. Not sure why this time it blew up and I'm not any smarter from the traceback. 
executable:     /usr/bin/zim
kernel:         3.2.9-2.fc16.x86_64
reason:         pageindex.py:207:select_page:ValueError: invalid tree path
time:           Tue 13 Mar 2012 01:34:35 PM CET
uid:            10625
username:       dkovalsk

backtrace:
:pageindex.py:207:select_page:ValueError: invalid tree path
:
:Traceback (most recent call last):
:  File "/usr/lib/python2.7/site-packages/zim/gui/pageindex.py", line 744, in on_open_page
:    self.treeview.select_page(path, vivificate=True)
:  File "/usr/lib/python2.7/site-packages/zim/gui/pageindex.py", line 671, in select_page
:    model.select_page(path) # highlight in model
:  File "/usr/lib/python2.7/site-packages/zim/gui/pageindex.py", line 207, in select_page
:    treeiter = self.get_iter(treepath)
:ValueError: invalid tree path
:
:Local variables in innermost frame:
:self: <PageTreeStore object at 0x7f9faa4e0f50 (zim+gui+pageindex+PageTreeStore at 0x234d0c0)>
:path: <Path: X-RH archive:update-qa-contact>
:oldpath: <IndexPath: X-Red Hat:update-qa-contact>
:treepath: (11, 0)
:mypath: <IndexPath: X-Red Hat:update-qa-contact>

Comment 1 jan.basko 2012-03-21 12:22:06 UTC
delete page

Package: Zim-0.55-1.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment 2 Peter Portante 2012-04-02 14:31:24 UTC
I was moving existing pages to be sub pages of a new page.

Package: Zim-0.55-1.fc16
OS Release: Fedora release 16 (Verne)

Comment 3 Peter Portante 2012-04-11 18:48:25 UTC
Moved a sub page from its current parent page to its current parent's parent page (from root->page->subpage0->subpage1 to root->page->subpage1).

Package: Zim-0.55-1.fc16
OS Release: Fedora release 16 (Verne)

Comment 4 David Kovalsky 2012-04-15 11:41:48 UTC
Rename a subpage

Package: Zim-0.55-1.fc16
OS Release: Fedora release 16 (Verne)

Comment 5 Peter Portante 2012-04-16 13:36:35 UTC
Moved a sub page up to another parent page.

Package: Zim-0.55-1.fc16
OS Release: Fedora release 16 (Verne)

Comment 6 gnemas 2012-05-01 03:12:43 UTC
Typed [[where does this go]] , Ctrl+R, and then clicked on the link.

Package: Zim-0.56-1.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment 7 nomnex 2012-05-15 16:05:32 UTC
Package: Zim-0.56-1.fc15
Architecture: i686
OS Release: Fedora release 15 (Lovelock)

Comment
-----
anytime I move or delete a page, in the latest zim update (v. 0.56), I get abrt crash report messages

Comment 8 Fabian Stanke 2012-05-18 10:44:56 UTC
This bug corresponds to https://bugs.launchpad.net/fedora/+bug/915037
I pushed a fix to launchpad yesterday that has already been merged. Backporting should be trivial.

Comment 9 David Kovalsky 2012-05-25 15:12:26 UTC
Remove a subpage (actually a couple of subpages on the same level)

Package: Zim-0.56-2.fc16
OS Release: Fedora release 16 (Verne)

Comment 10 Robin Lee 2012-05-27 08:02:52 UTC
*** Bug 753356 has been marked as a duplicate of this bug. ***

Comment 11 Fedora Update System 2012-05-27 08:58:32 UTC
Zim-0.56-3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/Zim-0.56-3.fc16

Comment 12 Fedora Update System 2012-05-28 01:18:53 UTC
Package Zim-0.56-3.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing Zim-0.56-3.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-8505/Zim-0.56-3.fc16
then log in and leave karma (feedback).

Comment 13 Fedora Update System 2012-06-07 02:53:28 UTC
Zim-0.56-3.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Robin Lee 2012-08-13 12:34:05 UTC
*** Bug 703565 has been marked as a duplicate of this bug. ***