On Mon, Jul 7, 2014 at 9:54 AM, Kent Tenney <[email protected]> wrote:
>>So how do we get to play with this?
>
> https://gist.github.com/ktenney/d474f8034c84c56b74e7
Installed sqlalchemy and ran the script in Leo with
uri = 'sqlite:c://users//edreamleo//lndb.sqlite'
Got this error:
exception executing script
Traceback (most recent call last):
File "c:\leo.repo\leo-editor\leo\core\leoCommands.py", line 2425, in
executeScript
c.executeScriptHelper(args,define_g,define_name,namespace,script)
File "c:\leo.repo\leo-editor\leo\core\leoCommands.py", line 2463, in
executeScriptHelper
execfile(scriptFile,d)
File "C:\leo.repo\leo-editor\leo\test\scriptFile.py", line 119, in <module>
g.session = get_session(uri)
File "C:\leo.repo\leo-editor\leo\test\scriptFile.py", line 60, in get_session
engine = create_engine(uri, echo=echo)
File "c:\python27\lib\site-packages\sqlalchemy\engine\__init__.py",
line 345, in create_engine
return strategy.create(*args, **kwargs)
File "c:\python27\lib\site-packages\sqlalchemy\engine\strategies.py",
line 48, in create
u = url.make_url(name_or_url)
File "c:\python27\lib\site-packages\sqlalchemy\engine\url.py", line
163, in make_url
return _parse_rfc1738_args(name_or_url)
File "c:\python27\lib\site-packages\sqlalchemy\engine\url.py", line
211, in _parse_rfc1738_args
"Could not parse rfc1738 URL from string '%s'" % name)
ArgumentError: Could not parse rfc1738 URL from string
'sqlite:c://users//edreamleo//lndb.sqlite'
--------------------
What should I do now?
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.