Zim error dialog on creating in-page link
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Expired
|
Undecided
|
Unassigned |
Bug Description
This might be related to #506834.
Ubuntu 16.04
Repeatable behavior (for me, anyway):
-- Click in a page, choose Edit>Copy Location.
-- Press right mouse button, choose Paste. A link appears, having the same name as the page.
-- Click on the link. The 'Looks like you found a bug' dialog appears:
-------
This is zim 0.65
Platform: posix
Locale: en_US UTF-8
FS encoding: UTF-8
Python: (2, 7, 12, 'final', 0)
Gtk: (2, 24, 30)
Pygtk: (2, 24, 0)
Zim revision is:
branch: zim-trunk
revision: 805 <email address hidden>
date: 2015-11-01 15:42:45 +0100
======= Traceback =======
File "/usr/lib/
self.
File "/usr/lib/
assert not page.modified, 'BUG: Flushing page with unsaved changes'
AssertionError: BUG: Flushing page with unsaved changes
-------
The context was that I was trying to figure out whether I could link to a location on a page, such as a heading. I inserted a link on a page to the same page, and edited it, changing the displayed text to 'TOP', thinking that it might be convenient to use it to jump back to the top of the page.
Seems to work correctly in zim 0.66