When I use the latest github code to open an outline containing permanent
quickMove buttons, then I get this error stack:

Traceback (most recent call last):

  File
"/nix/store/lc4rggkm7k4lgqiw1dvphcjhgai2f1y8-leo-editor-a4bbce/leo-editor/leo/core/leoPlugins.py",
line 357, in callTagHandler
    result = handler(tag,keywords)
  File
"/nix/store/lc4rggkm7k4lgqiw1dvphcjhgai2f1y8-leo-editor-a4bbce/leo-editor/leo/plugins/quickMove.py",
line 168, in onCreate
    quickMove(keywords['c'])
  File
"/nix/store/lc4rggkm7k4lgqiw1dvphcjhgai2f1y8-leo-editor-a4bbce/leo-editor/leo/plugins/quickMove.py",
line 298, in __init__
    self.addButton(i['first'], i['type'], v=i['v'])
  File
"/nix/store/lc4rggkm7k4lgqiw1dvphcjhgai2f1y8-leo-editor-a4bbce/leo-editor/leo/plugins/quickMove.py",
line 329, in addButton
    mb = quickMoveButton(self,v,which,type_=type_)
  File
"/nix/store/lc4rggkm7k4lgqiw1dvphcjhgai2f1y8-leo-editor-a4bbce/leo-editor/leo/plugins/quickMove.py",
line 794, in __init__
    self.which = which.strip().lower()
AttributeError: 'NoneType' object has no attribute 'strip'

Running through git bisect shows this:

40a6dbc2d64fa2ad5b1a2ec011219fdc9a9805ce is the first bad commit
commit 40a6dbc2d64fa2ad5b1a2ec011219fdc9a9805ce
Author: tbnorth <terry_n_br...@yahoo.com>
Date:   Wed Oct 15 14:32:37 2014 -0500

    add next/prev targets to quickMove

            Leo build: 20141015143237


I tried making a simple test case with a brand new leo file, but got this
error when trying to make a Jump-to button permanent:

Traceback (most recent call last):
  File
"/nix/store/lc4rggkm7k4lgqiw1dvphcjhgai2f1y8-leo-editor-a4bbce/leo-editor/leo/plugins/quickMove.py",
line 380, in cb_permanent
    c.quickMove.permanentButton(v=v, type_=type_, first=first)
  File
"/nix/store/lc4rggkm7k4lgqiw1dvphcjhgai2f1y8-leo-editor-a4bbce/leo-editor/leo/plugins/quickMove.py",
line 421, in permanentButton
    {'first':mover.first, 'type': mover.type_})
AttributeError: quickMoveButton instance has no attribute 'first'

To duplicate this 2nd issue:


   1. enable the quickmove plugin
   2. open a new leo file
   3. right click the first node in the outline and pick "Move->Jump to
   button"
   4. right click on the newly created button and select "Make permanent"

To duplicate the first issue, follow the above steps on a version of leo
older than 15Oct and then open it with a version of leo newer than 15oct.

Brian

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to