Zim

Held CTRL+Z for a long time to revert a formatting error and got this:

Bug #1256391 reported by James Epp
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zim
Expired
Undecided
Unassigned

Bug Description

This is zim 0.60
Python version is sys.version_info(major=2, minor=7, micro=3, releaselevel='final', serial=0)
Gtk version is (2, 24, 10)
Pygtk version is (2, 24, 0)
Platform is posix
No bzr version-info found

======= Traceback =======
  File "/usr/lib/pymodules/python2.7/zim/gui/__init__.py", line 819, in _action_handler
    method(*arg)
  File "/usr/lib/pymodules/python2.7/zim/gui/pageview.py", line 5191, in undo
    self.undostack.undo()
  File "/usr/lib/pymodules/python2.7/zim/gui/pageview.py", line 4295, in undo
    self._replay(self.stack[i].reversed())
  File "/usr/lib/pymodules/python2.7/zim/gui/pageview.py", line 4331, in _replay
    self.buffer.insert_parsetree_at_cursor(data)
  File "/usr/lib/pymodules/python2.7/zim/gui/pageview.py", line 672, in insert_parsetree_at_cursor
    self._insert_element_children(root, raw=raw)
  File "/usr/lib/pymodules/python2.7/zim/gui/pageview.py", line 772, in _insert_element_children
    set_indent(list_level, bullet)
  File "/usr/lib/pymodules/python2.7/zim/gui/pageview.py", line 718, in set_indent
    assert len(tags) <= 1, 'BUG: overlapping indent tags'
AssertionError: BUG: overlapping indent tags

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 1256391] [NEW] Held CTRL+Z for a long time to revert a formatting error and got this:

Thanks for the report, but afraid I would need the exact editing history to
be able to reproduce, so no way to fix it without more info.

Regards,

Jaap

On Fri, Nov 29, 2013 at 6:51 PM, James Epp <email address hidden> wrote:

> Public bug reported:
>
> This is zim 0.60
> Python version is sys.version_info(major=2, minor=7, micro=3,
> releaselevel='final', serial=0)
> Gtk version is (2, 24, 10)
> Pygtk version is (2, 24, 0)
> Platform is posix
> No bzr version-info found
>
> ======= Traceback =======
> File "/usr/lib/pymodules/python2.7/zim/gui/__init__.py", line 819, in
> _action_handler
> method(*arg)
> File "/usr/lib/pymodules/python2.7/zim/gui/pageview.py", line 5191, in
> undo
> self.undostack.undo()
> File "/usr/lib/pymodules/python2.7/zim/gui/pageview.py", line 4295, in
> undo
> self._replay(self.stack[i].reversed())
> File "/usr/lib/pymodules/python2.7/zim/gui/pageview.py", line 4331, in
> _replay
> self.buffer.insert_parsetree_at_cursor(data)
> File "/usr/lib/pymodules/python2.7/zim/gui/pageview.py", line 672, in
> insert_parsetree_at_cursor
> self._insert_element_children(root, raw=raw)
> File "/usr/lib/pymodules/python2.7/zim/gui/pageview.py", line 772, in
> _insert_element_children
> set_indent(list_level, bullet)
> File "/usr/lib/pymodules/python2.7/zim/gui/pageview.py", line 718, in
> set_indent
> assert len(tags) <= 1, 'BUG: overlapping indent tags'
> AssertionError: BUG: overlapping indent tags
>
> ** Affects: zim
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to Zim.
> https://bugs.launchpad.net/bugs/1256391
>
> Title:
> Held CTRL+Z for a long time to revert a formatting error and got this:
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zim/+bug/1256391/+subscriptions
>

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
Revision history for this message
No No (nono-n) wrote :

Just experienced this today:

This is zim 0.63
Platform: posix
Locale: en_US UTF-8
FS encoding: UTF-8
Python: (2, 7, 10, 'final', 0)
Gtk: (2, 24, 28)
Pygtk: (2, 24, 0)
Zim revision is:
  branch: zim-trunk
  revision: 765 <email address hidden>
  date: 2015-06-13 21:48:28 +0200

======= Traceback =======
  File "/usr/lib/python2.7/dist-packages/zim/gui/__init__.py", line 913, in _action_handler
    method(*arg)
  File "/usr/lib/python2.7/dist-packages/zim/gui/pageview.py", line 5588, in redo
    self.undostack.redo()
  File "/usr/lib/python2.7/dist-packages/zim/gui/pageview.py", line 4701, in redo
    self._replay(self.stack[i])
  File "/usr/lib/python2.7/dist-packages/zim/gui/pageview.py", line 4716, in _replay
    self.buffer.insert_parsetree_at_cursor(data)
  File "/usr/lib/python2.7/dist-packages/zim/gui/pageview.py", line 788, in insert_parsetree_at_cursor
    self._insert_element_children(root, raw=raw)
  File "/usr/lib/python2.7/dist-packages/zim/gui/pageview.py", line 912, in _insert_element_children
    set_indent(list_level, bullet)
  File "/usr/lib/python2.7/dist-packages/zim/gui/pageview.py", line 855, in set_indent
    assert len(tags) <= 1, 'BUG: overlapping indent tags'
AssertionError: BUG: overlapping indent tags

Revision history for this message
No No (nono-n) wrote :

Jaap, how might I get you exact editing history? Not certain how this works... will mark as incomplete as you did before and await your response.

Changed in zim:
status: Expired → Incomplete
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 1256391] Re: Held CTRL+Z for a long time to revert a formatting error and got this:

What I need is a way to produce the same issue for myself. Only when I can
test the issue I can fix it.

Probably in this case that would be a description of how to edit a page
step by step so that undo-ing those changes produces the error above.

REgards,

Jaap

On Fri, Nov 27, 2015 at 2:01 AM, No No <email address hidden> wrote:

> Jaap, how might I get you exact editing history? Not certain how this
> works... will mark as incomplete as you did before and await your
> response.
>
> ** Changed in: zim
> Status: Expired => Incomplete
>
> --
> You received this bug notification because you are subscribed to Zim.
> https://bugs.launchpad.net/bugs/1256391
>
> Title:
> Held CTRL+Z for a long time to revert a formatting error and got this:
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zim/+bug/1256391/+subscriptions
>

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.