On Mon, 31 Jul 2017 07:04:07 -0700 (PDT)
lewis <[email protected]> wrote:

> Running latest Leo 5.5, build 20170721094758, Fri Jul 21 09:47:58 CDT
> 2017 Git repo info: branch = master, commit = a1043408d36f
> Python 3.6.2, PyQt version 5.9.1
> Windows 10 AMD64 (build 10.0.15063) SP0
> isPython3: True

This must be caused by the switch to the SQLite back end.  It looks
like bookmarks.py is getting None instead of the config object.
bookmarks.py is one of the non-cache uses of the c.db/g.db mechanism.

As an aside, Vitalije, I see you don't have the git commit hooks that
update the build number for Leo - a1043408d36f is more recent than
20170721094758.

Cheers -Terry

> Leo loads but my bookmarks aren't showing. Here is message in log
> pane:
> 
> *read outline in 0.09 secondshook failed: after-create-leo-frame2,
> <bound method FreeLayoutController.loadLayouts of 
> <leo.plugins.free_layout.FreeLayoutController object at 
> 0x000001A572AAD4E0>>, <no module>Traceback (most recent call last):
> 0x000001A572AAD4E0>>File 
> "N:\git\leo-editor\leo\core\leoPlugins.py", line 341, in
> callTagHandler result = handler(tag, keywords)  File 
> "N:\git\leo-editor\leo\plugins\free_layout.py", line 241, in
> loadLayouts layout = d.get(name)AttributeError: 'NoneType' object has
> no attribute 'get'*
> 
> If I then reload a bookmarks node and attempt to save the layout,
> python stops working, leo crashes. Here is the trace from console:
> 
> *Traceback (most recent call last):  File 
> "N:\git\leo-editor\leo\plugins\nested_splitter.py", line 350, in
> cb splitter.context_cb(id_, index)  File 
> "N:\git\leo-editor\leo\plugins\nested_splitter.py", line 650, in 
> context_cb    provided = provider.ns_do_context(id_, self, index)
> File "N:\git\leo-editor\leo\plugins\free_layout.py", line 301, in 
> ns_do_context    d[name] = layoutTypeError: 'NoneType' object does
> not support item assignment*
> 
> Regards
> Lewis

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to