It may still be the spelling of the URI, it's tricky, especially on windows because of the / vs \ stuff. You may need lots of backslashes ...
The 'create_engine' call shouldn't require an existing file: On linux, when I used 'sqlite:////tmp/lndb.sqlite' it generated the file ... On Tue, Jul 8, 2014 at 6:33 AM, Edward K. Ream <[email protected]> wrote: > On Tue, Jul 8, 2014 at 6:23 AM, Edward K. Ream <[email protected]> wrote: > >> uri = 'sqlite:c://users//edreamleo//lndb.sqlite' >> >> Got this error: > [snip] > > Added four slashes: > > uri = 'sqlite:////c://users//edreamleo//lndb.sqlite' > > Now I get: > > OperationalError: (OperationalError) unable to open database file None None > > So presumably I have to set up the db first. Guess I'll have to read > the manual ;-) > > 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.
