On Tue, Oct 19, 2010 at 7:42 PM, Edward K. Ream <[email protected]> wrote: > On Tue, Oct 19, 2010 at 10:16 AM, Rob Sheppard <[email protected]> wrote: > > [snip] > >> File "C:\Leo\Trunk\leo\plugins\mod_autosave.py", line 97, in onIdle >> last = d.get('last') >> AttributeError: 'NoneType' object has no attribute 'get' > > I was not able to reproduce your error, but that's not important. > > Rev 3496 of the trunk adds the following guard just before the line above: > > if not d: return > > This will protect against situations in which some Leo outlines are > autosaved while others are not. > > Does this work for you? > > Edward > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/leo-editor?hl=en. >
Thanks. That solved the error, and autosave is working on additional files I open in leo, but I still have the problem of it not working on my main notes file (@string default_leo_file) When leo starts up and opens my default file, the log window says "@bool mod_autosave_active=False", even though I have it turned on in a @settings node in the default file. Using Rev 3496. Thanks again, RobS -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
