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.

Reply via email to