Closed tbpassin closed 9 months ago
@tbpassin Thank you for this!
If I read what you reported carefully, It looks from the error you pasted above that it is when reading myLeoSettings.leo, instead of leoSettings.leo. Could that be the case?
Anyways, I think I found the bug and will soon release 0.2.7 for you to try :)
Many Thanks! :)
Ugh! Classic mistranslation from python to typescript of the .get accessor.
I'll scan throughout the LeoJS code base for other similar 'd.get' I might have missed. Thanks again @tbpassin for spotting this bug!
(I thought I had spotted and properly converted those .get accessor usage, but it looks like I might have missed one or two! haha!! 😆 )
If I read what you reported carefully, It looks from the error you pasted above that it is when reading myLeoSettings.leo, instead of leoSettings.leo. Could that be the case?
Yes, it is. Sorry to have been sloppy about reporting it. It seems to me that I've seen quite a few d.get errors and didn't take note where they came up.
During startup, when leoSettings.leo is read, there is an exception:
TypeError: d.get is not a function
.This does not seem to prevent viewing and editing an outline.