On Friday, June 30, 2017 at 10:03:33 PM UTC+2, Edward K. Ream wrote:
>
>
>
> On Friday, June 30, 2017 at 12:17:30 PM UTC-5, vitalije wrote:
>>
>> It should be used like this:
>> 1. open ordinary .leo document
>> 2. issue command save As and type in filename that ends with '.db'.
>>
>
> Hmm.  I issued a Save To command and afterward closed without saving.
>
> When I reopened leoPy.leo I got:
>
> Internal Leo error in checkForChangedNodes
> no vnode ['fc.getWindowGeometryFromDb', "def getWindowGeometryFromDb(self, 
> conn):try:\n        d = dict(conn.execute('''select * from extra_infos 
> \n            where name in ('width', 'height', 'top', 
> 'left');''').fetchall())\n    except sqlite3.OperationalError:\n        d = 
> {'width': 600, 'height': 400, 'top': 50, 'left': 50}\n    return d\n", 
> 'vitalije.20170630200802.1', []]
>
> Called from <module>, run, load, doPostPluginsInit, loadLocalFile, 
> openFileByName, readOpenedLeoFile, openLeoFile, getLeoFile, 
> readExternalFiles, readAll, read, readFile, createOutlineFromCacheList, 
> createOutlineFromCacheList, createOutlineFromCacheList, 
> createOutlineFromCacheList, checkForChangedNodes
>
> Please report this error to Leo's developers
> creating recovered node: fc.exportToSqlite
>
> We are going to have to be very careful about switching between .leo and 
> .db files.
>
> Edward
>
I can't reproduce this error on my machine. 

I guess it has something to do with cacher and not changing the filename in 
saveTo command. As I understand reported warning cache expects that there 
are present in fc.gnxDict vnode that I have recently added. It maybe 
because cache data is dated before I add that method. Try to repeat the 
process but, after at least once saving .leo version of file to update 
cache data.
Vitalije

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