OK, now make the one-line @button right and @button left Create a node and put some content, click right, nothing happens except the log message.
Change the current content Click left, the original content should reappear Use cases: choice 0 is a function, choice -1 is commentary, choice -2 is links choice 1 uses a different algorithm choice 2 uses a different data structure Whichever choice is active when the file is saved is the one which the Leo file knows, the db knows the other ones. On Tue, Jul 8, 2014 at 8:24 AM, Edward K. Ream <[email protected]> wrote: > On Tue, Jul 8, 2014 at 7:50 AM, Edward K. Ream <[email protected]> wrote: > >>> It may still be the spelling of the URI, it's tricky > > The trick was to specify no path at all: > > uri = r'sqlite:////lndb.sqlite' > > Now I got a much more helpful error: > > QQQ > ArgumentError: Invalid SQLite URL: sqlite://lndb.sqlite > Valid SQLite URL forms are: > sqlite:///:memory: (or, sqlite://) > sqlite:///relative/path/to/file.db > sqlite:////absolute/path/to/file.db > QQQ > > So since I was running in my home directory, I just used:: > > uri = r'sqlite:///lndb.sqlite' > > And voila, lndb.sqlight appeared in ~. > > Edward > > -- > 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 http://groups.google.com/group/leo-editor. > For more options, visit https://groups.google.com/d/optout. -- 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 http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
