Zim

Zim error dialog on creating in-page link

Bug #1652833 reported by Chris Kinata
6
This bug affects 1 person
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/python2.7/dist-packages/zim/gui/pageview.py", line 5335, in do_link_clicked
    self.ui.notebook.flush_page_cache(path)
  File "/usr/lib/python2.7/dist-packages/zim/notebook.py", line 1395, in flush_page_cache
    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.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Seems to work correctly in zim 0.66

Changed in zim:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Zim because there has been no activity for 60 days.]

Changed in zim:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.