Re: quickMove plugin errors

2014-11-22 Thread Brian Theado
On Sat, Nov 22, 2014 at 5:27 PM, 'Terry Brown' via leo-editorI think both
these issues are fixed in

>
> Leo 5.0b2, build 20141122162510, Sat Nov 22 16:25:10 CST 2014
> Git repo info: branch = master, commit = 9450973e8479
>
> Cheers -Terry
>

I no longer see the errors. Thanks!

-- 
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.


Re: quickMove plugin errors

2014-11-22 Thread 'Terry Brown' via leo-editor
On Fri, 21 Nov 2014 22:26:52 -0500
Brian Theado  wrote:

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

I think both these issues are fixed in

Leo 5.0b2, build 20141122162510, Sat Nov 22 16:25:10 CST 2014
Git repo info: branch = master, commit = 9450973e8479

Cheers -Terry

-- 
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.


Re: quickMove plugin errors

2014-11-21 Thread 'Terry Brown' via leo-editor
On Fri, 21 Nov 2014 22:26:52 -0500
Brian Theado  wrote:

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

Thanks for this most detailed error report - I'll try and fix these
this weekend.

Cheers -Terry

> 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 
> 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.