leoBridge save leo file causes AttributeError: 'Commands' object has no attribute 'treeEditFocusHelper'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
leo-editor |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The attached python file bt_lbnf.py is a minimal demonstration of this bug. To run bt_lbnf.py:
1) Set the current working directory wherever you want.
2) Insure that newFile.leo does NOT exist in the current working directory.
3) Run bt_lbnf.py. No error occurs.
4) Run bt_lbnf.py a second time. This run error terminates.
Here is the console contents after I did the above:
2014-02-15 15:11:32 /home/ldi/tmp
$ python bt_lbnf.py
file not found: /home/ldi/
2014-02-15 15:11:41 /home/ldi/tmp
$ python bt_lbnf.py
** isPython3: False
Leo 4.11 final, build da72de48efe6 (branch: master), 2014-02-11 09:16:54
Python 2.7.5, leoGui: dummy version
linux2
reading settings in /home/ldi/
Leo Log Window
Leo 4.11 final, build da72de48efe6 (branch: master), 2014-02-11 09:16:54
Python 2.7.5, leoGui: dummy version
linux2
reading settings in /home/ldi/
docutils loaded
reading: /home/ldi/
Traceback (most recent call last):
File "bt_lbnf.py", line 15, in <module>
cmdr.save()
File "/home/
c.fileComma
File "/home/
c.endEditing() # Set the current headline text.
File "/home/
c.frame.
File "/home/
self.
File "/home/
c.treeEditF
AttributeError: 'Commands' object has no attribute 'treeEditFocusH
2014-02-15 15:11:45 /home/ldi/tmp
$
---------
My test system is:
Xubuntu64 13.10
Linux Kernel: 3.11.0-15-generic
Gnome: 3.8.4
Leo 4.11 final, build da72de48efe6 (branch: master), 2014-02-11 09:16:54
Changed in leo-editor: | |
status: | New → Fix Released |
On Sat, Feb 15, 2014 at 5:29 PM, SegundoBob <email address hidden>wrote:
> Public bug reported:
>
File "/home/ ldi/git/ leo-editor/ leo/core/ leoFrame. py", line 1843, in Helper( ) elper'
> onHeadChanged
> c.treeEditFocus
> AttributeError: 'Commands' object has no attribute 'treeEditFocusH
> 2014-02-15 15:11:45 /home/ldi/tmp
>
Many thanks for this detailed report. I'll fix this bug immediately.
Edward