Zim

Comment 2 for bug 1702079

Revision history for this message
Laecy (laecy) wrote : Re: [Bug 1702079] Re: Moving a page with child pages glitched

No need to do so on my account. With the way I'm working on this, a reason to methodically review each page is helpful, and I don't encounter the bug often enough to be a problem.

Thank you though.

And thank you in general. This software is amazing. I can't express how much it has helped me get organized in this research that has sprawled across several years and thousands of pages of reference material. It has breathed new life into a passion project I was afraid was too big for me to handle. I don't know how or why you pour so much work into it, but I am profoundly grateful.

-Laecy

Sent from my iPhone

> On Jul 4, 2017, at 3:03 AM, Jaap Karssenberg <email address hidden> wrote:
>
> Yes, links to child pages should be updates as well, however the error
> probably happened before this was finished resulting in an "in between"
> state.
>
> This part of the code should be much more robust with the new 0.67
> version (rc2 is released, final release next week).
>
> If you want, I can try to come up with a "repair" script to
> automatically update the links.
>
> -- Jaap
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1702079
>
> Title:
> Moving a page with child pages glitched
>
> Status in Zim:
> New
>
> Bug description:
> I tried to move a page with a mildly complex child tree to another
> section:
>
> Resources
> ->Articles
> ->->Book Reviews
> ->->->The Red Queen
> ->->->->NY Times
> ->->->->The Guardian
> ->Books
> ->->The Red Queen
>
> etc for a few dozen books
>
> I tried to move the entire Articles page to
>
> ToDo List
> ->Learning
> ->->Further Reading
> ->->->Articles
>
> since I had read the books in depth but not the reviews. At this
> point, I'm just compiling them.
>
> When I input the Move Page command, it ran smoothly for what seemed
> like most of the transfer, then popped an error message saying it
> couldn't find one of the files, and I had to cancel the action. It
> looks like all the files were transferred, though it's an extensive
> collection and I'm not certain I've checked them all.
>
> However, the main bug is that the links to the child pages were not
> updated. For instance, the links to the reviews of The Red Queen on
> the Red Queen book page still point to the old location, and I'm
> needing to go update every link on every page by hand.
>
> Is it not part of the program to update links to child pages, or was
> this a glitch?
>
> Thank you,
>
> Laecy
>
> EDIT:
>
> Here's the bug report
>
> This is zim 0.65
> Platform: nt
> Locale: en_US cp1252
> FS encoding: mbcs
> Python: (2, 7, 11, 'final', 0)
> Gtk: (2, 24, 10)
> Pygtk: (2, 24, 0)
> Zim revision is:
> branch: 065
> revision: 805 <email address hidden>
> date: 2015-11-01 15:42:45 +0100
>
> ======= Traceback =======
> File "zim\gui\__init__.pyo", line 885, in _action_handler
> File "zim\gui\__init__.pyo", line 1716, in delete_page
> File "zim\notebook.pyo", line 1767, in trash_page
> File "zim\notebook.pyo", line 1808, in _delete_page
> File "zim\notebook.pyo", line 1434, in store_page
> File "zim\stores\files.pyo", line 104, in store_page
> File "zim\stores\files.pyo", line 304, in _store
> File "zim\stores\files.pyo", line 338, in _dump
> AssertionError: BUG: Can not store a page without content
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zim/+bug/1702079/+subscriptions